Hi Andy,

have you tried to define the DocumentRoot explicit "/srv/www/"?
Within the DocumentRoot you can also work with * as wildcard (/srv/www/*/something/)

GrEEtz
Alex





Dörfler Andreas <Andreas.Doerfler@kempten.de>

25.10.2005 08:34

To
<suse-security@suse.com>
cc
Subject
[suse-security] wildcard for reverse proxy via apache ?





hello list,

i try to setup reverse proxy for all our websites with apache 2.x.
right now my vhosts look like this:

<VirtualHost *:80>
ServerName test.dummy.tld
ProxyPass / http://111.111.111.111/
ProxyPassReverse / http://111.111.111.111/
</VirtualHost>

that way it works fine for root-dir of the webserver
but not for the subdirectorys ( test.dummy.tld/subdir/ )

is it possible to configure a wildcard for all subdirs
or it is needed to configure ProxyPass ProxyPassReverse
for every single subdir ?

greetings
andy

--free your mind, use open source
http://www.mono-project.com

ASCII ribbon campaign ( )
- against HTML email  X
            & vCards / \  

--
Check the headers for your unsubscription address
For additional commands, e-mail: suse-security-help@suse.com
Security-related bug reports go to security@suse.de, not here



*** Disclaimer ***
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. E-mail transmission cannot be ensured to be secure or without error. Information could be intercepted, corrupted, lost, destroyed, incomplete or may contain viruses. Neither Helvetia Patria Group nor the sender can accept any liability for any kind of damage as the result of viruses or transmission errors.