httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ken Shail" <...@shail.co.uk>
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.
Ken
  ----- Original Message ----- 
  From: tanmaya Anand 
  To: ken@shail.co.uk 
  Cc: users@httpd.apache.org 
  Sent: Saturday, May 31, 2003 9:29 AM
  Subject: Re: [users@httpd] cgi & perl


  Hi,

  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/abc.pl">.

  This will work for you.  

  Regards,
  Tanmay

  ----- Original Message -----
  From: "Ken Shail" 
  Date: Sat, 31 May 2003 08:55:34 +0100
  To: 
  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!
  Ken
  -- 
  _______________________________________________
  Sign-up for your own FREE Personalized E-mail at Mail.com

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