View Single Post
Old 12-20-2011, 09:56 AM  
cooldude7
Confirmed User
 
cooldude7's Avatar
 
Industry Role:
Join Date: Nov 2009
Location: Heaven
Posts: 4,306
Quote:
Originally Posted by redwhiteandblue View Post
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) search.php?s=$1

is mine.

okie.,

Quote:
Originally Posted by fris View Post
bad idea.
roger that., i left it as it is.,

Quote:
Originally Posted by raymor View Post
Either of those lines alone will give you a 500 error.
You definitely need either:
RewriteCond %{REQUEST_FILENAME} !-f

or:

RewriteCond !search.php

Without either, /Ray redirects to search.php?Ray
search.php?Ray redirects to search.php?search.php
search.php?search.php redirects again to search.php?search.php
round and round in a circle
RewriteCond %{REQUEST_FILENAME} !-f

gives lots of errors.

RewriteCond !search.php

gives 500

thanks for your time.,
cooldude7 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote