DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29260>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29260

Lacking functionality

           Summary: Lacking functionality
           Product: Apache httpd-2.0
           Version: 2.0.48
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: mod_vhost_alias
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


The base functionality of mod_vhost_alias for dynamic mass virtual hosting 
seems to work great, but 
there are a couple things that need to be changed to work with it.

First, I would like www.domain.com and domain.com to work off of the same 
directory. An easy way 
would be to have ServerAlias work with the %0, %1, etc variables. The same 
thing with logging. It would 
be nice to be able to to use %0 in specifying the path to the log ot the log 
name.

In the end I would like to be able to do something like this:

UseCanonicalName Off
LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon
CustomLog /web/hosts/%0/access_log vcommon
VirtualDocumentRoot /web/hosts/%0/htdocs
VirtualScriptAlias /web/hosts/%0/cgi-bin
ServerAlias www.%0

The weird thing is RewriteRules don't seem to work either.  Even something as 
simpe as

RewriteRule ^/web/hosts/www\.(.*) /web/hosts/$1 has no effect either before or 
after the 
VirtualDocumentRoot statement.

It would be nice if the mod_vhost_alias module worked more seemlessly with the 
other modules in 
Apache.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to