Jump to content


Photo

rewriting QUERY STRING ??? (help needed)


  • Please log in to reply
3 replies to this topic

#1 rajmohan

rajmohan
  • Members
  • PipPipPip
  • Advanced Member
  • 169 posts

Posted 30 October 2006 - 09:53 AM

i am having one url like this

http://www.music.com...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


#2 SpeedBird

SpeedBird
  • Members
  • PipPip
  • Member
  • 12 posts
  • LocationBirmingham, England

Posted 30 October 2006 - 09:57 AM

You can use this. 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).
Why is there always so much month left at the end of the money?

#3 rajmohan

rajmohan
  • Members
  • PipPipPip
  • Advanced Member
  • 169 posts

Posted 30 October 2006 - 10:05 AM

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

#4 SpeedBird

SpeedBird
  • Members
  • PipPip
  • Member
  • 12 posts
  • LocationBirmingham, England

Posted 30 October 2006 - 11:40 AM

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 here.
Why is there always so much month left at the end of the money?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users