LexiConn Knowledgebase Knowledgebase Home | Favorites Knowledgebase Home | Favorites Search the Knowledgebase Browse by Category [Advanced Search] -- Select Category -- Access Logs / Web Stats - Urchin - WusageAccount Manager - How-To'sBillingCDNcgi-bin / Scripts - Questions / Common Problems - Scripts - WordpressDomains - Managing Domain Names - Registering Domain Names - Transferring Domain NamesDreamweaverE-Mail - Aliases and Autoresponders - Configuring Email Programs - Questions / Common Problems - Spam / Junk Mail Filtering - WebmailFrontpageFTP - Configuring FTP Programs - Questions / Common ProblemsGeneral / Misc.Magento - Magento 2Mailing List / Email Marketing - New Mailing List (URL: campaigns.serverhost.net) - Email Campaigns - Website Forms - Old Mailing List (URL: lists.serverhost.net) - Autoresponders - Email Campaigns - Website FormsMySQLParked / Pointed DomainsPassword Protected DirectoriesPHP / PerlServer Side Includes (SSI)ShopSite - Customer Loyalty Coupon Module - Declined Credit Card Module - Gift Certificate Module - In-Stock Notification Module - LexiConn Custom Shipping Module - Order Status Module - Product Review Module - Quickorder Module - ShopSite Search Autocomplete Module - Wholesale Module - Wishlist / Gift Registry ModuleSSH / Command LineSSL Secure ServerStreaming Audio / VideoWordPress Blog Knowledgebase Home > cgi-bin / Scripts > Questions / Common Problems When Trying to Run a CGI Script, the Output Page Displays the Code of The Script Instead of Running the Program Article Details Last Updated28th of April, 2008 Would you like to... Print this page Email this page Post a comment Subscribe me Remove from favorites Remove Highlighting Edit this Article Quick Edit Export to PDF User Opinions (74 votes) 94% 5% How would you rate this answer? Helpful Not helpful Help us improve. Why was this unhelpful? Thank you for rating this answer. If a CGI script is not in the "cgi-bin" directory and is does not end in .cgi, the webserver does not know it is a CGI script and will try and display it as an html file. All CGI scripts not in the cgi-bin directory must end in .cgi to run. Related Articles Overview of wwwstat Does LexiConn Support PHP 5? What About PHP 4? When using the wysiwyg editor, extra JavaScript gets auto inserted each time I save Customers are contacting me about a security warning on my page, but when I visit the page I cannot see it. Order Status Module Documentation Attachments No attachments were found. Continue Powered by Interspire Knowledge Manager Knowledgebase Software