Mark,

I also tried to run it from http://localhost/cgi-bin/cognos.cgi
but for some reason IE doesn't find cognos.cgi in that directory, even
WEB-INF/cgi value is specified for cgiPathPrefix:
        <init-param> 
          <param-name>cgiPathPrefix</param-name> 
          <param-value>WEB-INF/cgi</param-value> 
        </init-param> 

Thank you


markt-2 wrote:
> 
> nicoli wrote:
>> Hi Mark,
>> 
>> Thank you for quick response.
>> I'm using URL as http://localhost/cognos.cgi
>> cognos.cgi is located in Tmcat's ROOT directory.
>> What IE is doing - just asking to choose program to open cognos.cgi
>> The same issue happens when it’s trying to open cognos.cgi file from a
>> virtual directory that I configured in server.xml
> 
> Go back and re-read http://tomcat.apache.org/tomcat-5.5-doc/cgi-howto.html
> 
> cognos.cgi needs to be located at
> /WEB-INF/cgi/cognos.cgi
> The URL to request it is
> http://localhost/cgi-bin/cognos.cgi
> 
> All of that is configurable as per the docs (link above) and the
> comments in the global web.xml
> 
> Mark
> 
>> 
>> Thank you in advance
>> 
>> 
>> 
>> markt-2 wrote:
>>> nicoli wrote:
>>>
>>>> But when I'm trying to execute cgi module from IE, it doesn't recognize
>>>> it
>>>> as executable.
>>>> Please help.
>>>> What is wrong?
>>> A few questions:
>>> - What URL are you requesting ?
>>> - Where is the cgi script located in the web app?
>>>
>>> Mark
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>>
>>>
>>>
>> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/CGI-on-Tomcat-5.5.28-tp26683636p26686198.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to