perl and cgi

Discussion in 'Perl Misc' started by Ela, Mar 27, 2008.

  1. Ela

    Ela Guest

    Dear all,



    Would you mind telling me how to fix this problem?



    "You don't have permission to access abc.cgi on this server."



    I've changed httpd.conf to include the doNav.cgi in the non cgi-bin
    directory,



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

    ScriptAlias /cgi-bin/ "/var/www/html/ice-front/test/"



    and



    added Addtype



    AddType application/x-httpd-cgi .cgi



    restart the httpd service



    Google search returns results which may be of no information.



    And my link is :



    http://137.189.50.236/test



    Best Regards,

    Ela
    Ela, Mar 27, 2008
    #1
    1. Advertising

  2. Ela

    Ben Bullock Guest

    On Mar 27, 11:08 am, "Ela" <> wrote:

    > Google search returns results which may be of no information.


    Well, don't be so sure:

    http://tinyurl.com/2v9epe

    Anyway your question is about Apache configuration, not Perl.
    Ben Bullock, Mar 27, 2008
    #2
    1. Advertising

  3. Ela

    John Bokma Guest

    "Ela" <> wrote:

    > Dear all,
    >
    >
    >
    > Would you mind telling me how to fix this problem?
    >
    >
    >
    > "You don't have permission to access abc.cgi on this server."



    did you chmod 755 abc.cgi ?

    --
    John

    http://johnbokma.com/perl/
    John Bokma, Mar 27, 2008
    #3
  4. Ela

    Ela Guest

    Dear Ben,

    Thanks a lot for your help. Indeed why I was asking that is because without
    using other installed modules or my own modules, the CGI script works well
    otherwise.

    The first row of use includes:

    use Bio::Graphics; use Bio::Graphics::Feature; use Bio::SeqFeature::Generic;
    use Bio::SeqIO; use GeneticCode;

    I once wonder it's the problem of httpd but it should be not. I have already
    included use CGI qw:)standard);

    Thanks once again~~
    Ela, Mar 27, 2008
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jürgen Exner

    Re: CGI Perl "use CGI" statement fail

    Jürgen Exner, Jul 31, 2003, in forum: Perl
    Replies:
    0
    Views:
    1,254
    Jürgen Exner
    Jul 31, 2003
  2. praba kar

    Python-cgi or Perl-cgi script doubt

    praba kar, Jul 30, 2005, in forum: Python
    Replies:
    1
    Views:
    534
    Michael Sparks
    Jul 30, 2005
  3. excord80
    Replies:
    17
    Views:
    632
    J Kenneth King
    Jan 29, 2009
  4. shumsta
    Replies:
    1
    Views:
    254
    Fabian Pilkowski
    Jul 22, 2005
  5. kath
    Replies:
    4
    Views:
    567
    J. Gleixner
    Apr 9, 2007
Loading...

Share This Page