Re: Apache_1.3.26 - Directory Access

From: Date: Fri, 31 Jan 2003 18:24:08 +0000
Subject: Re: Apache_1.3.26 - Directory Access
Groups: php.install 
Request: Send a blank email to php-install+get-9905@lists.php.net to get a copy of this message
that would definitely work. and i should have mentioned before. you should add php to this directive in apache....(this is mine) <IfModule mod_dir.c> DirectoryIndex index.php index.shtml index.html index.jsp </IfModule> that way if someone calls the directory(http://webserver/directory/) it will default to those pages in the order you have them listed. hth jeff Nick Gianakas <ngianakas@lio.a To: php-install@lists.php.net acisd.com> cc: Subject: Re: [PHP-INST] Apache_1.3.26 - Directory Access 01/31/2003 01:18 PM Not sure, but if you add a "welcome" page (like index.html), would that also do it (along w/ the obvious side-effect)? Regards, Nick On Fri, 2003-01-31 at 13:15, Jeffrey_N_Dyke@Keane.com wrote: > in your Apache -> httpd.conf, comment out this line.....and restart apache. > > AddModule mod_autoindex.c > > hth > jeff > > > > "Atif Jakupovic" > <Atif_Jakupovic@hc To: php-install@lists.php.net > -sc.gc.ca> cc: > Subject: [PHP-INST] Apache_1.3.26 - Directory Access > 01/31/2003 01:05 > PM > > > > > > > I need to find out how to protect files in a directory to be seen by a Web > browser. > > For example: The > 'http://my_web_site/my_directory/index.php' file will be > displayed correctly, but if I type > 'http://my_web_site/my_directory/' I'll > see the list of files and directories in the 'my_directory' directory. > > (Embedded image moved to file: pic30568.pcx) > > This is not secure. > > Please, does somebody know how I can protect a direct access to my > directories from a web browser? > > Thank you > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.install (#9905) next »