[OPEN-ILS-DEV] permission issue on cgi files

M Z michael.hx.z at gmail.com
Sun Aug 5 12:27:37 EDT 2007


Thanks Dan. It works.
Michael

On 8/5/07, Dan Scott <denials at gmail.com> wrote:
>
> Hi M Z:
>
> Check Evergreen's Apache configuration files -- eg.conf and
> eg_vhost.conf. If you're running Ubuntu, these will be located in
> /etc/apache2/sites-available/ ; if running Gentoo,
> /etc/apache2/vhosts.d/.
>
> In eg.conf, the relevant section is:
>
> #
> ----------------------------------------------------------------------------------
> # System config CGI scripts go here
> #
> ----------------------------------------------------------------------------------
> Alias /cgi-bin/ "/openils/var/cgi-bin/"
> <Directory "/openils/var/cgi-bin">
>         AddHandler cgi-script .cgi .pl
>         AllowOverride None
>         Options None
>         Order deny,allow
>         Deny from all
>         Allow from 10.0.0.0/8
>         Options FollowSymLinks ExecCGI Indexes
> </Directory>
>
> Modify the "Allow from ..." line to hold the IP address of the system
> where you're running your Web browser and trying to access the CGI
> scripts -- or modify it to match an entire range of IP addresses, if
> you prefer, like "Allow from 142." -- or modify it to "Allow from all"
> if you're completely throwing caution to the wind. :)
>
> Once you've made that change, restart Apache and you should be able to
> access the CGI scripts.
>
> Dan
>
> On 05/08/07, M Z <michael.hx.z at gmail.com> wrote:
> > Hi
> >
> > It is no problem when I browser http://eg-server. But when  I try to
> access
> > cgi files, I got error:
> >
> > ===============
> > Forbidden
> >
> > You don't have permission to access /cgi-bin/config.cgi on this server.
> >
> > ===============(Same with other cgi files)
> >
> > Just  guess something related to perl. But do not know how to fix it.
> Any
> > help?
> >
> > Michael
> >
> >
> >
> >
> >
> >
> >
>
>
> --
> Dan Scott
> Laurentian University
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.georgialibraries.org/pipermail/open-ils-dev/attachments/20070805/aa2aa06c/attachment.html


More information about the Open-ils-dev mailing list