RE: [PHP] how do i hide my .inc files in apache??

2001-01-18 Thread Maxim Maletsky
t 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 .in

RE: [PHP] how do i hide my .inc files in apache??

2001-01-18 Thread Matt Williams
> 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 cou

RE: [PHP] how do i hide my .inc files in apache??

2001-01-17 Thread Jon Niola
7 January 2001 13:01 > > To: 'Jamie Burns' > > Cc: '[EMAIL PROTECTED]' > > Subject: RE: [PHP] how do i hide my .inc files in apache?? > > > > > > I take it you're talking about normal html .inc files, and not the PHP > > include() f

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

2001-01-17 Thread Alex Black
Suite 433 Berkeley, CA 94710-2522 > From: [EMAIL PROTECTED] ("Matt Williams") > Newsgroups: php.general > Date: 17 Jan 2001 05:58:59 -0800 > Subject: RE: [PHP] how do i hide my .inc files in apache?? > > > Order allow,deny > Deny from all > > > in eith

RE: [PHP] how do i hide my .inc files in apache??

2001-01-17 Thread Matt Williams
7;[EMAIL PROTECTED]' > Subject: RE: [PHP] how do i hide my .inc files in apache?? > > > I take it you're talking about normal html .inc files, and not the PHP > include() function? If so, this is well off-list, try the > comp.infosystems.www.servers heirarchy for this

RE: [PHP] how do i hide my .inc files in apache??

2001-01-17 Thread jeremy
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

RE: [PHP] how do i hide my .inc files in apache??

2001-01-17 Thread jeremy
don't name them .inc files. Name them blahblah.inc.php or something that will be parsed, and therefore not just gurped up by the server. blest, jeremy -- Jeremy Kelley <[EMAIL PROTECTED]> pgp keyid 0xAECBA355 Phil 1:21 www.ganooz.com Car pour moi,

RE: [PHP] how do i hide my .inc files in apache??

2001-01-17 Thread Jon Haworth
I take it you're talking about normal html .inc files, and not the PHP include() function? If so, this is well off-list, try the comp.infosystems.www.servers heirarchy for this sort of thing. But... You can't, AFAIK. The whole *point* of an include file is that the entire contents of that file a

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

2001-01-17 Thread Tim Zickus
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