[olug] RE: Apache/SSI help
Brian Weber
brian at cbiowa.com
Fri May 10 00:00:55 UTC 2002
I am sitting here trying to figure out how I am going to explain
this. Imagine your self working on fixing a problem for over two days
straight. Finally you break down and start looking for help. :) We all
know what is coming next.
Every once in a while I would see an error in my logs about
symbolic links not allowed. I checked on the net and found out you can
get that error if apache doesn't have permissions to your .htaccess
file. I would mess with the .htaccess file and eventually the problem
would go away. At one time I had one .htaccess file and all of my
virtual domains linked to that. When I started seeing the message that
was the first thing I changed.
It never occurred to me that I couldn't have "THE WHOLE WEBSITE
DIRECTORY" on a different partition and just create a link to that
directory on a different partition. Just don't tell anybody you seen my
head hitting the wall multiple times.
Hopefully I will be the only one you ever hear of doing this
again and I apologize for the interruption with the )*&)T$^)^$ question
[and for the foul language :)].
-----Original Message-----
From: Brian Weber [mailto:brian at cbiowa.com]
Sent: Thursday, May 09, 2002 3:52 PM
To: 'olug at olug.org'
Subject: Apache/SSI help
I was hoping to PLEASE get a little help from this group. I have
been kind of lurking for the past 5 years speaking up every once in a
while. I know this isn't a linux specific question but I did say
please. :)
Here is my situation.
I am trying to setup and use Server Side Includes in Apache with
no luck. Below is my configuration. Thanks.
# cat index.htm
<HTML>
<HEAD><TITLE>SSI Testing script</TITLE></HEAD>
<BODY>
Here is the start of the script<BR>
<p>
<!--#echo var="DOCUMENT_NAME"-->
</p>
If you see three lines of text it worked.<BR>
</BODY>
</HTML>
#
# ls -l index.shtml
-rwxr-xr-x 1 nobody nobody 40 May 9 13:42 index.shtml
# pwd
/WebServer/gallery
Solaris 2.8 sparc
********** system output ***************
# /etc/init.d/apache start
httpd starting.
# ps -ef | grep httpd
nobody 4057 4053 0 14:35:54 ? 0:00 /usr/apache/bin/httpd
nobody 4058 4053 0 14:35:54 ? 0:00 /usr/apache/bin/httpd
root 4060 457 0 14:35:59 pts/10 0:00 grep httpd
root 4053 1 1 14:35:54 ? 0:00 /usr/apache/bin/httpd
nobody 4054 4053 0 14:35:54 ? 0:00 /usr/apache/bin/httpd
nobody 4055 4053 0 14:35:54 ? 0:00 /usr/apache/bin/httpd
nobody 4056 4053 0 14:35:54 ? 0:00 /usr/apache/bin/httpd
#
# /usr/apache/bin/httpd -v
Server version: Apache/1.3.19 (Unix)
Server built: May 6 2002 01:12:32
# /usr/apache/bin/httpd -l
Compiled-in modules:
http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_access.c
mod_auth.c
mod_so.c
mod_setenvif.c
suexec: enabled; valid wrapper /usr/apache/bin/suexec
******** httpd.conf *******************
---- snipped to protect the inocent -----
#
# To use server-parsed HTML files
#
AddType text/html .shtml
AddHandler server-parsed .shtml
---- snipped to protect the inocent -----
<VirtualHost ??.??.??.?? >
ServerName gallery.gotshariah.com
DocumentRoot /WebServer/gallery
ScriptAlias /cgi-bin/ "/WebServer/gallery/cgi-bin/"
ErrorLog /WebServer/logs/gallery-error.log
CustomLog /WebServer/logs/gallery-access.log combined env=!ban
XBitHack Full
</VirtualHost>
---- snipped to protect the inocent -----
************* error.log file *************
[Tue Apr 2 20:41:48 2002] [notice] Apache/1.3.12 (Unix) PHP/4.1.0
configured -- resuming normal operations [Tue Apr 2 23:49:43 2002]
[notice] caught SIGTERM, shutting down [Tue Apr 2 23:49:48 2002]
[notice] Apache/1.3.12 (Unix) PHP/4.1.0 configured -- resuming normal
operations [Wed Apr 3 00:31:29 2002] [notice] caught SIGTERM, shutting
down [Wed Apr 3 00:31:50 2002] [notice] Apache/1.3.12 (Unix) PHP/4.1.0
configured -- resuming normal operations [Wed Apr 3 00:46:45 2002]
[notice] caught SIGTERM, shutting down [Wed Apr 3 00:49:56 2002]
[notice] Apache/1.3.12 (Unix) PHP/4.1.0 configured -- resuming normal
operations
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
For help contact olug-help at olug.org - run by ezmlm
to unsubscribe, send mail to olug-unsubscribe at olug.org
or `mail olug-unsubscribe at olug.org < /dev/null`
(c)1998-2002 OLUG http://www.olug.org
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
More information about the OLUG
mailing list