SSI and .htaccess
Hi, I am wondering if anyone can help.
I have a new dedicated server as I am trying to get html files to be parsed for ssi. shtml files are already parsed succesfully.
Basically, i want to do this with .htaccess in the root of a virtual domain by adding the command
AddType text/x-server-parsed-html .html
to the .htaccess file.
This had not worked so I assume that .htaccess is not working. I am now trying to find out why. I checked in httpsd.conf to see what to change and I changed:
AllowOverride NONE
to
AllowOverride ALL
in this section:
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
AllowOverride ALL
and I also changed
Order deny,allow
Deny from all
to
I then rebooted the server, however SSI calls are still not being parsed in .html files.
e.g. check http://www.freeontheweb.com/banner3.htm compared to http://www.freeontheweb.com/banner3.shtml
any ideas on what i need to do? thanks
zef posted this at 13:16 — 11th July 2000.
They have: 51 posts
Joined: Aug 1999
They both seem to work. So I don't get the problem.
Note that .htm is not the same as .html (for Apache)
padders posted this at 14:52 — 11th July 2000.
They have: 8 posts
Joined: Aug 1999
I had to change something in access.conf as well, that sorted it out. Now it works fine. Thanks though
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.