GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Webmaster Q & Fuckin' A (https://gfy.com/forumdisplay.php?f=27)
-   -   SSI and parsing PHP in .html (https://gfy.com/showthread.php?t=605648)

TheMaster 05-04-2006 10:39 AM

SSI and parsing PHP in .html
 
Hi,

could someone help me out?

(Linux server)

I use a lot of ssi, which I activate in my .htaccess by adding the line:

AddHandler server-parsed .html

now I would like to include rss feeds on my html pages, for that I use a php parser. To make the parser work in html, I added the lines

RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html

to my .htaccess

now the ssi doesn't work anymore of course

Anyone know, how to make them work together?

Thanks

TheMaster 05-04-2006 02:27 PM

damn, why do things in hindsight always seem so easy ???

just kept AddHandler server-parsed .html in my .htaccess
and I call the rss parser from within my html pages by ssi

Elixir 05-09-2006 12:08 PM

Linux servers are difficult to handle

Fetish Gimp 05-09-2006 12:11 PM

Why keep using SSI when you can use PHP includes? Besides, PHP includes give you much more flexibility.

jo3 05-10-2006 09:36 AM

php for the win


All times are GMT -7. The time now is 01:04 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123