URL rewriting...anybody done this?

From: Date: Wed, 14 Jan 2004 18:14:29 +0000
Subject: URL rewriting...anybody done this?
Groups: php.general 
Request: Send a blank email to php-general+get-174568@lists.php.net to get a copy of this message
Hi, I have a blog kind of app running on my site...presently it shows like this: show.php?category=Beginners%20Corner&sid=1&id=1 After searching on google on how to make my blog my search engine friendly I came accorss mod_rewrite and couple of tutorials on it, finally the one I understood and tried to use was this one: http://www.phpfreaks.com/tutorials/23/0.php so I added this to my .htaccess: RewriteEngine On RewriteRule ^show/(.*)/(.*)/(.*).php /show.php?category=Beginners%20Corner&sid=$2&id=$3 and added this to my httpd.conf: AccessFileName .htaccess <Files ~ "^\.ht"> AllowOverride all Order allow,deny Deny from all Satisfy All </Files> <Directory /usr/local/www/rizkhan.net/www/articles> Options ExecCGI FollowSymLinks Includes MultiViews AllowOverride all </Directory> But somehow its not working :-(( I made the changes in the httpd.conf and also in a .htaccess file... PLEASEEEE HEEELLP. Thanks in advance, -Ryan

« previous php.general (#174568) next »