if they are called the same then you can add them ... how? good question ...
how is .htaccess added.. the same way. there, in httpd.conf you can select
which files not to show wit h, i think regular expression.. if you don't
have the access to httpd.conf, or simply do not wish to use it, then just
put a dot (.) infront the files you wich to hide, they won't be then shown..
(if apache is configured that way, it is usually the default installation)
but, the best way, as you sayd is to have the whole library outside (better
parralel) directory of your www root.
or
password protect a folder with them all with .htaccess
or
use .htaccess to not to show them anymore...
Cheers,
Maxim Maletsky
-----Original Message-----
From: Matt Williams [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 18, 2001 5:48 PM
To: Php-General@Lists. Php. Net
Subject: RE: [PHP] how do i hide my .inc files in apache??
> My vote is still just for include files to have a standard (already
> accepted) extension.
I think you may be missing the point on this one.
The question wasn't what to name included files but how to stop apache
parsing or showing the contents of the include files.
The obvious solution of course is to have the included files outside the web
tree.
M@
--
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]
--
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]