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

From: Date: Wed, 17 Jan 2001 13:10:04 +0000
Subject: AW: [PHP] how do i hide my .inc files in apache??
Groups: php.general 
Request: Send a blank email to php-general+get-35033@lists.php.net to get a copy of this message
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:jamie.burns@dynamicexpression.co.uk] > Gesendet: Mittwoch, 17. Januar 2001 13:48 > An: php-general@lists.php.net > 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. >

« previous php.general (#35033) next »