RE: [PHP] Linux and permissions

2002-05-06 Thread Craig Vincent

 My PHP scripts are in a directory, php.  The owner of the
 directory is root
 and the group is apache.  Other has no rights.

 Group has rx rights.  All works well *except* the surfer can view
 the directory
 of the php directory *and* copy the files.

It means that DirectoryIndexing is enabled in apache =)  you can either
disable that (recommended) or as a quick fix put a blank index.htm (or .html
file) in that directory so when someone calls up just the directory they get
that blank page.

Sincerely,

Craig Vincent



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




Re: [PHP] Linux and permissions

2002-05-06 Thread Todd Cary

Craig -

Thank you for the quick response.  I do not see an entry in httpd.conf for
DirectoryIndexing.  Am I missing something?

Todd

--
Todd Cary
Ariste Software
2200 D Street Extension
Petaluma, CA 94952
707-773-4523
[EMAIL PROTECTED]



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




Re: [PHP] Linux and permissions

2002-05-06 Thread Paras Mukadam

search for DirectoryIndex and delete DirectoryIndex entry given below it.

Todd Cary [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Craig -

 Thank you for the quick response.  I do not see an entry in httpd.conf for
 DirectoryIndexing.  Am I missing something?

 Todd

 --
 Todd Cary
 Ariste Software
 2200 D Street Extension
 Petaluma, CA 94952
 707-773-4523
 [EMAIL PROTECTED]





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