Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache and Server Side Includes

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I'm running Windows XP and just installed Apache 1.3.22. I am trying to get Server Side Includes to work, and I've gone through the documentation with the server, but they don't seem to work. Here are the lines that I have added to my httpd.conf:

Options +Includes
AddType text/html .shtml
AddHandler server-parsed .shtml

I have tried it without the Options +Includes, without the middle, without the last one, and with only the Option +Includes... Any ideas?

Thanks,
Jason Bush
 
Hi,

Did you also uncomment the 'LoadModule' and 'AddModule' lines relevant to mod_include ?

LoadModule includes_module libexec/mod_include.so
AddModule mod_include.c

(Those are linux/unix examples - windows would no doubt be a .dll file)

You also need to have :

Options Includes

not

Options +Includes

(Unless you already have an Options list. The + operator only adds to an existing list and does not create one if it doesn't exist already)

Hope this helps

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top