httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Rewrite Rule Help (again)
Date Wed, 11 Jul 2012 10:10:31 GMT
> <VirtualHost *:80>
>     ServerAdmin email@domain.com
>     ServerName domain.net
>     ServerAlias www.domain.net
>
>     #SSLProxyEngine On
>     #ProxyPass /ifolder/ https://192.168.123.4/ifolder/
>     #ProxyPassReverse /ifolder/ https://192.168.123.4/ifolder/
>     RewriteEngine On
>     RewriteRule ^/ifolder(.*) https://%{HTTP_HOST}/ifolder/ [L]
>     RewriteRule ^/admin(.*) https://%{HTTP_HOST}/admin/ [L]
>     RewriteCond %{HTTP_HOST} !^updates.domain.net$ [NC]
>     RewriteRule ^/(.*)$ http://192.168.123.2/$1 [P,L]

Is updates.domain.net negated here on purpose?
Do requests to updates.domain.net even hit this virtualhost (ServerAlias)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message