Click here to get back home

perl and cgi

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
perl and cgi Ela 03-26-2008
`--> Re: perl and cgi Vakayil Thobias03-27-2008
Posted by Ela on March 26, 2008, 10:08 pm
Please log in for more thread options
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



Posted by Ben Bullock on March 26, 2008, 10:16 pm
Please log in for more thread options

> 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.


Posted by Ela on March 26, 2008, 10:36 pm
Please log in for more thread options
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~~



Posted by John Bokma on March 26, 2008, 10:25 pm
Please log in for more thread options

> 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/

Posted by Vakayil Thobias on March 27, 2008, 4:23 am
Please log in for more thread options

> 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
>
>
Hello,

Please include the following statement in the httpd.conf file :

<Directory "..../.../.. " > # cgi script directory has to mention here
Options +ExecCGI
AddHandler cgi-script .cgi .pl
</Directory>

Regards,
Thobias



Similar ThreadsPosted
PERL to mean what 'perldoc perl' says is wrong? (was: Re: perl should be improved and perl6) April 14, 2008, 11:37 pm
FAQ 3.0: What is perl.com? Perl Mongers? pm.org? perl.org? cpan.org? October 31, 2004, 12:03 pm
FAQ 3.0 What is perl.com? Perl Mongers? pm.org? perl.org? cpan.org? February 2, 2005, 12:03 pm
FAQ 2.18 What is perl.com? Perl Mongers? pm.org? perl.org? cpan.org? March 28, 2005, 12:03 am
FAQ 2.18 What is perl.com? Perl Mongers? pm.org? perl.org? cpan.org? June 12, 2005, 11:03 am
FAQ 2.18 What is perl.com? Perl Mongers? pm.org? perl.org? cpan.org? August 29, 2005, 10:03 pm
FAQ 2.18 What is perl.com? Perl Mongers? pm.org? perl.org? cpan.org? October 28, 2005, 10:03 pm
FAQ 2.18 What is perl.com? Perl Mongers? pm.org? perl.org? cpan.org? December 25, 2005, 5:03 am
FAQ 2.17 What is perl.com? Perl Mongers? pm.org? perl.org? cpan.org? January 8, 2006, 11:03 pm
FAQ 2.18 What is perl.com? Perl Mongers? pm.org? perl.org? cpan.org? January 16, 2006, 11:03 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap