Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 25th, 2001, 09:22 PM
szfrenzy szfrenzy is offline
Enter text here? Ok magic computer, whatever you say!
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Posts: 3 szfrenzy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
installing perl on apache

Hi, I've been trying to get Perl to work on my Apache version 1.3.2, but I can't get it. The script alias for the cgi-bin is the default, ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache/cgi-bin/" and I've been trying to test out the test script that apache already has in there, printenv.pl. I have the latest ActivePerl for win32 installed also. But when I try to access URL it asks me if I want to download the file, rather than displaying it. Why is it doing this? The shebang line on printenv.pl is #!C:\Perl\bin\perl.exe, which is where the perl.exe is located and I just can't figure out why its not working. I'm new to perl, I usually use php, so thanks for your help.

EDIT-Ah, I did some searching and figured it out. Seems it will only display if its set to "Content-type: text/html\n\n", instead of "Content-type: text/plain\n\n";, which I had it set on .

Last edited by szfrenzy : August 25th, 2001 at 09:46 PM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > installing perl on apache


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT