httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
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
https://issues.apache.org/bugzilla/show_bug.cgi?id=47332

Nicolas F. <nicolas_froidure@elitwork.com> changed:

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

--- Comment #5 from Nicolas F. <nicolas_froidure@elitwork.com> 2010-11-05 05:46:26 EDT
---
Hi,

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 :
http://www.pubbs.net/200904/httpd/41857-usershttpd-server-variables-in-condpattern-of-rewritecond-directive.html

I seems that it's impossible to use Server-Variables in condpattern of the
RewriteCond instruction :
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewritecond

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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message