PDA

View Full Version : .htaccess giving 403 errors



kev_nz
03-18-2003, 04:37 AM
I've got the following in my .htaccess file



RewriteEngine On

RewriteRule ^/blog/([0-9]+)/([0-9]+)/([0-9]+) blog/entry.php?date=$1-$2-$3


However when I upload the file I get a 403 for any page on the site. Any idea what I'm doing wrong?
cheers
Kev

Herbster
03-28-2003, 06:13 PM
I ran into the same problem today.
I'm sure I'm doing something wrong, but I dun gotta clue what it is.

Herbster
03-28-2003, 09:16 PM
I got rid of the 403

Where I had:
RewriteEngine on

I now have:
RewriteEngine on
Options +FollowSymlinks
RewriteBase /

Gets rid of the 403, but now I'm getting a 404.
Must be something wrong with my regex.

eugene
03-30-2003, 11:25 PM
I don't use a blog, but maybe it will work if you instead try
RewriteRule ^/blog/([0-9]+)/([0-9]+)/([0-9]+) /blog/entry.php?date=$1-$2-$3
-Eugene