[Typo3-dev] Bug in .htaccess?
Steffen Mueller
steffen at davis.kommwiss.fu-berlin.de
Thu Apr 29 11:12:46 CEST 2004
On 04/29/04 17:03 Martin-no$pam-Kutschker wrote:
>
>> Anyway, I don't like this example since it uses abolute paths. Still not
>> perfect ;-)
>
>
> How would you do it in a VirtualHost directive? I can create rewrite
> rules, but it usually takes me some time, mostly spent on reading the
> rewrite log :-(
>
Hi.
I don't see any need to add /src/www/ to the REQUEST_FILENAME path in
your RewriteCond, as it always checks full path.
See mod_rewrite doc:
REQUEST_FILENAME = The full local filesystem path to the file or script
matching the request.[1]
[1] http://httpd.apache.org/docs/mod/mod_rewrite.html#RewriteCond
Or do I miss something?
--
cheers,
Steffen
----------------------------------------------------------
"Education is man's going forward from cocksure ignorance
to thoughtful uncertainty." (Don Clarks' Scrapbook)
----------------------------------------------------------
More information about the TYPO3-dev
mailing list