Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-15-2014, 11:30 PM   #16
Registered: Jul 2009
Posts: 225

Original Poster
Rep: Reputation: 2

I cant run test:
[root@localhost www]# ls
cgi-bin  html  test
[root@localhost www]# cat test
[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
-rwxr-xr-x. root root unconfined_u:object_r:httpd_sys_script_exec_t:s0
[root@localhost cgi-bin]#
I am getting following error:
Not Found

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

Old 10-21-2014, 11:29 AM   #17
Senior Member
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,254

Rep: Reputation: 314Reputation: 314Reputation: 314Reputation: 314
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.


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 02:06 AM
[SOLVED] Problem with executing first cgi program zak100 Linux - Newbie 5 10-03-2013 04:11 AM
[SOLVED] perl soap::lite and wsdl error Boring Programming 11 11-17-2010 02:29 AM
[SOLVED] problem regarding executing c program in ubuntu gerry_bertier Linux - Newbie 6 10-15-2010 07:44 AM
@INC perl SOAP ::Lite Peter Shepard Red Hat 1 09-27-2005 04:14 PM > Forums > Linux Forums > Linux - Newbie

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

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