View previous topic :: View next topic |
Author |
Message |
Codyd n00b


Joined: 26 Aug 2002 Posts: 8
|
Posted: Wed Sep 18, 2002 11:02 pm Post subject: Apache and Server_Side Includes problem |
|
|
Im trying to host a webpage that has <!--#include file="home.shtml"-->
and its not displaying it. I busted out my Defenitive guide to Apache and made sure .shtml was registered in the apache.conf & commonapache.conf. The rest of the web page will display fine just not the included files. Any ideas guys?
Thanks for any help |
|
Back to top |
|
 |
rac Bodhisattva


Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Sep 18, 2002 11:07 pm Post subject: |
|
|
Is mod_include being loaded? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
 |
rojaro l33t

Joined: 06 May 2002 Posts: 732
|
Posted: Wed Sep 18, 2002 11:10 pm Post subject: |
|
|
check your /etc/apache/conf/commonapache.conf file and look for a line that starts like
Code: | <Directory /home/httpd/htdocs> |
somewhere below there is a line which reads by default
Code: | Options Indexes FollowSymLinks MultiViews |
and change it to
Code: | Options Indexes FollowSymLinks MultiViews Includes |
and restart the apache (/etc/init.d/apache restart). _________________ A mathematician is a machine for turning coffee into theorems. ~ Alfred Renyi (*1921 - †1970) |
|
Back to top |
|
 |
Codyd n00b


Joined: 26 Aug 2002 Posts: 8
|
Posted: Thu Sep 19, 2002 12:38 am Post subject: That worked rojaro! |
|
|
Thanks alot for that .. now i need to read up on that so i understand it better.. Thanks again.
Codyd |
|
Back to top |
|
 |
|