Results 1 to 4 of 4
  1. #1

    User's cgi-bin directory

    Hi folks.

    I am not a host, just trying to set up a pseudo-host on my bsd box. I have set up apache 1.3, php4, and mod_perl and everything seems to be working together. I just want the users to have their own cgi-bin and I searched around the net only found stuff on setting up mod_perl. My guess is I would have to add something to httpd.conf. I can run scripts on apache/cgi-bin but that's not what i really want.

  2. #2
    Join Date
    Apr 2001
    Depok, Indonesia
    I'm not sure I understand your question. But it is very easy to enable CGI scripts for all your users.

    AddHandler cgi-script .cgi
    <Directory />
    Options +ExecCGI

  3. #3
    It's all in the httpd.conf you have to configure the ScriptAlias directory to make all documents in your users' cgi-bin folder are treated as application ran by your server. Smt likes:
    ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"
    Cheap Web Hosting - Multiple Domain Hosting - Reseller Hosting - Virtual Private Server

  4. #4
    Okay, I got it now.

    Thanks guys.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts