Previous Thread
Next Thread
Print Thread
Rate Thread
#103721 04/18/2002 4:58 AM
Joined: Apr 2002
Posts: 111
PF
Offline
Member
Member
Offline
Joined: Apr 2002
Posts: 111
Simple Question, maybe simple solution?

Easy situation, I code and test ubb hacks on my local machine (only accesible by 127.0.0.1)
I was using IIS which wasn't a problem because it knew where the perl interpreter was.

Now I'm moving onto Apache on my local machine so I can hopefully use SSI etc properly, and to have the server environment as close to the live server as possible (unix/apache etc)

Installed apache fine, got it all set up, problem is Apache will only process the cgi/pl stuff if the shebang is #!/Perl/bin/perl.exe
The live one is quite obviously #!/usr/bin/perl

So is there anyway that I can make it so that I dont need to change the shebang when I make the code live?

Cheers

Ben

Sponsored Links
Entire Thread
Subject Posted By Posted
Shebang PF 04/18/2002 12:58 PM
Re: Shebang jordo 04/18/2002 9:26 PM
Re: Shebang BassTeQ 04/19/2002 4:09 AM
Re: Shebang PF 04/19/2002 10:27 AM
Re: Shebang RGamers 10/11/2002 9:05 PM
Re: Shebang Charles Capps 10/11/2002 9:39 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
• Shock Hosting
• Stable Host
• bluehost
• InterServer
Visit us on Facebook
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 21,080
Joined: March 2000
Forum Statistics
Forums63
Topics37,583
Posts293,957
Members13,826
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 34299
Topics Created 0
Posts Made 0
Users Online 1
Birthdays 1
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
isaac 2
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20261026)