Hi,
Can anyone think of a reason why the following isn't working?.......
I want to customize the error pages for each virtual host and so have added the following to the error pages....
<!--#echo var="SERVER_NAME" -->
I have renamed them to .shtml and have the follwoing in httpd.conf....
AddType text/html .shtml
AddHandler server-parsed .shtml
In access.conf, I have...
<Directory />
Options +Includes
</Directory>
.........but the tags aren't replaced with the info, I just get a blank space.
Any ideas what Im doing wrong?
I've been reading the relevant pages at the Apache site which explains how to do this but I'm sure I have done all that they said. SSI works fine for my websites. Could I be missing something in one of the conf files that is restricting SSI in the error pages directory?
Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/
Can anyone think of a reason why the following isn't working?.......
I want to customize the error pages for each virtual host and so have added the following to the error pages....
<!--#echo var="SERVER_NAME" -->
I have renamed them to .shtml and have the follwoing in httpd.conf....
AddType text/html .shtml
AddHandler server-parsed .shtml
In access.conf, I have...
<Directory />
Options +Includes
</Directory>
.........but the tags aren't replaced with the info, I just get a blank space.
Any ideas what Im doing wrong?
I've been reading the relevant pages at the Apache site which explains how to do this but I'm sure I have done all that they said. SSI works fine for my websites. Could I be missing something in one of the conf files that is restricting SSI in the error pages directory?
Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/