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

From: Date: Thu, 04 Mar 2004 16:09:07 +0000
Subject: .htaccess... why it is deleted by the server?!!!?
Groups: php.general 
Request: Send a blank email to php-general+get-179463@lists.php.net to get a copy of this message
And also must I put it without name? or can I name it for example : "test.htaccess"? or must I name it : ".htaccess" (Without name)?? Please help me.. Cheers.. ----- Original Message ----- From: "Radwan Aladdin" <raladin@emirates.net.ae> To: <php-general@lists.php.net> Sent: Thursday, March 04, 2004 7:58 PM Subject: [PHP] .htaccess... why it is deleted by the server?!!!? > You are right.. > > It is hidden only.. > > Okay now this problem is solved.. but the other problem is that in my > .htaccess file : > > " > AuthUserFile /pass2 > AuthGroupFile /pass2 > AuthName AllowLocalAccess > AuthType Basic > > order deny,allow > deny from 217.164.249.134 > allow from all > " > > The IP 217.164.249.134 is mine.. I want to try blocking it from transfering > data from the folder "/pass2" into my PC.. > > I mean in my website : > http://www.alaedin.com/pass2/www.alaedin.com/pass2/tetetet.rm > > So I want to deny that RM file.. so that IP can't access it or download it > to his machine.. is it possible? > > where must I put this file? And must I change in this script? or it is > right? > > Please help me in this problem.. > > Cheers.. > > ----- Original Message ----- > From: "Richard Davey" <rich@launchcode.co.uk> > To: <php-general@lists.php.net> > Sent: Thursday, March 04, 2004 7:44 PM > Subject: Re: [PHP] .htaccess... why it is deleted by the server?!!!? > > > > Hello Radwan, > > > > Thursday, March 4, 2004, 3:38:28 PM, you wrote: > > > > RA> I made a .htaccess file. and then uploaded it to my server.. > > RA> but everytime I do it deletes it automatically.. it is hidden > > RA> directly.. or sure deleted from there.. so what is the > > RA> problem!!!!!???? > > > > Are you *sure* it is deleted? By default the fullstop (period) at the > > start of the filename in Unix will HIDE it from you. If you can > > SSH/Telnet into your account do: ls -al to show any hidden files in > > the directory listing. If you're viewing via an FTP client, check for > > Options to show "hidden" files. If you know this all already, sorry! > > :) > > > > -- > > 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 (#179463) next »