httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39491] New: - mod_rewrite incorrect with mod_vhost_alias
Date Fri, 05 May 2006 11:57:12 GMT
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=39491>.
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=39491

           Summary: mod_rewrite incorrect with mod_vhost_alias
           Product: Apache httpd-2
           Version: 2.0.54
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_rewrite
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: inkover@yandex.ru


Here is mod_vhost_alias config:

VirtualDocumentRoot /www/hosts/%-2/www
VirtualScriptAlias /www/hosts/%-2/cgi-bin

There is a .htaccess file in /www/hosts/test/www/rewrite/ containing:
RewriteEngine on
RewriteCond %{REQUEST_URI} \.htm.*$ [NC]
RewriteRule ^([^\.]*) index.php?path=/$1


I try to access URL http://www.test.lc/rewrite/file.html (.lc is my local
domain). So I expect that index.php in /www/hosts/test/www/rewrite/ will be
called with query string path=file. But error rises in browser: "The requested
URL /www/hosts/test/www/rewrite/index.php was not found on this server." and in
error.log "File does not exist: /www/hosts/test/www/www" apears. 

Is it a bug or I missed smth?

Thanks.

-- 
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


Mime
View raw message