Re: how do i hide my .inc files in apache??

From: Date: Wed, 17 Jan 2001 12:57:32 +0000
Subject: Re: how do i hide my .inc files in apache??
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-35030@lists.php.net to get a copy of this message
Combine these options: http://httpd.apache.org/docs/mod/mod_access.html#allow http://httpd.apache.org/docs/mod/core.html#files to exclude access to anything matching *.inc. The safest/easiest thing is to move the files outside of the document path and add that directory to your php include path. That way you're not relying on a special apache configuration if you were to move to a new server, etc...your files could become inadvertently unprotected. - Tim http://www.phptemplates.org >can anyone tell me how i get apache to never send out the contents of my >include files (*.inc) to users?

« previous php.general (#35030) next »