[PHP] Using index.php instead of index.html

2002-07-16 Thread Sailom
Hello, I am a novice on PHP and web programming. Can any one suggest me if I can use index.php in place of index.html? I really need to concern about security issue too. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using index.php instead of index.html

2002-07-16 Thread Chris Garaffa
He who calles himself Sailom (from [EMAIL PROTECTED]) wrote on 7/16/02 12:13 PM: Hello, I am a novice on PHP and web programming. Can any one suggest me if I can use index.php in place of index.html? I really need to concern about security issue too. Are you using Apache? If so, just edit

Re: [PHP] Using index.php instead of index.html

2002-07-16 Thread Sailom
Thank you so much. :) Sailom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using index.php instead of index.html

2002-07-16 Thread Mark Gallagher
Sailom wrote: I am a novice on PHP and web programming. Can any one suggest me if I can use index.php in place of index.html? I really need to concern about Sure you can! If you're using an Apache webserver, create a file named .htaccess containing the following: DirectoryIndex

RE: [PHP] Using index.php instead of index.html

2002-07-16 Thread Chris Kay
--- -Original Message- From: Mark Gallagher [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 17 July 2002 4:05 AM To: Sailom Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Using index.php instead of index.html Sailom wrote: I am a novice on PHP and web programming. Can any one

Re: [PHP] Using index.php instead of index.html

2002-07-16 Thread Chris Knipe
Why not just add it to the httpd.conf, this would allow it to work within the whole server And not just one director / vhost ect Maybe he doesn't have access to alter server configurations? -eg- -- me -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Using index.php instead of index.html

2002-07-16 Thread Michael Hall
The only security consideration here is whether you want to advertise the fact that you're using PHP or not. If not: DirectoryIndex index.html AddType application/x-httpd-php .html This is OK if most/all your pages use PHP. Otherwise, normal html gets parsed as well with unnecessary

Re: [PHP] Using index.php instead of index.html

2002-07-16 Thread Jason Wong
On Wednesday 17 July 2002 10:57, Michael Hall wrote: The only security consideration here is whether you want to advertise the fact that you're using PHP or not. If not: DirectoryIndex index.html AddType application/x-httpd-php .html If you don't want people to know you're using PHP then