httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 47332] [mod_rewrite] SERVER_NAME env var should be the vhost server_name
Date Fri, 05 Nov 2010 09:46:30 GMT

Nicolas F. <> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #5 from Nicolas F. <> 2010-11-05 05:46:26 EDT

I found the UseCanonicalName instruction that seems to fill SERVER_NAME with
the default hostname given in the vhost.

I found a discuss about my problem here :

I seems that it's impossible to use Server-Variables in condpattern of the
RewriteCond instruction :

So creating a DEFAULT_SERVER_NAME variable will not resolve anything.

The only way to do what i want is to do it manually.

Thank for you help.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message