On Fri, 29 Jan 2010 14:48:47 +0000, Ashley Sheridan wrote:

> On Fri, 2010-01-29 at 20:15 +0530, Raman . wrote:
> 
>> you can use Apache mod rewrite to create html pages having all programing
>> saved in .php pages. I have never tried generating .html pages with this but
>> have successfully generated .htm pages..
> 
> You still have to create .php pages, mod_rewrite just masks what the
> user is requesting through their browser. You can set Apache to
> parse .html pages as PHP, but I wouldn't recommend it, as any html pages
> that don't contain PHP code still have to be parsed as if they did,
> which is slower.

.htaccess:
DirectoryIndex index.php


/Nisse

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to