Current time: 05-24-2024, 08:59 PM Hello There, Guest! (LoginRegister)


Post Reply 
[solved] Problem interpreter php / html
Author Message
frankwth Offline
Newbie
*

Posts: 9
Joined: Dec 2006
Reputation: 0
Post: #2
RE: [solved] Problem interpreter php / html
Hallo,

I have the same problem. I also need to parse some html-files through php. I have tried the solutions suggested above but still receive the "download file" box when I call the file.

The following things I did:
1) I put 'AddHandler php-fastcgi .html' into a .htaccess in document root
2) I put this in /etc/apache2/ispcp/<tld>.conf:
Code:
<Directory /var/www/virtual/<tld>/htdocs>
     Options -Indexes Includes FollowSymLinks MultiViews
     AllowOverride All
     Order allow,deny
     Allow from all
     AddType text/html .shtml
     AddHandler php-fastcgi .html
     AddHandler server-parsed .shtml
     AddType application/x-httpd-php .phtml .htm .html .php
     DirectoryIndex index.html index.htm index.php index.html.var index.shtml
</Directory>

In php.ini for the domain I took out the exec ristriction.

Still no success.

Any help would be great.
Kind regards
Frank
06-07-2010 04:25 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [solved] Problem interpreter php / html - frankwth - 06-07-2010 04:25 PM

Forum Jump:


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