简体   繁体   中英

AWS beanstalk cgi-bin permissions

I am having an issue with aws's beanstalk and running my webapp.

I have set everything up the same way as my last hosting account but I am getting a permissions error in the cgi-bin in var/www/cgi-bin/server.pl when trying to run the script.

There must be something somewhere that i need to change to run this.

I have set the permissions to 755 to cgi-bin and sever.pl

and in the httpd.conf i added

Options +ExecCGI AddHandler cgi-script cgi pl

so it looks like this

<Directory "/var/www/cgi-bin">
AllowOverride None
Options +ExecCGI
AddHandler cgi-script cgi pl
Order allow,deny
Allow from all

i have the close Directory at the end it just isnt showing up here

is there anything else you can see I am missing?

Thanks in advance

我必须添加此行才能使脚本在Apache中工作:

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM