wildzero
asked on
php in a html page, which has ssi
Hi there :-)
here's a tricky one...
I got this html page which contains some ssi which work fine.
I also just got some php on that html page and it's not being processed...
I added in the line to my htaccess
AddType application/x-httpd-php .html
but still no go, and that is because I have these lines in there (so the ssi get processed)
AddType text/html .html
AddHandler server-parsed .html
Soo my htaccess looks like this
AddType application/x-httpd-php .html
AddType text/html .html
AddHandler server-parsed .html
If I have only the
AddType application/x-httpd-php .html
in my htaccess the php goes fine.
How can I get the php and ssi to work in harmony?
here's a tricky one...
I got this html page which contains some ssi which work fine.
I also just got some php on that html page and it's not being processed...
I added in the line to my htaccess
AddType application/x-httpd-php .html
but still no go, and that is because I have these lines in there (so the ssi get processed)
AddType text/html .html
AddHandler server-parsed .html
Soo my htaccess looks like this
AddType application/x-httpd-php .html
AddType text/html .html
AddHandler server-parsed .html
If I have only the
AddType application/x-httpd-php .html
in my htaccess the php goes fine.
How can I get the php and ssi to work in harmony?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.