httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jurgen <apa...@squarehosting.com>
Subject Re: SSI Enabling Problem
Date Thu, 08 Aug 2002 04:08:18 GMT
Hi,

the one that matters is the 
 Includes
or
 +Includes
.

This -> <Directory /> <-- is the default for the whole system. It is written above
this section in the httpd.conf that in this way the default for the whole system is set.
Did you actually try anything?

Jurgen
apache@squarehosting.com


On Wed, 7 Aug 2002 22:48:35 -0500
"Telconstar99" <telconstar99@hotmail.com> wrote:

> OK. This is what I have (and have had since the beginning of my post):
> 
> <Directory />
> 
> Options Includes ExecCgi FollowSymLinks
> 
> AllowOverride None
> 
> </Directory>
> 
> and.....
> 
> AddType text/html .shtml
> 
> AddHandler server-parsed .shtml
> 
> Now, the user "Jurgen" says this is all I need. However, the user "Wick"
> says I need this:
> 
> <Directory "/REPLACE_WITH_PATH_TO_YOUR_HTDOCS_DIRECTORY">
>     Options Includes
>     AllowOverride All
>     Order allow,deny
>     Allow from all
> </Directory>
> 
> 
> Yet, when I put that in, it says I have multiple directory commands (aka
> error). Who's correct? Are either correct?
> 
> Thanks,
> 
> Tres London
> 
> ----- Original Message -----
> From: "Jurgen" <apache@squarehosting.com>
> To: <users@httpd.apache.org>
> Sent: Wednesday, August 07, 2002 12:31 PM
> Subject: Re: SSI Enabling Problem
> 
> 
> > Hi,
> >
> > you will need this:
> >
> > <Directory />
> > Options Includes ExecCgi FollowSymLinks
> > AllowOverride None
> > </Directory>
> >
> > and also a section looking like:
> >
> > AddType text/html .shtml
> > AddHandler server-parsed .shtml
> >
> > This will do it.
> >
> > Jurgen
> > apache@squarehosting.com
> >
> >
> >
> > On Wed, 7 Aug 2002 12:09:35 -0500
> > "Telconstar99" <telconstar99@hotmail.com> wrote:
> >
> > >
> > > ----- Original Message -----
> > > From: "Robert Andersson" <robert@profundis.nu>
> > > To: "Telconstar99" <telconstar99@hotmail.com>
> > > Sent: Wednesday, August 07, 2002 12:15 AM
> > > Subject: Re: SSI Enabling Problem
> > >
> > >
> > > > Telconstar99 wrote:
> > > > > Goodness, lol, I am lost. Like I said, I know just about nothing
in
> > > > regards
> > > > > to Apache. However, I did some looking. I want to enable SSI for
the
> > > whole
> > > > > server. I have this entered already:
> > > > >
> > > > > #
> > > > >
> > > > > # DocumentRoot: The directory out of which you will serve your
> > > > >
> > > > > # documents. By default, all requests are taken from this directory,
> but
> > > > >
> > > > > # symbolic links and aliases may be used to point to other
> locations.
> > > > >
> > > > > #
> > > > >
> > > > > DocumentRoot "D:/Program Files/Apache Group/Apache/htdocs"
> > > > >
> > > > > #
> > > > >
> > > > > # Each directory to which Apache has access, can be configured with
> > > > respect
> > > > >
> > > > > # to which services and features are allowed and/or disabled in that
> > > > >
> > > > > # directory (and its subdirectories).
> > > > >
> > > > > #
> > > > >
> > > > > # First, we configure the "default" to be a very restrictive set
of
> > > > >
> > > > > # permissions.
> > > > >
> > > > > #
> > > > >
> > > > > <Directory />
> > > > >
> > > > > Options Includes ExecCgi FollowSymLinks
> > > > >
> > > > > AllowOverride None
> > > > >
> > > > > </Directory>
> > > > >
> > > > > I see an Options Includes part in there. Is this what I need in
> there?
> > > Is
> > > > > that the correct place?
> > > >
> > > > In your DocumentRoot, yes. But having / as your document root doesn't
> look
> > > > good though, or perhaps I'm mistaken.
> > >
> > > What? I don't understand.
> > >
> > >
> > > As long as your server runs fine
> > >
> > > I'm just running this thing locally, with a few pages. However, it's not
> > > running fine. For some reason, now it's not parsing the .shtml files!
> When I
> > > started Apache (and I have not changed a thing since I started posting
> here,
> > > at least to my recollection), I received the following message:
> > >
> > > "[Wed Aug 07 11:50:14 2002] [warn] pid file d:/program files/apache
> > > group/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous
> > > Apache run?
> > > Apache/1.3.26 <Win32> running..."
> > >
> > > Now, when I view my .shtml file, I just see all of my source code. What
> in
> > > the world happened. If it's easier, I could just use *.html files for my
> > > SSI, since I only have a few pages, and the server's running locally, I
> > > can't imagine it would bog down or anything.
> > >
> > > > otherwise, it's not an issue here. Is it working now? It should.
> > >
> > > Working now? I haven't made a single change since I started
> posting....why
> > > would it suddenly start working?
> > >
> > > Otherwise,
> > > > are you running virtual hosts?
> > >
> > > LoL, maybe? I don't really know. How can I tell?
> > >
> > > Thanks,
> > > Tres London
> > >
> > > PS: Really sorry that I'm not much help. I just honestly don't know much
> > > about Apache.
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > For additional commands, e-mail: users-help@httpd.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message