Yes,
Making .inc parsable is a _potential_ solution. The problem is that why
should we as app programmers expect sysadmins to modify their default
apache installation to get around a problem that we can fix?
My vote is still just for include files to have a standard (already
accepted) extension.
--
Jeremy Kelley <[EMAIL PROTECTED]> pgp keyid 0xAECBA355
Phil 1:21 www.ganooz.com
Car pour moi, la vie c'est le Christ, et la mort est un gain.
> -----Original Message-----
> From: Sebastian Stadtlich [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 17, 2001 14:10
> To: 'Jamie Burns'; 'Php-General (E-Mail)
> Subject: AW: [PHP] how do i hide my .inc files in apache??
>
>
> why don't you rename your include files to
> *.inc.php
>
> so they are parsed by php and no valuable information would
> be given out.
> also you could use folowing lines in a .htaccess
>
>
> # .inc-files not readable:
> <Files ~ "\.inc$">
> Order allow,deny
> Deny from all
> </Files>
>
> sebastian
>
>
>
> > -----Ursprüngliche Nachricht-----
> > Von: Jamie Burns [mailto:[EMAIL PROTECTED]]
> > Gesendet: Mittwoch, 17. Januar 2001 13:48
> > An: [EMAIL PROTECTED]
> > Betreff: [PHP] how do i hide my .inc files in apache??
> >
> >
> > hi..
> >
> > can anyone tell me how i get apache to never send out the
> > contents of my include files (*.inc) to users?
> >
> > i dont want my source sode to be visible to browsers.
> >
> > thanks,
> >
> > jamie.
> >
>
> --
> 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]