[PHP] generally, where in cPanel can one set the default page to load?

2009-07-02 Thread Govinda
Dear list-members I am using what I assume is a pretty standard cPanel setup (?) I would like to be able change the mime types/extension so that .html gets sent through the PHP interpreter, but I see the cPanel docs say ...(note that you can not alter the system defined mime type

Re: [PHP] generally, where in cPanel can one set the default page to load?

2009-07-02 Thread Daniel Brown
On Thu, Jul 2, 2009 at 12:40, Govindagovinda.webdnat...@gmail.com wrote: Can someone point me to this? Wrong list. ;-P In fact, check Google for .htaccess MIME aliasing. It's nothing to do with PHP, nor cPanel, really. -- /Daniel P. Brown daniel.br...@parasane.net ||

Re: [PHP] generally, where in cPanel can one set the default page to load?

2009-07-02 Thread Michael A. Peters
Govinda wrote: Dear list-members I am using what I assume is a pretty standard cPanel setup (?) I would like to be able change the mime types/extension so that .html gets sent through the PHP interpreter, but I see the cPanel docs say ...(note that you can not alter the system defined mime

Re: [PHP] generally, where in cPanel can one set the default page to load?

2009-07-02 Thread Govinda
If you have mod_rewrite installed - put the following in your .htaccess file: RewriteEngine on RewriteRule ^index\.html$ index.php [L] That will cause index.php to be called when index.html is requested. If you want it to forward to index.php then use [R] instead of [L] If you want all

Re: [PHP] generally, where in cPanel can one set the default page to load?

2009-07-02 Thread Daniel Brown
On Thu, Jul 2, 2009 at 13:38, Govindagovinda.webdnat...@gmail.com wrote: I must not have mod-rewrite installed (I am 98% uneducated about apache/server admin). I will save your post though MIchael, for when I get more to that level..  you gave a good lead. You've got mod_rewrite on

Re: [PHP] generally, where in cPanel can one set the default page to load?

2009-07-02 Thread Govinda
On Jul 2, 2009, at 11:40 AM, Daniel Brown wrote: On Thu, Jul 2, 2009 at 13:38, Govindagovinda.webdnat...@gmail.com wrote: I must not have mod-rewrite installed (I am 98% uneducated about apache/server admin). I will save your post though MIchael, for when I get more to that level.. you