----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
On Sun, 17 Sep 2000, Neil Aggarwal wrote:
> I am seeing something strange with my apache 1.3.6 server.
> I have an old version of JServeSSI installed. I am wondering
> if this could be a conflict with JServSSI and the httpd ssi.
>
> I enabled server-side includes, but when I try to do the
> following tag:
> <!--#exec cgi="cgi-bin/test.pl" -->
>
> I get this exact line in my browser, not the results of the CGI
> script.
You tried to switch on both the Apache SSI and JSSI for the extension
.shtml. Only one of them is effectively switched on, and I guess it's
JSSI. JSSI doesn't implement the <!--#exec--> directive, that's why you
get the #exec line in your browser.
What could you do?
- Have a different extension for JSSI and Apache SSI pages.
(And don't use #exec if you use <SERVLET> tags.)
- Implement the #exec tag yourself in JSSI. (Shouldn't be too difficult,
and I could give you more advice on how to do that.)
Ciao
Peter
> You can try it by visiting the url:
> http://www.neilandseema.com/test.shtml
>
> You will see that the page source contains the tags that
> were supposed to be server parsed.
>
> If you visit this URL:
> http://neilandseema.com/cgi-bin/test.pl
>
> You will get the output from the CGI:
> CGI Test
> which is correct.
>
> If you would like to see my httpd.conf file, I have
> placed a copy of it here:
> http://neilandseema.com/httpd.conf.txt
>
> Any ideas?
>
> Thanks,
> Neil.
>
> --
> Neil Aggarwal, President & CEO
> JAMM Consulting, Inc. -- (972) 612-6056, http://www.JAMMConsulting.com
> Custom Programming in Java, C++, HTML, perl
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search Archives:
> <http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
>
--
URBAN Peter Mail: [EMAIL PROTECTED]
Federal Institute of Technology WWW: http://lsewww.epfl.ch/urban
EPFL-DSC-LSE, office INF 232 Phone: +41 (21) 693 4249
CH-1015 Lausanne, Switzerland Fax: +41 (21) 693 6770
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]