Web Hosting Talk







View Full Version : PHP stops working after creating .htaccess file


Maqueo
08-14-2004, 02:58 PM
Hi guys,

I'm running Apache + PHP locally as a testing server. The php parsed fine, but when I created an .htaccess file it stopped working (now the browser asks if I'd like to save or open the php file)

.htaccess content is:

AuthName "test server"
AuthType Basic
AuthUserFile /var/www/html/.htpasswd

require valid-user

Any help much appreciated!

Maqueo

effusionx1
08-14-2004, 09:44 PM
I hate to say it - but i think u need a reinstallation!