[thelist] php on my index page?

Aaron Wormus aaron at wormus.com
Wed Jan 21 13:33:19 CST 2004

What I do is just put a .htaccess in the folder with the following:

AddType application/x-httpd-php .html

This makes apache parse files ending with .html as php files!


Roger H. wrote:

>Maybe a silly question, but is there a way to get php info onto an index
>I just a have a simple, cheesy, php/mysql script/database that i am using
>for a 'blog'. I want to have the blog on its own page, but wanted to put the
>latest entry on my index page.
>So, obviously I could make my index.html an index.php page, but that's not a
>default, right? So would I have a have a redirect to index.php? Is that the
>only way to do this, or am I missing something really simple?
>as always, TIA!
>-Roger Harness

More information about the thelist mailing list