SEO 1 Links

  SEO Blog
  SEO Forum

  Active Topics

SEO Forums

  SEO Forum
  SEM Forum

  Link Networks
  Mod Rewrite
  Revenue Networks

  Social Bookmarking



  Link Exchange


Time Now:
Fri Mar 23, 2018 3:14 pm

All times are GMT

Log in





Who is Online

Most users ever online in a day was 2917 on Thu Oct 25, 2007 4:43 pm

Member Websites 1

Free Sitewide Links
For Top Members

SEO 1 Forums > Mod Rewrite >

Mod Rewrite Trick for CGI

Author Thread
Senior Member

Joined: 21 Feb 2005
Good Posts: 997
Location: apache/domlogs
Mod Rewrite Trick for CGI  Reply with quote  

So perhaps you've done some Mod Rewrite on your HTML pages and everything is working great, but then you try to use your new powers to beautify some URLs for your PHP scripts, but find that it's not working.

What gives?

Well, there is a special little incantation that you need to add into your spell or the magic may not be working. Here's an example...

RewriteRule ^kw/(.*).html$ yourscript.php?arg1=25&arg2=all&query=$1 [T=application/x-httpd-cgi]

The special part is this at the end of the Rule line tells MR that the target is actually a script and not just a regular document...

Post Tue Mar 15, 2005 4:38 pm
 View user's profile Send private message Visit poster's website
Corporate Gift Ideas
Full Member

Joined: 11 Nov 2010
Good Posts: 91

 Reply with quote  

yes, nice information, the special incantation is realy great, yes, i need to add into my spell or the magic may not be working, though there is new item about this, but i still prefer this

corporate gift ideas
Post Thu Jan 20, 2011 4:51 am
 View user's profile Send private message Visit poster's website
Full Member

Joined: 18 Feb 2008
Good Posts: 86
Location: India , delhi
 Reply with quote  

good info thanks for sharing this..

<a href=""> Residential Property News </a>
Post Wed May 18, 2011 5:44 am
 View user's profile Send private message
Preferred Member

Joined: 16 Dec 2009
Good Posts: 163
Location: India
 Reply with quote  

we make the rules to apply mod rewrite on the website. these rules are different for static and dynamic sites. Before few months, i dont know about this techniques but now i have not any problem in this. i know all the codes that we use for static and dynamic site.

Thanks for your information share with us.
Post Fri Oct 21, 2011 6:22 am
 View user's profile Send private message

Reply to topic
Jump to:  
Display posts from previous:      

SEO 1 © 2005-2015 - SEO 1 the SEO Forum