![]() |
any .htacess experts here ?
anyone got an idea what could prevent from simple include in html file from not working ?
<!--#include virtual='/c/xxx.html'--> on old server it showed the content of xxx.html on the page , now it's just showing this line . The htaccess file stayed the same . anyone knows which specification should be written in the .htaccess file for this to work ? and i can't rename it to .shtml |
Quote:
|
Put something like this in your htaccess to parse other file types
AddHandler server-parsed .shtml .shtm .htm .html |
You may also need this in your htaccess
Options +Includes This tells Apache that you want to permit files to be parsed for SSI directives. |
Quote:
|
Quote:
That solved the problem , thanks :thumbsup I knew i had to have something like this , i already had : AddType text/x-server-parsed-html .html what's this line for then ? |
Nice! glad you fixed it. Shit like that will drive you nuts!
|
All times are GMT -7. The time now is 07:16 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123