httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis Watson" <li...@visionsix.com>
Subject Re: [users@httpd] Browsing file in apache
Date Fri, 14 Feb 2003 09:13:05 GMT

----- Original Message -----
From: "ATUL PAL /RTG/INFOTECH/BKC" <atul.pal@icici-infotech.com>
To: <users@httpd.apache.org>
Sent: Friday, February 14, 2003 1:36 AM
Subject: [users@httpd] Browsing file in apache

Hi,
I having a test environment in which i am able to view files
with extensions like .txt , .log
through URL .Is it possible to restrict the viewing of file
with certain extensions. The
directory browsing is disabled .
What is OS user through which internet user access apache
like IUSR_MACHINENAME in IIS.
Regards
Atul



Hi Atul,
You can disable viewing certain files like so in the config....
<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
</Files>

Also, look for the "user" and "group" in httpd.conf to see what user the
server is running as. However, I am not sure what affect this has if you
are running this on Windows.
Have fun!
Lewis



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message