[thelist] php on my index page?

Wesley Mason wes at pmason.karoo.co.uk
Thu Jan 22 07:54:25 CST 2004


There is a third option people forgot to mention, and that's telling 
the webserver (I use Apache in this case as I haven't used anything 
else in a while) to parse just *that one file* through PHP, in your 
.htaccess:

<Files index.html>
	ForceType application/x-httpd-php
</Files>

--
Wesley Aaron Mason
(1st Vamp)
Weblog from nowhere: http://1stvamp.org/
Webcomic from somewhere: http://gfbowl.com/


On Jan 22, 2004, at 02:17, Bob Haroche wrote:

>
>> If you have no index.htm, index.html, default.asp, or default.cfm,
>> index.php will be deafulted as yoursite.com/
>
> True. And if for some reason people type yoursite.com/index.html and
> you don't want to have them change to the .php extension, you can put
> your blog entry on its own page and server side include that.  Of
> course, by default most servers will then want your index page to have
> an .shtml extension, but that too can be over-ridden with a server
> configuration so as to retain the .html extension.
>
> -------------
> Regards,
> Bob Haroche
> O n P o i n t  S o l u t i o n s
> www.OnPointSolutions.com
>
>
> -- 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>



More information about the thelist mailing list