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=12902>. 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=12902 DocumentPath not being appended to URL Summary: DocumentPath not being appended to URL Product: Apache httpd-2.0 Version: 2.0.40 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: mod_rewrite AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] Not the one described in the FAQ btw. Double checked that....! I cannot get the DocumentRoot prepended to the processed URL *UNLESS* it already contains a drive letter (in the RewriteCase). The log results are as follows (last few lines only): With a drive letter: ...(2) local path result: c:/sebastian.tld/www/ ...(2) prefixed with document_root to C:/Apache/sitexc:/sebastian.tld/www/ ...(1) go-ahead with C:/Apache/sitexc:/sebastian.tld/www/ [OK] Without drive letter: ...(2) local path result: /sebastian.tld/www/ Without the drive letter already there, logging never reports the 'OK' Guess this is a problem only effecting Win32 systems.....? My conditions are in the httpd.conf and were based around the examples in the documentation for virtual hosting (this code fails on my system): RewriteEngine On RewriteMap lowercase int:tolower RewriteCond %{REQUEST_URI} !^/cgi-bin/ RewriteCond ${lowercase:%{HTTP_HOST}} ^([a-z0-9\_\-]+)\.(.+)$ RewriteRule ^/(.*)$ /%2/%1/$1 RewriteCond %{REQUEST_URI} ^/cgi-bin/ RewriteCond ${lowercase:%{HTTP_HOST}} ^([a-z0-9\_\-]+)\.(.+)$ RewriteRule ^/(.*)$ /%2/$1 When Fails HTTP Err 400 is generated....otherwise a 404 is generated. This example worked fine with 1.3.4 Rik --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
