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.