[us...@httpd] rewrite and/or proxy question

2009-05-14 Thread André Warnier
Hi. I have an Apache 2.2 webserver set up with VHosts, one of them having a DocumentRoot structured as follows : DocumentRoot /var/www/company.com/docs disk : /var/www/company.com/docs /app1 /app2 /app3 These different areas /app1, /app2, /app3

Re: [us...@httpd] rewrite and/or proxy question

2009-05-14 Thread Eric Covener
On Thu, May 14, 2009 at 6:57 AM, André Warnier a...@ice-sa.com wrote: For example, would the following work, or am I forgetting something, doing something bad, risk security bypasses, etc.. ? RewriteCond %{HTTP_HOST} app3.company.com RewriteRule ^/$ /app3/ [L] RewriteRule ^/app3/.+$ - [L]

Re: [us...@httpd] rewrite and/or proxy question

2009-05-14 Thread André Warnier
Eric Covener wrote: On Thu, May 14, 2009 at 6:57 AM, André Warnier a...@ice-sa.com wrote: For example, would the following work, or am I forgetting something, doing something bad, risk security bypasses, etc.. ? RewriteCond %{HTTP_HOST} app3.company.com RewriteRule ^/$ /app3/ [L] RewriteCond