Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Quick question about .htaccess and httpd.conf
- Date: Thu, 18 Oct 2007 10:28:01 +0900
- From: scott <scott@example.com>
- Subject: [tlug] Quick question about .htaccess and httpd.conf
Hi everyone, I recently noticed that after having installed roundcube webmail, subdirectories (including the logs and conf files) were visible to the outside world. Which is, of course, bad. First I tried to correct the problem by sticking an .htaccess file in each sub-directory: order allow,deny deny from all but this wasn't working, files were still visible. As a stop-gap, I edited the httpd.conf file and created <directory> files for every sub- directory in the roundcube like this: <Directory /foo/bar/> AllowOverride none Order deny,allow deny from all </Directory> 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? I'm sure that soon after posting this question I'll stumble on the solution, but I figured this might be of interest to other Tluggers as well from a technical standpoint. Cheers, Scott VanDusen
- Follow-Ups:
- Re: [tlug] Quick question about .htaccess and httpd.conf
- From: Nguyen Vu Hung
Home | Main Index | Thread Index
- Prev by Date: RE: [tlug] Samba and licensing
- Next by Date: Re: [tlug] Newbie: Kubuntu Configuration
- Previous by thread: Re: [tlug] mounting LCD displays
- Next by thread: Re: [tlug] Quick question about .htaccess and httpd.conf
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links