Problem with executing first cgi program
Hi,
I am trying to execute the following cgi program but i am getting error: Quote:
Code:
Code:
[root@HP-UX646UU cgi-bin]# ./hello.pl Quote:
Quote:
Zulfi. |
Quote:
|
Hi,
Thanks for your help. I gave this command but still i am getting error: Quote:
Quote:
Quote:
Kindly solve this problem. Zulfi. |
Very likely the denial is caused by a mislabeling of the script.
Even though you didn't bother to include the reported error, very likely the script does not have the security label httpd_sys_script_exec_t (use "ls -Z filename" to see what the label is). |
Hi,
Thanks for reply. I got following output of ls: Quote:
Plz guide me why cgi script is not working. Zulfi. |
Hi,
Thanks. I am able to execute. I checked the selinux trouble shooter and it says to execute a command which i executed and my cgi script is running. Code:
[root@HP-UX646UU cgi-bin]# setsebool -P httpd_enable_cgi=1 Zulfi. |
All times are GMT -5. The time now is 12:12 PM. |