httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josu Lazkano <josu.lazk...@barcelonamedia.org>
Subject Re: [users@httpd] Proxy to different port
Date Mon, 24 Oct 2011 14:07:25 GMT
On Mon, 2011-10-24 at 11:41 +0200, Tom Evans wrote:
> "mod_proxy_html"


Thanks!

I have enabled this module:

# a2enmod proxy_html 
Module proxy_html already enabled

If I configure this way I can not get my web:

ProxyPass /site/ http://localhost:81/site/
ProxyPassReverse /site/ http://localhost:81/site/

I try with this:

        ProxyHTMLEnable On
        ProxyHTMLURLMap "parent.location='/'" "parent.location='/site/'"

        ProxyPass /site http://localhost:81
        ProxyPassReverse /site http://localhost:81

        <Location /site>
                Order allow,deny
                Allow from all
        </Location>

But when I restart the service I get this:

# /etc/init.d/apache2 restart
Syntax error on line 1 of /etc/apache2/sites-enabled/proxy_web:
Invalid command 'ProxyHTMLEnable', perhaps misspelled or defined by a
module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
 failed!


Sorry for all this question, I don't know what else try.

Best regards.



-- 
Josu Lazkano
Barcelona Media – Centre d’Innovació



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message