Jump to content

Archived

This topic is now archived and is closed to further replies.

rajmohan

rewriting QUERY STRING ??? (help needed)

Recommended Posts

i am having one url like this

http://www.music.com/dj_template/template5/index.php?id=84

i want this one like this

http://www.music.com/84

please help me already i post this topic but no reply

I am not using APACHE only IIS

Share this post


Link to post
Share on other sites
You can use [url=http://www.isapirewrite.com/]this[/url]. It was the only rewriter I could get working for IIS. I don't think you can do that sort of rewriting from PHP (but I could be wrong).

Share this post


Link to post
Share on other sites
i download exe file it is asking for (where should to keep the files) how to follow the step please tell me


if i execute it in my localhost then i want to upload this files to my server there how to do this

Share this post


Link to post
Share on other sites
If I remember correctly, the .exe is just a self extractor. You should have two files which need to be kept in the same location (i.e. c:\windows\rewrite); a .dll file and a .ini file. The .dll is an ISAPI filter and needs to be loaded by IIS, the .ini is a configuration file and it is where you will create your rewrite rules using PCRE syntax.

PCRE can be quite difficult to get used to, but a good cheat sheet can be found [url=http://www.phpguru.org/downloads/PCRE%20Cheat%20Sheet/PHP%20PCRE%20Cheat%20Sheet.pdf]here[/url].

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.