httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [users@httpd] RewriteRule, [P] and space on URL
Date Fri, 11 Jan 2008 11:12:24 GMT
On Fri, 11 Jan 2008 12:03:22 +0200 (EET)
Jori Mantysalo <Jori.Mantysalo@uta.fi> wrote:

> On Thu, 10 Jan 2008, Pau Garcia i Quiles wrote:
> 
> >> See http://www.uskonnonvapaus.fi/apache-bug/3/one%20two
> >> 
> >> There is per-directory .htaccess that says
> >> 
> >> RewriteRule ^(.+)$
> >> http://www.uskonnonvapaus.fi/apache-bug/1/foo.php?q=$1 [P]
> >> 
> >> and this gives $1 only part to first space. However, on
> 
> > What happens if you add [B] to the [P] rule?
> 
> Internal Server Error, and on error_log

[B] was new in 2.2.7.

> . . . /uv/apache-bug/4/.htaccess: RewriteRule: unknown flag 'B'"

And using RewriteRules from .htaccess is insanely complicated!

Your problem is one I've seen described before, but I don't
recollect the outcome.  Maybe google would know.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message