MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am having a lot of problems running perl scripts on my server.
my installation is:
All my software came installed by default from the mandrake cds. All i did was check the box for webserver.
Everything is working fine on my server. I got 3 websites with their own domain names on the same server through VirtualHosts. I have php, mysql, and a whole bunch of useful things working. I got no complains there, mandrake linux is awsome.
My problem is that I cant get perl scripts working.
I made a "cgi-bin" folder in one of my site's root dir. I put my "FormMail.pl" script in there. When I try to use it, i get asked if i want to download "formmail.pl"
So I tried renaming the script to "FormMail.cgi", and i get this:
The requested URL /cgi-bin/formmail.cgi was not found on this server."
I try creating a folder called "perl" and put my script there, rename it to "FormMail.pl", and......same problem.
One strange thing tho:
There is a "cgi-bin" folder in "/var/www/"
In that folder i found "test.cgi"
So i got that file and moved it to the cgibin folder of my site:
I then went to "mysite1.com/cgi-bin/test.cgi" and....That script worked.
There was also another folder "/var/www/perl/". In that folder i found "test.pl".
I moved that script to "/var/www/html/mysite1/perl/" then i go to "mysite1.com/perl/test.pl" and it asks me if i want to download "test.pl" :wall:
Btw, i did set the chmod on my script to 755, i even tried 777, but still no good results.
So I am really stuck here. I got most of my help to get my server started from google, But google is not being so helpful on this problem. I did get help here with virtualhosts, so I am hoping someone can help me out again with this new problem.