Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache and Server_Side Includes problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Codyd
n00b
n00b


Joined: 26 Aug 2002
Posts: 8

PostPosted: Wed Sep 18, 2002 11:02 pm    Post subject: Apache and Server_Side Includes problem Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Sep 18, 2002 11:07 pm    Post subject: Reply with quote

Is mod_include being loaded?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
rojaro
l33t
l33t


Joined: 06 May 2002
Posts: 732

PostPosted: Wed Sep 18, 2002 11:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Codyd
n00b
n00b


Joined: 26 Aug 2002
Posts: 8

PostPosted: Thu Sep 19, 2002 12:38 am    Post subject: That worked rojaro! Reply with quote

Thanks alot for that .. now i need to read up on that so i understand it better.. Thanks again.

Codyd
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum