Re: .php to .html?
| From: | Steve Yates | Date: | Tue, 01 Oct 2002 05:41:17 +0000 |
| Subject: | Re: .php to .html? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-118315@lists.php.net to get a copy of this message | ||
"Steve Yates" <steve@srtware.com> wrote in message news:...
> "Jean-Christian Imbeault" <jc@mega-bucks.co.jp> wrote in message
> news:3D97E507.9090706@mega-bucks.co.jp...
> > How can I make my pages come out as .html instead of .php?
>
> Rename your pages to .html, and configure Apache to send all .html
pages
> through PHP:
Sorry, hit the wrong button. My example was to add this to httpd.conf:
AddType application/x-httpd-php .html
Note that this will parse every page, so is inefficient if you have many
plain .html files (no PHP code).
- Steve Yates
- (A)bort, (R)etry, (T)oss computer across room?
~ Do you like my taglines? Add them to your messages and
~ laugh through hundreds more by downloading Taglinator
~ at www.srtware.com today!