httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jez Hancock <>
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  - Another FreeBSD Diary        - ipfw peruser traffic logging

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message