- Code: Select all
RewriteCond randomtext -U
This line will always result in a value of 'true' being returned, despite what is being loaded. The string 'randomtext' can be anything. A log of this in action is available here
RewriteCond randomtext -U
Of course my problem is solved now so I'm not concerned.<rici> the problem is that -U is doing a subrequest to validate the url
<rici> but mod_rewrite is still active in the subrequest.
<rici> ok, let's sort this out, then.
<rici> the key is to refuse to rewrite in a subrequest.
<rici> then -U will only work if the file itself exists.
<rici> try this: http://rafb.net/paste/results/HJUZpB42.html
<Atamido> rici: Still auto-returns as true.
<rici> looking
<rici> ok, that's filling things in properly but the subrequests are still succeeding
<rici> damn
* rici glares at mod_rewrite
<rici> aha, it's only using access controls. that's why.
<rici> dman damn damn
<Atamido> Damn them all!
Users browsing this forum: No registered users and 58 guests