homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

Is it possible to use ampersand in urls when using mod_rewrite?

 8:10 am on Oct 1, 2004 (gmt 0)

I'm using mod_rewrite and want to be able to use the ampersand (&) in urls.


should become


instead of

/search.php?title=java&internet, which breaks up into "title=java" and a useless "internet"



 10:51 pm on Oct 1, 2004 (gmt 0)

I have seen this before, and I've seen it working. Here is the relative thread that got me thinking about it.


I started doing some playing around ... can't find my docs right now. I know I hit the RFC's to see if the syntax was legal. If I remember correctly, I want to say I was thinking they must have used some form of mapping...

Anyone else?


 11:22 pm on Oct 1, 2004 (gmt 0)

I'm still not sure I understand the question, but if you wish to embed %26 in the URL, you'll want to use the [NE] (noescape) flag on your rules so that mod_rewrite doesn't try to escape the "%" character.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved