Brandon Long grabbed a keyboard and wrote:
>
> Check your permissions on the wcal directory. You will want to chmod the 
> directory 755 and the perl script 755.

That stuff is pretty basic, and I had already checked it before posting my 
message. :-)  But thanks for the suggestion anyway.

Just for anyone who's curious, I did finally figure out how to get Apache 
to execute it from there.  At the end of my httpd.conf, I added:

Include conf/wcal.conf

Then, I created a wcal.conf file in the /etc/httpd/conf directory, and in 
it, put:

<Directory /var/www/cgi-bin/wcal>
    AllowOverride All
    Options -Indexes FollowSymLinks MultiViews ExecCGI
    Order allow,deny
    Allow from all
</Directory>

I suspect that the only Option which may matter is the ExecCGI one, but 
earlier in my commonhttpd.conf file, I saw those exact same options being 
mentioned in a directory that they were specifying for perl stuff 
(/var/www/perl).  BTW, does anyone know if mod_perl only comes into play if 
your perl scrips are located there, or does mod_perl come into play no 
matter where the perl script is being executed from?

                    --Dave

> On Saturday 20 April 2002 16:56, you wrote:
> > I've got a web calendar application that I'm trying to install on my
> > server, but I'm having a bit of a snag.  I want to stall the various perl
> > scripts in /var/www/cgi-bin/wcal, so that I can then access it with
> > http://localhost/cgi-bin/wcal/wcal.pl.  Problem is, when I try to do that,
> > I get a "you don't have permission to access /cgi-bin/wcal/wcal.pl on this
> > server."  Just goofing around, I tried copying wcal.pl directly into the
> > cgi-bin directory itself, and a http://localhost/cgi-bin/wcal.pl attempt
> > actually got a sign-in display page (it wasn't displayed correctly, since
> > it was pointing to the wrong places at that point).  So Apache definitely
> > seems to know what to do with .pl scripts, but it doesn't want me to run
> > them from a subdirectory under cgi-bin.  I'm sure this is probably just a
> > configuration item in httpd.conf or commonhttpd.conf, but I'm not sure what
> > needs to be set (or in which file).  Anyone have any ideas?
> >
> >                  --Dave
> 
> -- 
> Brandon Long
> 
> 

-- 
      David Guntner      GEnie: Just say NO!
 http://www.akaMail.com/pgpkey/davidg or key server
                 for PGP Public key


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to