Re: RewriteRule, [P] and space on URL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 11 Jan 2008, Nick Kew 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.

What happens if you add [B] to the [P] rule?

Internal Server Error

[B] was new in 2.2.7.

Duh. Debian has only 2.2.6 even in unstable.

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

I have googled and found that others have same problem. However I have not found just right solution - only workarounds like "use underscore and not space" etc.

--
Jori Mäntysalo

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux