Re: PHP as HTML
| From: | Tom Ray | Date: | Wed, 05 Jun 2002 04:12:03 +0000 |
| Subject: | Re: PHP as HTML | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-100651@lists.php.net to get a copy of this message | ||
Thanks. I got the issue figured out. There was an .htaccess file in the root of the website that I had forgotten about, it was affecting everything due to it's bad config.
Pushkar Pradhan wrote:
If you do a phpinfo() you get a columen Server API, mine lists CGI as it is what I installed php as.-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpyou know, that's a good question. How would I determine that on the server? Peter wrote:theTom, this does work fine... doing what Kevin says... ie the AddType application/x-httpd-php .html AddType application/x-httpd-php .htm is PHP installed as a module or cgi ver? Cheers -----Original Message----- From: Tom Ray [mailto:tom@blazestudios.com] Sent: Wednesday, 5 June 2002 9:49 AM To: Kevin Stone; php-general@lists.php.net Subject: Re: [PHP] PHP as HTML I tried this, and it just prompts me to download the file from the server. I can't see what the issue is. ----- Original Message ----- From: "Kevin Stone" <kevin@helpelf.com> To: <php-general@lists.php.net> Sent: Tuesday, June 04, 2002 5:35 PM Subject: Re: [PHP] PHP as HTMLanyoneAddType application/x-httpd-php .html AddType application/x-httpd-php .htm ----- Original Message ----- From: "Tom Ray" <tom@blazestudios.com> To: <php-general@lists.php.net> Sent: Tuesday, June 04, 2002 2:41 PM Subject: [PHP] PHP as HTMLHey there- I'm trying to use an .htaccess file to parse .php files as .html doesknow how to do this? It doesn't work with the same structure as parsing.shtml files. any suggestions would be great. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-Pushkar S. Pradhan