[Setup] Re: folders with or without trailing / ?
Nick Davis
nd51 at leicester.ac.uk
Tue Feb 13 11:50:56 UTC 2007
Michael Kaplan wrote:
> I already tried to change the configuration to
>
> Proxypass /folder
> http://localhost:82/VirtualHostBase/http/mysite.de:80/dir/VirtualHostRoot/folder/
>
>
> but the trailing / doesn't change anything.
>
> Any ideas?
Try this: (in your /etc/apache2/sites-enabled/.... )
RewriteRule ^/(.*)
http://localhost:82/VirtualHostBase/http/mysite.de:80/dir/VirtualHostRoot/$1
[L,P]
To get the above, I took a rewrite rule that works fine for us (it
strips a directory name out of the path just like for you), and I
substituted in your site and port number
HTH
Nick
--
Nick Davis
Web Application Developer
University of Leicester
http://www2.le.ac.uk
http://ebulletin.le.ac.uk
More information about the Setup
mailing list