httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jez Hancock <jez.hanc...@munk.nu>
Subject Re: [users@httpd] Can PHP files load without extension?
Date Mon, 22 Mar 2004 03:21:42 GMT
On Sun, Mar 21, 2004 at 03:31:42PM -0600, Rick van Vliet wrote:
> If I set up my pages to be some HTM, and some PHP, and I want to send a 
> link to someone so
> that I don't have to remember whether it's a php or html extension...and 
> this file is not an index.* page...
> Would I add *.htm *.html to the
> "AddType application/x-httpd-php .php " line?

Why not use .php extension for your html files? AFAIK there's little if
any overhead having only html in a php file.

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/        - ipfw peruser traffic logging

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message