Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7653955
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T12:09:25+00:00 2026-05-31T12:09:25+00:00

I have a cgi script that I know works (as far as the code

  • 0

I have a cgi script that I know works (as far as the code is concerned), but which cannot be accessed through my website. My hosting provider simply states that I need to edit the .htaccess file, but I have no idea what options/handlers I need to set in order to make the contents of a directory execute like c++.

How is this done?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T12:09:27+00:00Added an answer on May 31, 2026 at 12:09 pm

    You can’t on this service provider. A quick search of the Bluehost Kb gave this: https://my.bluehost.com/cgi/help/48

    Our LINUX web servers have the capability to run CGI scripts in your own “cgi-bin” directory. Scripts may be written in Perl, Python and CGI languages.

    Here are some helpful tips to follow when installing scripts:

    • Upload to your cgi-bin directory to ensure proper file permission settings.
    • All scripts on our server must have permissions set to 755 (rwx-rx-rx). If you need help in changing script permissions, please see our article about setting file and user permissions.
    • Upload in ASCII transfer mode (and NOT BINARY mode)
      The first line of each script must read: a) #!/usr/bin/perl (for Perl) b) #!/usr/bin/python (for Python)
    • Ensure the permissions are set to 755

    However, there is nothing stopping you just trying just putting your exe in the cgi-bin dir and seeing if it runs, but this probably won’t work.

    In this case, you’d need to relink any C++ against the local target server, and I doubt that Bluehost would facilitate this — just too much support hassle for the few $ / month that you pay.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Perl CGI script that isn't working and I don't know how
I have a CGI script that prints the following on stdout: print Status: 302
I have written a CGI script that creates an image dynamically using GET data.
I have a small cgi script that fetches and validates a configuration file for
I have a perl cgi script that's fairly resource intensive (takes about 2 seconds
I have a PHP script that runs as a CGI program and the HTTP
I have a cgi script which takes form input, I want to facilitate the
I have a CGI script that is getting an IOError: [Errno 13] Permission denied
My situation is that I have a POST cgi script that generates and returns
I have a web page that sends a request to a cgi script that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.