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
<[EMAIL PROTECTED] To: [EMAIL PROTECTED]
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, [EMAIL PROTECTED] 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:
[EMAIL PROTECTED]
> -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
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php