Skip to main content

HostMonster Web Hosting Help

How to fix ExecCGI in .htaccess

Summary

You will need to modify the .htaccess file to be able to run cgi scripts for that domain.


Modify the .htaccess file

Open the .htaccess file located in the public_html/addondomain/ directory in the File Manager, and enter this line:

Options ExecCGI

Click the 'Save' button at the bottom of the screen, and you are done!

Knowledgebase Article 120,421 views bookmark tags: cgi htaccess


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

I do not want to see addon.maindomain.com. How do I do that?
Knowledgebase Article 186,322 views tags: accessible addon directory domain folders hidden htaccess inaccessible primary secondary

Can I add my own CGI scripts?
Knowledgebase Article 215,995 views tags: cgi scripts

How do I stop people from being able to use the addon domain as a subdomain of the primary domain?
Knowledgebase Article 228,050 views tags: addon domain htaccess

Related Help Content

How do I FTP to my addon domains and subdomains without interfering with my main account.
Knowledgebase Article 285,275 views tags: addon domain ftp

What is the difference between parked domains and addon domains?
Knowledgebase Article 266,245 views tags: add addon domain park parked

How do I setup an addon domain or parked domain in my hosting account?
Knowledgebase Article 682,206 views tags: addon domains parked

Does your company have any limit about CGI script use?
Knowledgebase Article 169,133 views tags: cgi script

Explains how to edit the .htaccess
Knowledgebase Article 188,688 views tags: htaccess

What is the .htaccess file and where can I find more information?
Knowledgebase Article 1,915,870 views tags: htaccess tips tricks

What is CGI?
Knowledgebase Article 141,003 views tags: cgi

I need help with my CGI script?
Knowledgebase Article 147,674 views tags: cgi scripting

This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here