tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rseque...@transentric.com
Subject Re: Tomcat, Apache and SSI
Date Mon, 08 Apr 2002 22:19:18 GMT

With XBitHack you need to make the .shtml files executable. AddType and
AddHandler is an alternative to using XBitHack. Do you have to includes
module - mod_include, mod_mime, mod_cgi - enabled for Apache. Also you may
need add the following to the directories that contain the .shtml files.
Options +Includes

RS





Catalin Mihailescu <catalin@tmdesign.ca> on 04/08/2002 04:45:36 PM

Please respond to "Tomcat Users List" <tomcat-user@jakarta.apache.org>

To:   Tomcat Users List <tomcat-user@jakarta.apache.org>,
      rsequeira@transentric.com
cc:

Subject:  Re: Tomcat, Apache and SSI

index.shtml was added in the DirectoryIndex section and I have instructed
Apache to parse .shtml files:

-------
AddType text/html .shtml
AddHandler server-parsed .shtml
-------

I used the XBitHack directive, but with no success unnfortunately.
So I have the same situation --> Apache Tomcat/4.0.2 responding and not
Apache.

Any ideas?
Thank you,

Catalin

rsequeira@transentric.com wrote:

> You need to add index.shtml in the DirectoryIndex section of your
> httpd.conf. Also you may need to enable Apache to parse .shtml files (if
> you haven't done that already). Look at XBitHack directive in your
> httpd.conf.
>
> RS
>
> Catalin Mihailescu <catalin@tmdesign.ca> on 04/08/2002 03:32:50 PM
>
> Please respond to "Tomcat Users List" <tomcat-user@jakarta.apache.org>
>
> To:   tomcat-user@jakarta.apache.org
> cc:
>
> Subject:  Tomcat, Apache and SSI
>
> Hello,
>
> I'm using a RedHat 7.0 box, Apache/1.3.22, Tomcat 4.0.2 and two virtual
> sites. One of the sites use SSI and is working just fine if I don't
> start Tomcat. The problem is that when I start Tomcat, then Apache, the
> site that use *.shltm shows me the contents of his htdocs instead of
> reading the index.shtml. When I click on index.shtml I get a 404 file
> not found error.
>
> I would like to let Apache to serve the *.shtml pages and not to use the
> servlet-ssi.jar of Tomcat to do that.
>
> Can anyone help please?
>
> Thank you in advance,
> Catalin
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>





--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>









--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message