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 <[EMAIL PROTECTED]> on 04/08/2002 04:45:36 PM

Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>

To:   Tomcat Users List <[EMAIL PROTECTED]>,
      [EMAIL PROTECTED]
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

[EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> on 04/08/2002 03:32:50 PM
>
> Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>
>
> To:   [EMAIL PROTECTED]
> 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:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>





--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>









--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to