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
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to