Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2002
    Posts
    51

    problem with cgi-bin conf

    Hi,

    I am trying to access to my cgi-bin directroy and gving me an error.

    This is what I have configured in my /etc/httpd/conf/httpd.conf

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

    <Directory "/var/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>


    This is the error message

    You dont have permission to access /cgi-bin/ on this server


    Thanks in advance

    shann

  2. #2
    Join Date
    Sep 2001
    Location
    Vladivostok
    Posts
    61
    Hi

    in your example you have

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

    but <Directory "/var/cgi-bin">. Must be /var/www/cgi-bin


    Regards
    Eugene, developer, owner
    SmartParser.com - Smart PHP Database/Template engine
    NextSite.biz - PHP Hosting with Support

  3. #3
    Join Date
    Jun 2002
    Posts
    51

    is it right

    I was typed on boweser

    localhost/cgi-bin/ and having same problem.

    Also I restarted after the changes.

    shan

Posting Permissions

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