Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Quick question about .htaccess and httpd.conf



2007/10/18, scott <scott@example.com>:
>
> This did the trick. However I can't help but think there's got to be a
> better way to allow only top-level access to a directory, then deny all
> subdirectories. Anybody know if this can be done more efficiently than
> the way I posted above?
The .htaccess and the AllowOverride  belong to Apache's core module.
You should look here:

http://httpd.apache.org/docs/2.2/ja/mod/core.html#allowoverride

And

 AllowOverride AuthConfig Indexes

can do what you want IMO.

-- 
Best Regards,
Nguyen Hung Vu
vuhung16plus{remove}@example.com
An inquisitive look at Harajuku
http://www.flickr.com/photos/vuhung/sets/72157600109218238/


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links