ah..this is an Apache HTTP Server question not Tomcat

but the common gateway interface file should be located in 
%APACHE_HOME%/bin/test.cgi unless mapped differently..

Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 




> Date: Sun, 1 Feb 2009 19:30:00 -0500
> Subject: Re: Apache Tomcat 6.0 loads blank page
> From: zia.si...@gmail.com
> To: users@tomcat.apache.org
> 
> Hi everyone ,
> 
> Dear andre: I have just included the index.html in the web.xml , but still
> doesn't work.
> 
> However I will continue using index.jsp until i find a solution. However I
> have a new problem. I have another file called hesearch.html which calls a
> .cgi file called test.cgi here is what it looks like:
> 
> ...........
> <form name="mainform" method="get" action="../bin/test.cgi">
> ............
> however when click on the button which sends action to test.cgi i get this
> error:
> 
> HTTP Status 404 - /bin/test.cgi
> ------------------------------
> 
> *type* Status report
> 
> *message* */bin/test.cgi*
> 
> *description* *The requested resource (/bin/test.cgi) is not available.*
> ------------------------------
> Apache Tomcat/6.0.18
> any idea what's going on? i have given all the permission it needs?
> 
> 
> Thank you again for all your helps.
> 
> Regards,
> 
> zia
> 
> 
> 
> On Sun, Feb 1, 2009 at 6:58 PM, zia mohades <zia.si...@gmail.com> wrote:
> 
> >
> >
> > On Sun, Feb 1, 2009 at 6:41 PM, André Warnier <a...@ice-sa.com> wrote:
> >
> >> zia mohades wrote:
> >> [...]
> >>
> >>>   but again, I can successfully access http://localhost:8080 and blank
> >>> for
> >>> http://localhost:8080/mms_test. so the log files are not very
> >>> informative.
> >>>
> >>> 2) I have downloaded LiveHttpHeaders plugin and followed your
> >>> instructions.
> >>> Believe it or not when I access http://localhost:8080/mms_test or
> >>> http://localhost:8080 or http://localhost:8080/mms_test , and when i
> >>> click
> >>> on "Live http headers" form tools , the headers are empty. However when I
> >>> access any other sites , like google , the headers has info in it( as it
> >>> is
> >>> expected)
> >>>
> >>>
> >  Here are answers :
> >
> >
> >>
> >> You are right, I don't believe it.
> >> I do not believe the combination above : that you can succesfully access
> >> http://localhost:8080, but do not see headers in LiveHttpHeaders when you
> >> do that.  Something in that combination is wrong.
> >>
> >> So, do exactly the following :
> >>
> >> 1) Tell me again :
> >> - what is your OS ?
> >>
> >      I am using Ubuntu
> >
> >> - what version of Tomcat is this ?
> >
> >       I am using   Apache Tomcat Version 6.0.18
> >
> >>
> >> - where did you get it from ?
> >>
> >        I used to the synaptic manager in ubuntu to install it
> >
> >>
> >> 2)
> >> - stop Tomcat
> >> - in a command window, enter : netstat -tan | grep LISTEN
> >
> >  tcp        0      0 127.0.0.1:3306          0.0.0.0:*
> > LISTEN
> > tcp        0      0 127.0.0.1:631           0.0.0.0:*
> > LISTEN
> >
> >>
> >>
> >> - start Tomcat
> >>
> >>
> > tcp        0      0 127.0.0.1:3306          0.0.0.0:*
> > LISTEN
> > tcp        0      0 127.0.0.1:631           0.0.0.0:*
> > LISTEN
> > tcp6       0      0 127.0.0.1:8005          :::*
> > LISTEN
> > tcp6       0      0 :::8080                 :::*
> > LISTEN
> >
> >>
> >>
> >> (Yes, the same 2 times. Once with Tomcat stopped, once with Tomcat
> >> started.)
> >>
> >> 3) Then, also copy here the portion of your tomcat conf/server.xml which
> >> looks like this :
> >>
> >> <Connector port="xxxx" maxHttpHeaderSize="8192"
> >>    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
> >>    enableLookups="false" redirectPort="8443" acceptCount="100"
> >>    connectionTimeout="20000" disableUploadTimeout="true" />
> >>
> >
> >
> > These are all my <connector port :
> >  <Connector port="8080" protocol="HTTP/1.1"
> >                connectionTimeout="20000"
> >                redirectPort="8443" />
> >     <!-- A "Connector" using the shared thread pool-->
> >
> >     <Connector executor="tomcatThreadPool"
> >                port="8080" protocol="HTTP/1.1"
> >                connectionTimeout="20000"
> >                redirectPort="8443" />
> >
> >     <!-- Define a SSL HTTP/1.1 Connector on port 8443
> >          This connector uses the JSSE configuration, when using APR, the
> >          connector should be using the OpenSSL style configuration
> >          described in the APR documentation -->
> >
> >     <Connector port="8080" protocol="HTTP/1.1" SSLEnabled="true"
> >                maxThreads="150" scheme="https" secure="true"
> >                clientAuth="false" sslProtocol="TLS" />
> >
> >
> >
> >
> >>
> >> 4)
> >> - close Firefox
> >> - re-open Firefox
> >> - click on Tools..LiveHttpHeader.  *Leave that window open*, and make sure
> >> that the checkbox "capture headers" is checked.
> >> - go back to the main browser window
> >> - enter http://localhost:8080
> >> - go back to the LiveHttpHeaders window
> >> - what is in it ? (you can cut and paste it here)
> >
> >
> >     Absolutely nothing: :( blank
> >
> >>
> >>
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> >> For additional commands, e-mail: users-h...@tomcat.apache.org
> >>
> >>
> >

_________________________________________________________________
Windows Live™: E-mail. Chat. Share. Get more ways to connect. 
http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_allup_howitworks_012009

Reply via email to