Apache and Perl/Mod_perl are installed. The perl scripts work it i run
"perl zipcodes.cgi".
Basically i am going through Graid Hunts Apache Server 1st Edition by
Charles Aulds. The scripts work fine, they arent the issue. Basically you
type in a zip code into the text box and then it runs a perl script
(zipcode.html runs zipcodes.cgi after inputing a zipcode into a text box and
clicking submit), which then access the MySQL server on the localhost.
The user/group apache owns all files in /home/httpd (this is not internet
accessible since i have another box running my outside sites) and the
permissions are set to 777. The problem that i am having is that when i
click submit it comes up to a screen stating "You do not have permission to
access /zipcodes.cgi on this server."
# tree /home/httpd/
/home/httpd/
|-- cgi-bin
| `-- zipcodes.cgi
|-- html
| `-- www
| `-- zipcode.html
`-- perl
`-- cgi.pm
My httpd.conf and commonhttpd.conf are attached for info on how i have
apache setup.
]# rpm -qa|grep apache|sort
apache-1.3.26-6.1mdk
apache-common-1.3.26-6.1mdk
apache-conf-1.3.26-3mdk
apache-mod_perl-1.3.26_1.27-7mdk
apache-modules-1.3.26-6.1mdk
# rpm -qa|grep perl|sort
apache-mod_perl-1.3.26_1.27-7mdk
libpgperl-7.2.2-1.2mdk
mod_perl-common-1.3.26_1.27-7mdk
perl-5.8.0-13mdk
perl-Authen-PAM-0.13-3mdk
perl-base-5.8.0-13mdk
perl-CGI-2.810-3mdk
perl-Crypt-SSLeay-0.45-1mdk
perl-Data-ShowTable-3.3-7mdk
perl-DateManip-5.40-4mdk
perl-DB_File-1.804-3mdk
perl-DBI-1.30-2mdk
perl-devel-5.8.0-13mdk
perl-Expect-1.15-2mdk
perlftlib-1.2-16mdk
perl-GTK-0.7008-24mdk
perl-GTK-GdkImlib-0.7008-24mdk
perl-GTK-GdkPixbuf-0.7008-24mdk
perl-GTK-Glade-0.7008-24mdk
perl-GTK-GLArea-0.7008-24mdk
perl-GTK-Gnome-0.7008-24mdk
perl-HTML-Parser-3.26-3mdk
perl-HTML-SimpleParse-0.10-7mdk
perl-HTML-Tagset-3.03-5mdk
perl-IO-stringy-2.108-4mdk
perl-IO-Stty-02-2mdk
perl-IO-Tty-1.02-3mdk
perl-libwww-perl-5.65-4mdk
perl-Locale-gettext-1.01-6mdk
perl-MailTools-1.47-1mdk
perl-MDK-Common-1.0.3-16mdk
perl-MIME-tools-5.411-4mdk
perl-MP3-Info-1.01-2mdk
perl-Msgcat-1.03-12mdk
perl-Mysql-1.22_19-5mdk
perl-Net_SSLeay-1.18-3mdk
perl-Parse-RecDescent-1.80-6mdk
perl-PDL-2.3.3-4mdk
perl-Term-Readline-Gnu-1.12-6mdk
perl-Tk-800.023-9mdk
perl-URI-1.20-1mdk
perl-URPM-0.70-10mdk
perl-XML-Parser-2.31-5mdk
perl-XML-Twig-3.05-4mdk
TIA
Rob
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com