Forum Moderators: phranque

Message Too Old, No Replies

.htaccess file not validating

.htaccess file not validating

         

joedub

1:49 pm on Dec 21, 2004 (gmt 0)

10+ Year Member



Hello, my current .htaccess file correctly password protects a directory.

AuthUserFile /home/site/web/.htpasswd
AuthGroupFile /dev/null
AuthName "Password Protected Area"
AuthType Basic

<limit GET POST>
require valid-user
</limit>

But im trying to add the following

<Files messages>
ForceType application/x-httpd-php
</Files>

To change the way the urls are going to work e.g www.thissite.com/page.php?id=4 > www.thissite.com/page/id

Any help greatly appreciated.