Re: Apache and Perl
>
> [Wed Oct 30 13:42:42 2002] [alert] apache: Could not
> determine the server's fully qualified doain name,
> using 192.168.1.1 for ServerName
> /usr/sbin/apachectl start: httpd started
you shold put your full domain name in /etc/hosts file
>
> why? should I config anything in httpd.conf? what then?
>
> --------- 2 -------
>
> In the Browser (Mozilla) I set the URL window to http://localhost/ and
> the "Apache-splash" is showing up!
> but then if I try to run http://localhost/cgi-bin/first.cgi
> I get this message:
> You don't have permission to access /cgi-bin/ on this server.
> Apache/1.3.26 Server at 192.168.1.1 Port 80
look in the /etc/apache/httpd.conf file for the
<Directory /usr/lib/cgi-bin/>
See if this IP is allowed to start cgi scripts
>
> Even here, the hostname isnt 127.0.0.1 ...?
>
>
> ---- 3 -----
>
> How can I make other users to run cgi-scripts?
> Any specific directory-location needed?
You need something like this
<Directory /usr/lib/cgi-bin/>
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
Also uncomment the following
AddHandler cgi-script .cgi .sh .pl
>
>
> Regards, and thanks in advanced!
> Erik
>
>
Reply to:
- References:
- Apache and Perl
- From: Erik Browaldh <eribro@Pool.Informatik.RWTH-Aachen.DE>