LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-16-2014, 12:30 AM   #16
zak100
Member
 
Registered: Jul 2009
Posts: 225

Original Poster
Rep: Reputation: 2

Hi,
I cant run test:
Code:
[root@localhost www]# ls
cgi-bin  html  test
[root@localhost www]# cat test
qqqqqqqqqqqqqqqqqq
qqqqqqqqqqqqqqq
wwwwwwwwwwwwww
wwwwwwwwwwww
wwwwwwwwwwwwww
wwwwwwwwwwwww
[root@localhost www]# ls -l test
-rw-r--r--. 1 root root 92 Oct  3 02:38 test
[root@localhost www]# chmod 755 test
[root@localhost www]# ls -l
total 16
drwxrwxr-x+ 2 root root 4096 Oct 15 06:12 cgi-bin
drwxr-xr-x. 2 root root 4096 Jul 23 06:31 html
-rwxr-xr-x. 1 root root   92 Oct  3 02:38 test
[root@localhost www]# ls -Z
drwxrwxr-x+ root root system_u:object_r:httpd_sys_script_exec_t:s0 cgi-bin
drwxr-xr-x. root root system_u:object_r:httpd_sys_content_t:s0 html
-rwxr-xr-x. root root unconfined_u:object_r:httpd_sys_content_t:s0 test
[root@localhost www]# restorecon -R public_html
restorecon:  lstat(public_html) failed:  No such file or directory
[root@localhost www]# ls
cgi-bin  html  test
[root@localhost www]# cd cgi-bin
[root@localhost cgi-bin]# ls -Z
-rwxr-xr-x. root root unconfined_u:object_r:httpd_sys_script_exec_t:s0 first.pl
-rwxr-xr-x. root root unconfined_u:object_r:httpd_sys_script_exec_t:s0 hello.pl
[root@localhost cgi-bin]#
I am getting following error:
Code:
Not Found

The requested URL /test was not found on this server.
However, i can run my cgi-script first.pl. Please guide how to run soap::lit program stored in my cgi-bin directory.

Zulfi.
 
Old 10-21-2014, 12:29 PM   #17
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,252

Rep: Reputation: 313Reputation: 313Reputation: 313Reputation: 313
I think you should start another thread with title something like: "How to setup cgi-bin in Apache with SELinux" as this is no longer problem with SOAP program.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SOAP-Lite installation for Fedora 20 zak100 Linux - Newbie 1 09-15-2014 03:06 AM
[SOLVED] Problem with executing first cgi program zak100 Linux - Newbie 5 10-03-2013 05:11 AM
[SOLVED] perl soap::lite and wsdl error Boring Programming 11 11-17-2010 03:29 AM
[SOLVED] problem regarding executing c program in ubuntu gerry_bertier Linux - Newbie 6 10-15-2010 08:44 AM
@INC perl SOAP ::Lite Peter Shepard Red Hat 1 09-27-2005 05:14 PM


All times are GMT -5. The time now is 10:55 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration