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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache 2.0 SSI Problems

Status
Not open for further replies.

Szechuan

Programmer
May 26, 2003
12
CA
Hello,
I've just recently begun learning Apache, and I'm having problems with my SSIs.


I have the 'Options Indexes FollowSymLinks +Includes' as well as the 'AddType text/html .shtml' and
'AddHandler server-parsed .shtml' in the httpd.conf file.

The code on my site is:

<B> The Local Time is
<!--#echo var=&quot;DATE_LOCAL&quot; -->
</B>

Am I missing another configuration somewhere?

101 little bugs in the code,
101 little bugs,
Take one out and recompile,
102 little bugs in the code.
 
I didn't see anything in the tutorials about mod_include. Where should I insert it into the .conf file?

101 little bugs in the code,
101 little bugs,
Take one out and recompile,
102 little bugs in the code.
 
Sorry, I missed something in my last post.

I read that FAQ (thank you for the link) and have inserted the mod_include code where indicated.
When I run the config test I get an error to the sound of:

&quot;Syntax error on line 793 of httpd.conf. Can't load API module structure 'includes_module' in /modules/mod_include.so: No Error.&quot;

101 little bugs in the code,
101 little bugs,
Take one out and recompile,
102 little bugs in the code.
 
In the tutorial I posted above, start at &quot;General Section&quot; and chek you have carried out those actions.

I don't actually have experience of doing this but the guide seems clear enough.




 
Yes, I've done everything in the tutorial, exept for one thing. It says to add/decomment &quot;AddModule mod_include.c&quot;, but it isn't anywhere in the .conf file.

Where would I stick that?


101 little bugs in the code,
101 little bugs,
Take one out and recompile,
102 little bugs in the code.
 
You wouldn't. Apache 2.0 doesn't use the AddModule directive.

//Daniel
 
Thanks, all. I got the problem fixed. I must have messed something up while I was learning how to use the .conf; I just had to replace it with the default one provided and make just the changes indicated.

It works like cake, now. [thumbsup]

101 little bugs in the code,
101 little bugs,
Take one out and recompile,
102 little bugs in the code.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top