Current time: 11-26-2024, 06:39 AM Hello There, Guest! (LoginRegister)


Post Reply 
problem parsing html as php with .htaccess
Author Message
wiktor Offline
Newbie
*

Posts: 5
Joined: Jun 2010
Reputation: 0
Post: #21
RE: problem parsing html as php with .htaccess
Yes, normal .php files (in the same directory) are working fine. Exactly same content in .phtml file is giving Internal Server Error ;/
OK, I think I have finally solved my problem. I had to alter apache conf file adding following line:
FCGIWrapper /var/www/fcgi/domain/php5-fcgi-starter .phtml

I did it in sites-available/ispcp.conf so I assume, I need to change it in templates as well. Am I right?

joximu, thanks for your help, really appreciate it! Wink

Edit:
BTW, if I want to change smth in apache configuration, I need to alter all template files (als, dmn, sub) in /etc/ispcp/apache/parts ? And if I want to change smth in PHP configuration (php.ini) where is the template file for it?
(This post was last modified: 06-25-2010 04:01 AM by wiktor.)
06-25-2010 03:39 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: problem parsing html as php with .htaccess - wiktor - 06-25-2010 03:39 AM

Forum Jump:


User(s) browsing this thread: 5 Guest(s)