Rewrite Error 403

Fix it!!

Rewrite Error 403

Postby punuhan » Thu Aug 07, 2008 11:22 pm

Hi,
i am a newcomer here, i need help.

Options +FollowSymlinks
RewriteEngine on
RewriteRule ^([a-z/]+)/faqs\.php$ $1/Who.php [R=301,L]

I have the problem that faqs.php is my page and i want to rewrite it as who.php. who.php is not a page. when i load faqs.php, there comes 403 error access denied. The address bar shows this path,
server:12343/D:/xampp/htdocs/Who.php
Where is the problem?
Plz help me.
punuhan
 
Posts: 2
Joined: Thu Aug 07, 2008 11:03 pm

Postby richardk » Fri Aug 08, 2008 7:39 am

Then try
Code: Select all
Options +FollowSymLinks

RewriteEngine On

RewriteRule ^([a-z/]+)/who\.php$ /$1/faqs.php [NC,QSA,L]

Go to /who.php, you will need to change you links.
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am

Postby punuhan » Sat Aug 09, 2008 3:36 am

Hi richardk,

Thanks for your reply. It works for me.
Thanks a lot.
punuhan
 
Posts: 2
Joined: Thu Aug 07, 2008 11:03 pm


Return to Security with Mod_Rewrite

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron