Mod-Rewrite Debug

New to mod_rewrite? This is a good place to start.

Mod-Rewrite Debug

Postby danharlan » Thu Nov 20, 2003 6:02 am

I am attempting to use mod-rewrite to chnage my dynamically created pages
into static urlls for search engine submission. I am unable to get the
rewrite to work, it doesn't seem to do anything.

Here is the code

RewriteEngine on
RewriteBase /home/mydirpublic_html/show/
RewriteRule ^productid([^.]+).*$ Theatres.php?id=$1
[T=application/x-httpd-php]

In the calling html file I call productid1.htm

What am I doing wrong?

I using shared hosting so my directory is noit the root. I have been
auinable to get logging to work and each time I try to add loggin to the
.htaccess file I get an error when trying to viw the calling page.
danharlan
 

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 26 guests

cron