Joost de Heer wrote:
Robert Ionescu wrote:
Shyne wrote:
Apparently the directive RewriteCond %{REQUEST_FILENAME} !-f matches
requests for existing files, which it should exactly not do.
We were able to analyze the RewriteLog in a German mod_rewrite forum.
The problem here was the following:
%
Robert Ionescu wrote:
> Shyne wrote:
>> Apparently the directive RewriteCond %{REQUEST_FILENAME} !-f matches
>> requests for existing files, which it should exactly not do.
>
> We were able to analyze the RewriteLog in a German mod_rewrite forum.
> The problem here was the following:
>
> %{REQUEST_
Shyne wrote:
Apparently the directive RewriteCond %{REQUEST_FILENAME} !-f matches
requests for existing files, which it should exactly not do.
We were able to analyze the RewriteLog in a German mod_rewrite forum.
The problem here was the following:
%{REQUEST_FILENAME} did contain the value f
ave all together [ !-f, !-d, (!-l if you are using symlinks) ] than you have exact what you want.
bye
Oliver
-Ursprüngliche Nachricht-
Von: Shyne [mailto:[EMAIL PROTECTED]]
Gesendet: Mo 20.02.2006 13:11
An: users@httpd.apache.org
Betreff: Re: [EMAIL PROTECTED] mod_rewrite directives pro
e Nachricht-
Von: Shyne [mailto:[EMAIL PROTECTED]
Gesendet: Mo 20.02.2006 13:11
An: users@httpd.apache.org
Betreff: Re: [EMAIL PROTECTED] mod_rewrite directives problem
Hi Robert
Thanks for your answer.
I changed the directives according to your input and installed the log.
Apparently the d
Hi Robert
Thanks for your answer.
I changed the directives according to your input and installed the log.
Apparently the directive RewriteCond %{REQUEST_FILENAME} !-f matches
requests for existing files, which it should exactly not do.
I try to filter out all requests for non existing document
Shyne wrote:
...
RewriteEngine on
RewriteCond /help/%(REQUEST_URI) !-d
RewriteCond /help/%(REQUEST_URI) !-f
RewriteRule ^help/?(.*)$ /help/index.php?id=$1 [L,QSA]
- I am not sure if /help/%(REQUEST_URI) points to the right place, but
Round parenthesis are wrong, you must use
Hello
I want to do the following:
- in the directory /help/ forward all requests for non-existing
documents or folders to a script which is in the same folder, but leave
access to existing documents and folders in /help/ untouched
- the phrase the user entered - something like
www.mydomain.org