LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   shell file with tomcat (https://www.linuxquestions.org/questions/linux-general-1/shell-file-with-tomcat-4313/)

Mikoreli 07-15-2001 02:50 PM

shell file with tomcat
 
HI,

I'm trying tomcat and I can see html files from a remote client but when I'm trying to execute a shell file I see its text instead of running it. I already tried chmod +x filename but it didn't help me

Hope you know the answer

Thanks for your time

Miko

unSpawn 07-15-2001 08:37 PM

u shouldnt be able to execute a shell file from a remote client. it would be a security risk. if the functionality aint available as .cgi consider logging in with say ssh and executing it.

the server is returning magic/mime/mapped extensions, shell is ascii so it returns text I think.

gizmola 07-16-2001 01:59 PM

Quote:

Originally posted by unSpawn
u shouldnt be able to execute a shell file from a remote client. it would be a security risk. if the functionality aint available as .cgi consider logging in with say ssh and executing it.

the server is returning magic/mime/mapped extensions, shell is ascii so it returns text I think.

Yes, tomcat is a jsp server. If you want to call cgi's you probably want to run apache, and configure it to work with tomcat. Then let apache handle the cgi's.

unSpawn 07-16-2001 02:13 PM

sure goes to show I never had anything to do with Java :-]


All times are GMT -5. The time now is 07:34 PM.