httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Zuckerman <j.zucker...@gmail.com>
Subject Re: [users@httpd] mod_rewrite : Can a space in a URL be preserved ?
Date Wed, 07 Oct 2009 01:49:30 GMT
On Tue, Oct 6, 2009 at 3:25 PM,  <rank1seeker@gmail.com> wrote:
> Maybe if Daniel would edit Apache's source... :)))
> Then once his "custom" Apache server is up and running, should notify us
> about it's IP.
> So we could have a fun with it ;)
>
>
> ----- Original Message -----
> From: Dick Davies <rasputnik@hellooperator.net>
> To: users@httpd.apache.org
> Date: Tue, 6 Oct 2009 16:05:36 +0100
> Subject: Re: [users@httpd] mod_rewrite : Can a space in a URL be preserved ?
>
>> Spaces aren't valid characters in urls, period. As you say, it URL
>> encodes to %20,
>> and I can't imagine any bits of apache (or any other server)
>> are going to send a space instead, because that breaks the HTTP spec.
>>
>> On Tue, Oct 6, 2009 at 3:59 PM, ABAPGUY <abapguy@yahoo.com> wrote:
>> >
>> > Hi Apache experts,
>> > I am using Apache 2.0.59 as a Reverse Proxy using mod_rewrite and
> mod_proxy .
>> > I have a downstream J2EE server that is creating URLs with a space in
> them . How can I use mod_rewrite (which sees %20) to write the space
> ..instead of %20 ?
>> >
>> > Regards
>> > Daniel
>
> ---------------------------------------------------------------------
> 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
>
>

Heh.  Daniel, if the %20 really bugs you, how do you feel about the +
sign?  I don't think it's part of the HTTP spec per-se but it has been
one of the W3C's recommendations:
http://www.w3.org/Addressing/URL/4_URI_Recommentations.html#z5
It may not look as nice to you as a clear space but every webserver
I've ever dealt with respects the recommendation.

---------------------------------------------------------------------
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