RE: [SLE] SSI enabled in default Apache2 conf?
-----Original Message----- From: Carl Hartung [mailto:suselinux@cehartung.com] Sent: Tuesday, August 23, 2005 11:57 AM To: suse-linux-e@suse.com Subject: [SLE] SSI enabled in default Apache2 conf?
Hi All,
OK, now I'm feeling stupid... All I want are basic server side includes enabled in Apache2 on localhost.
I've read and re-read pg. 503 of the 9.3 Admin guide and scoured what I believe are the appropriate .conf files. I've been through the sysconfig editor in YaST and searched the archives (I *know* this question has been answered before)... to no avail.
Why are the .shtml pages I've placed in /~carlh (../carlh/public_html) displaying code (as in opening a text file) instead of rendering the expected pages?
May I please get a pointer (can be accompanied by the appropriate
thump on
the head, if necessary) :-)
- Carl
Make sure that mod_userdir is installed. Presumably it is, since you can get serve static content from ~/public_html/...but just to be sure. Then look in /etc/apache2/mod_userdir.conf Add "+Includes" to the Options line in the Directory section. That should do it... If it doesn't, though, I'd like to know that... :-) - Ian
On Tuesday 23 August 2005 12:40, Marlier, Ian wrote:
Make sure that mod_userdir is installed. Presumably it is, since you can get serve static content from ~/public_html/...but just to be sure.
Hi Ian, Thanks for replying. Yes, mou_userdir is installed.
Then look in /etc/apache2/mod_userdir.conf Add "+Includes" to the Options line in the Directory section.
Here's the original: <Directory /home/*/public_html> AllowOverride FileInfo AuthConfig Limit Indexes Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec <Limit GET POST OPTIONS PROPFIND> Order allow,deny Allow from all </Limit> <LimitExcept GET POST OPTIONS PROPFIND> Order deny,allow Deny from all </LimitExcept> </Directory> Here's what I tried first: Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec +Includes no dice Here's what I tried next: Options MultiViews Indexes SymLinksIfOwnerMatch +Includes also no dice I did successful rcapache2 restarts each time. What I'm not getting is why the docs seem to say the default is enabled when Apache2 is installed? Thanks again, - Carl
On Tuesday 23 August 2005 13:19, Carl Hartung wrote:
<Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit Indexes Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
Hi All, Thanks jdd & Ian for your replies. I don't like the way YaST2's http server configuration module is closing. It's too fast to read so I'm not seeing any error messages. The progress bar heads towards 100% but then the window appears to close at maybe 99%?... there's no "Finish" button or other warm and fuzzy feedback. So, I took a look at the log and now I don't like what I see there. I'd really appreciate some help interpreting it. It's posted here for download if any of you have time: http://www.cehartung.com/DL/y2log.txt.tar.gz TIA, - Carl
participants (2)
-
Carl Hartung
-
Marlier, Ian