[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
I am trying to run a script on a web page that uses server side includes. I am relatively new to Apache. The file mod_include.so is in my /etc/httpd/modules directory. Does this mean that I have SSI or do I need to recompile Apache?
For example, this is what I have in my own httpd.conf:
<Directory /> Options FollowSymLinks Includes AllowOverride None </Directory>
This means that everywhere under my webroot directory SSI will work.
You will also need to add the following two lines to the following section:
<IfModule mod_dir.c> [...] AddType text/html .shtml AddHandler server-parsed .shtml [...] </IfModule>
Then restart Apache and you should be good to go! HTH! :)
-- Tobias DiPasquale 88FA 30C9 1E63 CFE2 CBD8 37C4 DA1C E2BF 1D26 F036 http://cbcg.net/
_________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce General Discussion -- http://lists.netisland.net/mailman/listinfo/plug