httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ken Shail" <>
Subject Re: [users@httpd] cgi & perl
Date Sat, 31 May 2003 08:50:50 GMT
Thanks for that.
Does it have to be so strict? It would be good to keep the whole project together html &
perl in the same subfolder.
  ----- Original Message ----- 
  From: tanmaya Anand 
  Sent: Saturday, May 31, 2003 9:29 AM
  Subject: Re: [users@httpd] cgi & perl


  Place your perl files in cgi-bin directory. Place your html files in /var/www/html directory.
and try to call cgi-scripts like <a href="/cgi-bin/">.

  This will work for you.  


  ----- Original Message -----
  From: "Ken Shail" 
  Date: Sat, 31 May 2003 08:55:34 +0100
  Subject: [users@httpd] cgi & perl 

  I am clearly a beginner at Apache!
  I would appreciate some advice on running perl scripts in Apache2. (On Mandrake 9.1)
  I have some perl scripts that I have tested on IIS on Win2k.
  When I tried to run them on Apache the server simply sent the source.
  I found by experimentation that the would run if I renamed them with the .cgi extension
in perl subdirectory (var/www/perl).
  They would also run with the .pl extension in the cgi-bin subdirectory but the html file
that calls the scripts would not run there.
  All help would be appreciated. Is there a URL that covers this subject. I have looked, but
obviously not in the right place!
  Sign-up for your own FREE Personalized E-mail at

  --------------------------------------------------------------------- The official User-To-User
support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: " from the digest:
For additional commands, e-mail: 
View raw message