[nycphp-talk] Apache Proxy restart error

Joe Leo joeleo724 at
Mon Mar 24 18:13:52 EDT 2008

Hi all, I am new to the list.... I hope I could get some help with a problem
getting mod_proxy working.
I've installed mod_proxy on a debian etch server and enabled it and set my
proxy directives per some how-to doc's... (new to linux) - All seems to have
worked fine until I configured the proxy settting in directives shown below.
And, When I attempt to restart apache I get this error:

Forcing reload of web server (apache2)...Syntax error on line 10 of
Invalid ProxyPass parameter.  Parameter must be in the form 'key=value'

Below is my Vhost settings:

        ServerAdmin webmaster at localhost

        DocumentRoot /var/www/MyDomain/public_html
        <Directory />
                Options FollowSymLinks
                AllowOverride None

                ProxyPass /projects/dc http://h111.MyDomain
                ProxyPassReverse /projects/dc http://h111.MyDomain

        <Directory /var/www/MyDomain/public_html>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride AuthConfig
                Order allow,deny
                allow from all
                # This directive allows us to have apache2's default start
                # in /apache2-default/, but still have / go to the right
                #RedirectMatch ^/$ /apache2-default/

        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
        <Directory "/usr/lib/cgi-bin">
                AllowOverride None
                Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all

        ErrorLog /var/log/apache2/error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog /var/log/apache2/access.log combined
        ServerSignature On

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from ::1/128


Below is my Proxy.Conf settings:

<IfModule mod_proxy.c>
        #turning ProxyRequests on and allowing proxying from all may allow
        #spammers to use your proxy to send email.

        ProxyRequests Off

        <Proxy *>
                AddDefaultCharset off
                Order deny,allow
                #Deny from all
                Allow from all
                #Allow from

                # Define the character set for proxied FTP directory
                ProxyFtpDirCharset UTF-8

        # Enable/disable the handling of HTTP/1.1 "Via:" headers.
        # ("Full" adds the server version; "Block" removes all outgoing Via:
        # Set to one of: Off | On | Full | Block

        ProxyVia On

Per the error msg reported above, I am not sure what this refers to and
where to look to even try to fix:

"Parameter must be in the form 'key=value'"

Appreciate any comments/suggestions:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the talk mailing list