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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20176

Rewriterules get wrong DocumentRoot when using VirtualDocumentRoot

           Summary: Rewriterules get wrong DocumentRoot when using
                    VirtualDocumentRoot
           Product: Apache httpd-1.3
           Version: 1.3.27
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: mod_vhost_alias
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


When using this vhost config:

<VirtualHost x.x.x.x:80>
        DirectoryIndex index.php
        Alias /webmail /path/to/webmail

        # %-2 means secondlast 
        VirtualDocumentRoot /www/costumers/%-2/html
        
        #the text below is actually included via Include /path/to/file
        RewriteEngine On
        RewriteOptions 'inherit'

        RewriteRule (.*)Page-([0-9]+)\.html$ $1index.php?name=PagEd&page_id=$2
[L,NS]
        #nothing more in the Included file.

        CustomLog logs/vhost_access_log vcommon
        ErrorLog logs/vhost_error_log
</VirtualHost>

When I Access a site on this virtualhost, I see the site just fine. by f.ex.
accessing Index.php, or any other.

If I access /Page-3.html - which is caught by this RewriteRule and rewritten I
get this error msg in the vhost_error_log:

File does not exist: /etc/apache/htdocs/index.php

Which seems to me to be a big bug. :(

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

Reply via email to