hi , i faced a problem regarding cgi execution in my server . one of my customers wanted to use cgi in his host , but server returns
, i have checked everything i knew , even reinstalled apache with cgi again with fresh httpd configuration , but still the same problem exists.Code:Not Found The requested URL /cgi-bin/mt/mt.cgi was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
even i have changed php/suexec configuration , and set php to run in DSO , fcgi , cgi modes but it gives the same error. my apache 2.2 is running in SUphp mode and suexec is active too. i have pre user configuration file in following location
/usr/local/apache/conf/userdata/std/2/{userhostname}/Username.conf
i have seen in httpd.conf the following line :
which i removed it and now i have :Code:<Directory "/home"> Options -ExecCGI FollowSymLinks Includes IncludesNOEXEC Indexes -MultiViews SymLinksIfOwnerMatch AllowOverride AuthConfig Indexes Limit Fileinfo RemoveHandler cgi-script .pl .py .cgi </Directory>
but no changes in the result . still every file i place in cgi-bin folder of the users do no run.Code:<Directory "/"> Options ExecCGI FollowSymLinks Includes IncludesNOEXEC Indexes -MultiViews SymLinksIfOwnerMatch AllowOverride AuthConfig Indexes Limit Fileinfo </Directory>
what else should can i do ?
i should mention that , for that user , cgi execution is activated from whm > edit packages .
also cgi execution is active from whm Main >> Service Configuration >> Apache Configuration >> Global Configuration ExecCGI
also i think that cpanel cgi files are running with out any problems and every thing is working fine in cpanel.
any helps would be appreciated.


LinkBack URL
About LinkBacks
Reply With Quote
