|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
I had no problems executing .sh and cgi scripts yesterday. Today I rebooted the server and Apache will not execute these files. Everything looks good in httpd.conf. There have been no changes since the last time I checked.
|
|
#2
|
|||
|
|||
|
>> Today I rebooted the server and Apache will not execute these files
Why you repeated your subject again? What we'd want to know is how can you tell? |
|
#3
|
|||
|
|||
|
Fair enough, I have several scripts, both in cgi-bin directory and elsewhere that executed no problem a couple of days ago. Now they won't execute. I'm guessing the problem is in httpd.conf but I have been over it with a fine toothed comb and could not find any errors. It seem to not be loading the correct modules. Both mod.cgi.so and mod.perl.so are added.
|
|
#4
|
|||
|
|||
|
I said how can you tell because I was referring to:
1) Does it prompt you to download your script? 2) Does it print out the codes on screen? 3) Any error message? Is your cgi-bin a ScriptAlias dir? Do you have options ExecCGI in that <Directory> block? By default, you can't exec your cgi scripts anywhere unless you have enabled ExecCGI in your docroot dir. >> It seem to not be loading the correct modules There is no such thing as mod.cgi.so, it should be mod_cgi.so or libperl.so for mod_perl. You said you have mod_perl installed, so please show us the <IfModule mod_perl.c> block. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > won't execute .sh/.cgi |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|