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 6895261
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:53:10+00:00 2026-05-27T06:53:10+00:00

I installed apache2 on ubuntu. I added the following to /etc/apache2/httpd.conf file ScriptAlias /cgi-bin/

  • 0

I installed apache2 on ubuntu. I added the following to /etc/apache2/httpd.conf file

ScriptAlias /cgi-bin/ "/home/PROJECT/cgi-bin/"

I am able to open the cgi file if i copy the cgi file to /usr/lib/cgi-bin/hello.cgi[DocumentRoot directory] and access the URL http://localhost/cgi-bin/hello.cgi, but i get cannot access the file if i put it in /home/PROJECT/cgi-bin/hello.cgi even though ScriptAlias is set and apache2 restarted.

Any thing that i am missing here ?

  • 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-27T06:53:10+00:00Added an answer on May 27, 2026 at 6:53 am

    I had the same problem. The reason was in httpd.conf, I had to remove global

    ScriptAlias /cgi-bin/ /var/www/cgi-bin/
    

    otherwise everything starting /cgi-bin/ fell into /var/www/cgi-bin/.

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

Sidebar

Related Questions

I just installed passenger (apache2) on my ubuntu server to deploy my rails 3.1
My css file is not loading. I have just installed apache2 with php on
I've been testing usage of apache authentication, following this example . I'm using Ubuntu/Apache2.
I've installed Subversion on Ubuntu following the guide Installation of Subversion on Ubuntu, with
I have a file test.py at /var/www and I am using apache2 on ubuntu
I am running Apache2 on Ubuntu 9 with python 2.6.2 installed. I get the
I have django+python+apache2+mod_python installed hosted and working on ubuntu server/ linode VPS. php5 is
I have purchased an ssl certificate and installed it on my ubuntu apache2 server
I'm a novice, I installed php5 and apache2 on ubuntu, I wrote this basic
I have installed rails 3.1 with apache2 and passenger on ubuntu 10.04 . using

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.