[opensuse] enabling Server Side Includes, Apache2 on 10.2
Hi All, I've searched the docs, all the .conf files and all of my past notes on this topic and can't locate the solution. Can someone point me to where I tell Apache2 to parse .shtml files in my ~/public-html directory? TIA & regards, Carl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun January 28 2007 10:31, Carl Hartung wrote:
I've searched the docs, all the .conf files and all of my past notes on this topic and can't locate the solution. Can someone point me to where I tell Apache2 to parse .shtml files in my ~/public-html directory?
Never mind... :-) This buried setting 'bit me' back around 9.3/10.0. At the very bottom of /etc/apache2/mod_mime-defaults.conf is this section: # Filters allow you to process content before it is sent to the client. # # To parse .shtml files for server-side includes (SSI): # (You will also need to add "Includes" to the "Options" directive.) # #AddType text/html .shtml #AddOutputFilter INCLUDES .shtml Uncommenting the last two lines does the trick (after a restart of Apache2, of course.) Carl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (1)
-
Carl Hartung