LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-15-2001, 02:50 PM   #1
Mikoreli
LQ Newbie
 
Registered: Jul 2001
Posts: 1

Rep: Reputation: 0
Question 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
 
Old 07-15-2001, 08:37 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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.
 
Old 07-16-2001, 01:59 PM   #3
gizmola
Member
 
Registered: Jun 2001
Location: Los Angeles, CA USA
Distribution: RedHat
Posts: 53

Rep: Reputation: 15
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.
 
Old 07-16-2001, 02:13 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tomcat 5.5.7 War file deployment failure r_debussy Linux - Software 4 06-02-2005 02:45 AM
[c shell] file empty? saiz66 Programming 1 09-28-2004 10:57 PM
TOMCAT init script not working on startup -- tomcat 4.x / Mandrake Linux 8.0 jmartinph Mandriva 0 03-08-2004 01:31 AM
Using Tomcat to run a .jar file davee Linux - Software 1 08-15-2003 05:47 AM
file help in C shell Mike_the_Man Programming 2 01-23-2001 10:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration