Hi Guys I have a problem with setup when i add the following line to my .htaccess the page shows internal server error while php pages are still showing ads my current configuration of .htaccess is follow, i have sames configuration on 6 sites and i want to use co-op on all sites # Begin search engine friendly links code RewriteEngine On #RewriteBase / RewriteRule ^lightbox\.htm$ lightbox.php?%{QUERY_STRING} RewriteRule ^lightbox\.([0-9]+)\.htm$ lightbox.php?page=$1&%{QUERY_STRING} RewriteRule ^search\.htm$ search.php?%{QUERY_STRING} RewriteRule ^search\.([0-9]+)\.htm$ search.php?page=$1&%{QUERY_STRING} RewriteRule ^cat\.htm$ categories.php?%{QUERY_STRING} RewriteRule ^cat([0-9]+)\.([0-9]+)\.htm$ categories.php?cat_id=$1&page=$2&%{QUERY_STRING} RewriteRule ^cat([0-9]+)\.htm$ categories.php?cat_id=$1&%{QUERY_STRING} RewriteRule ^img([0-9]+)\.htm$ details.php?image_id=$1&%{QUERY_STRING} RewriteRule ^img([0-9]+)\.([a-zA-Z0-9]+)\.htm$ details.php?image_id=$1&mode=$2&%{QUERY_STRING} RewriteRule ^postcard([a-zA-Z0-9]+)\.htm$ postcards.php?postcard_id=$1&%{QUERY_STRING} RewriteRule ^postcard\.img([0-9]+)\.htm$ postcards.php?image_id=$1&%{QUERY_STRING} # End search engine friendly links code #Mod_bmollet : category name in URL RewriteRule ^cat-(.*)-([0-9]+).htm categories.php?cat_id=$2&%{QUERY_STRING} #Mod_bmollet : Image name in URL RewriteRule ^img-(.*)-([0-9]+).htm details.php?image_id=$2&%{QUERY_STRING} #Mod_bmollet : This is to make search function work ( redirect links from search results ) RewriteRule ^img([0-9]+).search.htm details.php?image_id=$1&%{QUERY_STRING} Thnaks guys for your help in advance Tulip
Some apache versions need Options +FollowSymLinks RewriteEngine on and some need RewriteEngine on and some need Options +FollowSymLinks Try altering the code to see what works.
The only thing is to remove parts of the file bit by bit to track down where the error is. I can't spot anything obvious - sorry.