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

2004-03-04 Thread Radwan Aladdin
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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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

2004-03-04 Thread Richard Davey
Hello Radwan,

Thursday, March 4, 2004, 3:58:52 PM, you wrote:

RA> Okay now this problem is solved.. but the other problem is that in my
RA> .htaccess file :

This isn't really PHP related I'm afraid, the following might be of
more help to you:

http://www.google.com/search?sourceid=navclient&ie=UTF-8&oe=UTF-8&q=htaccess+tutorial

-- 
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



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

2004-03-04 Thread Richard Davey
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



RE: [PHP] .htaccess... why it is deleted by the server?!!!?

2004-03-04 Thread Jay Blanchard
[snip]
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)??
[/snip]


While wonderfully fascinating in many aspects, shouldn't this be on an
Apache list somewhere? And it is .htaccess [no name]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] .htaccess... why it is deleted by the server?!!!?

2004-03-04 Thread jon roig
It's probably is still there, just hiding. You could write a quick
little php script to check it out if you ftp client is blocking it from
being seen.

-- jon

---
jon roig
web developer
email: [EMAIL PROTECTED]
phone: 888.230.7557


-Original Message-
From: Radwan Aladdin [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 04, 2004 8:38 AM
To: [EMAIL PROTECTED]
Subject: [PHP] .htaccess... why it is deleted by the server?!!!?


Hi.. 

I made a .htaccess file. and then uploaded it to my server.. but
everytime I do it deletes it automatically.. it is hidden directly.. or
sure deleted from there.. so what is the problem! 

My hosting account is Linux, WebServer : Apache.. so what is the
problem? and how to solve it? 

Cheers..

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.611 / Virus Database: 391 - Release Date: 3/3/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.611 / Virus Database: 391 - Release Date: 3/3/2004
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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

2004-03-04 Thread Richard Davey
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