[sclug] Mod_proxy problems

Simon Huggins huggie at earth.li
Wed Jun 13 11:58:11 UTC 2007

On Wed, Jun 13, 2007 at 11:53:25AM +0100, Peter Brewer wrote:
> ProxyPass "/" "http://anotherhost.domain.uk/foldernameonserver/"
> ProxyPassReverse "/" "http://anotherhost.domain.uk/foldernameonserver/"

> This works to a point with files in the "/var/www/foldernameonserver" served 
> as http://prettydomain.co.uk/myfile.html.  The problem is when I try and 
> access a file in a subfolder /var/www/foldernameonserver/css/style.css.  If I 
> try and access the file in the following location:
> http://prettydomain.co.uk/css/style.css 

> Apache errors saying in can't find the URL "/foldernameonserver/css/style.css

And http://anotherhost.domain.uk/foldernameonserver/css/style.css does
actually exist I take it?

The config looks ok.  Do you get any other error logs?


[ "Ahead groove factor 5!  Yeah!"  - Holly                             ]
        Black Cat Networks.  http://www.blackcatnetworks.co.uk/

More information about the Sclug mailing list