You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2005/04/25 23:17:21 UTC

DO NOT REPLY [Bug 34608] New: - In mod_vhost alias %O not being parsed

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=34608>.
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=34608

           Summary: In mod_vhost alias %O not being parsed
           Product: Apache httpd-2.0
           Version: 2.0.50
          Platform: Other
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_vhost_alias
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: siberian@siberian.org


One of my users who has a site hosted from mod_vhost_alias wanted SSI enabled.
So I did what I though was the sensible thing

<VirtualHost 10.0.0.46:80>
UseCanonicalName Off
VirtualDocumentRoot /www/BASICHOSTING/%0
LogFormat "%V %h %l %u %t \"%r\" %>s %b" vhost_common
CustomLog /var/log/www/VHOST_ACCESS vhost_common
ErrorLog /var/log/www/VHOST_ERROR
AddHandler server-parsed .shtml html
<Directory /www/BASICHOSTING/%0>
        AllowOverride All
        Options All
       # AddHandler server-parsed shtml   # tried this as well
         AddOutputFilter INCLUDES;DEFLATE shtml
</Directory>
</VirtualHost>


This did not work, I had to actually create a directory for the site itself

<Directory /www/BASICHOSTING/www.eastshore.net/>
        AllowOverride All
        Options All
        # AddHandler server-parsed shtml
         AddOutputFilter INCLUDES;DEFLATE shtml
</Directory>

This properly enabled SSI for that site.

However, it kind of defeats the purpose of mod_vhost_alias if the Directory
directive won't interprete %O. I'm imagining it has something to do with
Directory configurations at startup vs at request time. I could not find any
documentation on what is allowed here. 

This is probably more of a feature request but it felt like a bug when I was
chasing it. I think the Options and Overrides do take effect here but have not
tried to prove this yet.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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