Forum Moderators: phranque
my .htaccess file looks like
RewriteEngine On
RewriteRule ^/(.*)$ /hcs/details.php?cat=$1
I uploaded .htaccess file in hcs directory. I am not able to access any file in hcs directory. It say 403 Forbidden access error.
Please help.
P.S. mod_rewrite module is loaded.
Welcome to WebmasterWorld [webmasterworld.com]!
www.xyz.com/hcs/abc -> www.xyz.com/hcs/details.php?cat=abc
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/hcs/details\.php
RewriteRule ^hcs/(.*)$ /hcs/details.php?cat=$1 [L]
If you have further problems, please post the appropriate data from your error log file.
More info: Introduction to mod_rewrite [webmasterworld.com]
HTH,
Jim