Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

 

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help.

 
Thread Tools
Old 05-04-2006, 10:39 AM   #1
TheMaster
Confirmed User
 
Join Date: Nov 2003
Location: Prague
Posts: 2,733
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 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 05-04-2006, 02:27 PM   #2
TheMaster
Confirmed User
 
Join Date: Nov 2003
Location: Prague
Posts: 2,733
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
__________________
TheMaster is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 05-09-2006, 12:08 PM   #3
Elixir
CHECK MY SIG-AMAZING SITE
 
Elixir's Avatar
 
Join Date: May 2006
Location: ICQ: 210-874-419
Posts: 12,870
Linux servers are difficult to handle
Elixir is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 05-09-2006, 12:11 PM   #4
Fetish Gimp
Confirmed User
 
Industry Role:
Join Date: Feb 2005
Posts: 1,699
Why keep using SSI when you can use PHP includes? Besides, PHP includes give you much more flexibility.
__________________
Strapon Seduction - femdom blog | Twitter
Fetish Gimp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 05-10-2006, 09:36 AM   #5
jo3
Confirmed User
 
Join Date: Nov 2003
Posts: 876
php for the win
__________________
//porn-oh network
jo3 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
 
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.