www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benedikt Fraunhofer <fraunho...@wor.net>
Subject mod_include/5893: mod_include doesn't work when used in mod_vhost_alias
Date Thu, 16 Mar 2000 18:11:43 GMT

>Number:         5893
>Category:       mod_include
>Synopsis:       mod_include doesn't work when used in mod_vhost_alias
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Mar 16 10:20:01 PST 2000
>Originator:     fraunhofer@wor.net
>Release:        1.3.12
Linux 2.2.13 (SuSE 6.3) (don't think this is needed for this problem)
I am running mod_vhost_alias like the following:
<VirtualHost ...>
        VirtualDocumentRoot /local/www/vhostlinks/%0
        VirtualScriptAlias /local/www/vhostlinks/%0-cgi

The /local/www/vhostlinks is a directory where symbolic links point to the directorys where
the real webpages live.
Work's fine so far. But the include directives don't work for this.
The files seem to be not parsed but DirectoryIndex .shtml is set and 
AddType text/html .shtml
AddHandler server-parsed .shtml
is set, too.
It work's when i use name-based or ip-based virtual hosting, but not with
"Dynamically configured mass virtual hosting".

I read the thing about "changing DOCUMENT_ROOT dynamically" and that it is not possible. But
why don't work things that don't need DOCUMENT_ROOT to be set properly. (like <!--#printenv

Options +Includes is set global.

If this is my fault 'caus i missed to read the "INCLUDES DOES NOT WORK with mod_vhost_alias"
i am sorry.
    working SSI: http://trillian2.wor.net/123.shtml (name based vhost)
not working SSI: http://wwwserv2.wor.net/123.shtml  (mod_vhost_alias)

 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@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!     ]

View raw message