List Info

Thread: .htaccess Indexes - exceptions?




.htaccess Indexes - exceptions?
user name
2006-03-09 19:50:59
Hi. I have a hosted site, and I want to disable directory
listing, so I
need to go through .htaccess to do so. However
"Options -Indexes" only
seems to allow access to (no suprise) files with
"index" in the name,
like "index.htm" or "index.php". Is
there a way I can extend this to
include other specific file names, such as
"home.php"? Thank you.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Apache Chat" group.
To post to this group, send email to Apache-Chatgooglegroups.com
To unsubscribe from this group, send email to
Apache-Chat-unsubscribegooglegroups.com
For more options, visit this group at http://gro
ups.google.com/group/Apache-Chat
-~----------~----~----~----~------~----~------~--~---

.htaccess Indexes - exceptions?
user name
2006-03-09 20:24:22
On 3/9/06, Markus <mehatespam1085yahoo.com> wrote:
>
> Hi. I have a hosted site, and I want to disable
directory listing, so I
> need to go through .htaccess to do so. However
"Options -Indexes" only
> seems to allow access to (no suprise) files with
"index" in the name,
> like "index.htm" or
"index.php". Is there a way I can extend this to
> include other specific file names, such as
"home.php"? Thank you.
>
http://httpd.apache.org/docs/1.3/mod/mod_dir.htm
l#directoryindex

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Apache Chat" group.
To post to this group, send email to Apache-Chatgooglegroups.com
To unsubscribe from this group, send email to
Apache-Chat-unsubscribegooglegroups.com
For more options, visit this group at http://gro
ups.google.com/group/Apache-Chat
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )