RewriteBase / RewriteRule ^\.htaccess$ - [F] RewriteRule listing/(.+) /listing.php?type=$1 RewriteRule faq/(.+).php /roatan-faq.php?catid=$1 RewriteRule photo_album/(.+)/(.+) /spg_view_category.php?category_id=$1 RewriteRule photo/(.+)-(.+)/(.+) /spg_view_image.php?image_id=$1&category_id=$2
I cant work out how from my localhost machine where im testing this stuff it actually links to the real website so somehwhere the domain is getting changed from the root which should be localhost but is not.
Is it the RewriteBase command ? I cant work out
I just figured out that problem there was a <base> tag set in the source. Silly me.
But here is my problem, I cant get it to work on my localhost. I cant debug it, i cant see what the rewritter is creating its not right as it cant find the page, how can i do an echo or print in .htaccess?
Also how can I comment out lines in .htaccess I tried a # but it doesnt seem to work. [edit it does work now]
mojito [img src=\"style_emoticons/[#EMO_DIR#]/excl.gif\" style=\"vertical-align:middle\" emoid=\":excl:\" border=\"0\" alt=\"excl.gif\" /]