[olug] Apache/SSI help
Brian Weber
brian at cbiowa.com
Thu May 9 22:51:48 UTC 2002
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