Re: .htaccess... why it is deleted by the server?!!!?

From: Date: Thu, 04 Mar 2004 16:26:47 +0000
Subject: Re: .htaccess... why it is deleted by the server?!!!?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-179468@lists.php.net to get a copy of this message
Okay.. and is the code right in the .htaccess file? This is the code again : AuthUserFile /pass2 AuthGroupFile /pass2 AuthName AllowLocalAccess AuthType Basic order deny,allow deny from 217.164.249.134 allow from all The directory that I want to prevent that IP from download from it is : http://www.alaedin.com/pass2 So where must I put the .htaccess file.. and does the code working well?? Cheers.. ----- Original Message ----- From: "Richard Davey" <rich@launchcode.co.uk> To: <php-general@lists.php.net> Sent: Thursday, March 04, 2004 8:18 PM Subject: Re: [PHP] .htaccess... why it is deleted by the server?!!!? > Hello Radwan, > > Thursday, March 4, 2004, 4:09:07 PM, you wrote: > > RA> And also must I put it without name? or can I name it for example : > RA> "test.htaccess"? or must I name it : ".htaccess" (Without name)?? > > Usually you must name it .htaccess > > There is probably a way to change what it can be called, but I'm no > Apache admin so I couldn't tell you how. I dare say it might be a > httpd.conf setting somewhere. > > -- > Best regards, > Richard Davey > http://www.phpcommunity.org/wiki/296.html > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#179468) next »