php cgi htaccess

Posted by msaif on Stack Overflow See other posts from Stack Overflow or by msaif
Published on 2010-05-29T03:19:47Z Indexed on 2010/05/29 3:22 UTC
Read the original article Hit count: 309

Filed under:
|
|

i try to execute cgi but failed. i include following lines in .htaccess

AddHandler cgi-script .cgi Options +ExecCGI

abc.com/ is equivalent to the /home directory

abc.com/compare is equivalent to the /home/compare directory

abc.com/compare/contact is equivalent to the /home/compare/contact directory

.htaccess file located in contact directory

but server returns the following message.

Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log.

what is the problem

one more thing is can i see phpinfo() that cgi is enable or not??

© Stack Overflow or respective owner

Related posts about php

Related posts about cgi