Re: include but not browse
| From: | Jason Wong | Date: | Mon, 05 Jul 2004 09:48:43 +0000 |
| Subject: | Re: include but not browse | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189700@lists.php.net to get a copy of this message | ||
On Monday 05 July 2004 16:18, Tumurbaatar S. wrote:
> Generally, it isn't a PHP related but...
> I'm not a Linux/Apache user and know nothing
> about how to manage permissions there.
> I need to disable browsing for some of subfolders
> on my site but php scripts located in these subfolders
> should be accessible by php's include/require.
> It's easy to do on Windows/IIS but how to do it on Linux/Apache?
Assuming you mean if someone goes to:
http://www.yoursite.com/subfolder/
then they should not see the list of files in subfolder, you want to look at
the <Options Indexes> directive. Look on the apache site for detailed info.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Anyone who goes to a psychiatrist ought to have his head examined.
-- Samuel Goldwyn
*/