Re: Proxy to different port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux