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?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to