RE: [PHP-DB] index.php3 as homepage
| From: | Balak, Frank | Date: | Tue, 13 Jun 2000 20:15:05 +0000 |
| Subject: | RE: [PHP-DB] index.php3 as homepage | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-386@lists.php.net to get a copy of this message | ||
You will probably need to set the directory index directive to also use
index.php as the index. This is what I had to on my Apache configuration,
otherwise index.php would not execute, but I would get a directory listing.
Frank
-----Original Message-----
From: Fred Bulah [mailto:fredb@corecam.com]
Sent: Tuesday, June 13, 2000 12:06
To: Paul O' Connor
Cc: php-db@lists.php.net
Subject: Re: [PHP-DB] index.php3 as homepage
You need to set the AddType parameter in the Apache configuration file
(normally /usr/local/apache/conf/httpd.conf):
AddType application/x-httpd-php .php .htm .php3
Paul O' Connor wrote:
> Hi,
>
> I'm using PHP3 with apache on a windows NT environment.
> Up to now, my home page was always .HTM page.
>
> I now need to have a php page as my homepage as it is being generated
> dynamically from a MySQL database.
>
> However, try as I might, I can't seem to get apache to see index.php3 as
the
> default home page.
>
> Has anyone come across this problem - any ideas.
>
> Regards,
> Paul.
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net