You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Rick Buitenman <ri...@wirehub.nl> on 1999/09/10 16:13:22 UTC

other/4996: Lower/uppercase problem with dynamic mass vhosting (mod_vhost_alias)

>Number:         4996
>Category:       other
>Synopsis:       Lower/uppercase problem with dynamic mass vhosting (mod_vhost_alias)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Sep 10 07:20:00 PDT 1999
>Last-Modified:
>Originator:     rickb@wirehub.nl
>Organization:
apache
>Release:        1.3.9
>Environment:
FreeBSD troi.wirehub.nl 3.2-RELEASE FreeBSD 3.2-RELEASE #0: Tue May 18 04:05:08 GMT 1999     jkh@cathair:/usr/src/sys/compile/GENERIC  i386
>Description:
When using dynamic mass vhosting, mod_vhost_alias doesn't seem to do anything 
if the servename sent by the client contains uppercase characters. 

For example www.MyDomain.com is not recognized as www.mydomain.com.

It's not just a problem of not being able to match the URL to the right 
directory, because I've tried changing the dir-name, and Apache is still unable
match the example above.
>How-To-Repeat:
http://www.softcontrol.nl, though I'm gonna try some workarounds or even dive
into the sourcecode a bit, so this may no longer show the problem.

This is my (very simple) config for the vhosts:

<VirtualHost 195.86.128.34>
        VirtualDocumentRoot /usr/local/webservers/%0/public_html
</VirtualHost>
>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]