hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : CGI Scripts don't work???
Reply

Dedicated Server Current and past experiences with dedicated server providers, bandwidth, and server performance. Review managed and unmanaged dedicated web servers, discuss both Windows and Unix dedicated server solutions, and discuss dedicated hosting providers. If your service is unavailable, please click here.
Forum Jump

CGI Scripts don't work???

Reply Post New Thread In Dedicated Server Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 06-10-2004, 12:08 PM
6dhosting.com 6dhosting.com is offline
Disabled
 
Join Date: Jun 2004
Location: Vancouver, WA
Posts: 51
Exclamation

CGI Scripts don't work???


Okay, so I have Plesk 7.0.2 with Fedora C1. When ever I try to add a CGI script to a site, nothing happens. Most of the time I get a 404 or 500 error. I simply don't know how to fix it. I did notice that Plesk puts the cgi-bin in the root folder of each site, but is it part of the server that needs to be configured or what?

Reply With Quote


Sponsored Links
  #2  
Old 06-10-2004, 12:09 PM
Raptors Raptors is offline
Web Hosting Evangelist
 
Join Date: May 2003
Posts: 475
Please make sure you upload your cgi scripts in ascii mode

__________________
Dixiy.com - Professional Web Hosting Provider since 2002
AutoCreation.net - Automation Solution for cPanel Hosting! + Illegal File Scanner
WHDir.net - Your complete Web Hosting Directory with Hosting/Server Tutorials

Reply With Quote
  #3  
Old 06-10-2004, 01:09 PM
bteeter bteeter is offline
Web Hosting Master
 
Join Date: Jan 2001
Location: Kihei, HI
Posts: 576
Take a look at this - it might help:

http://www.assortedinternet.com/supp...ndetails&_i=12

its a HOW TO that I wrote a while back on how to debug CGI script problems.

HTH,

Brian

__________________
:: 1StopWebHosting.com :: - Professional Web Hosting Services
::
:: Featuring the CPanel Control Panel running on CENTOS Linux servers
:: We offer Shared Web Hosting, Business Hosting, Java / J2EE Servers and Dedicated Server solutions.

Reply With Quote
Sponsored Links
  #4  
Old 06-11-2004, 06:05 AM
NexDog NexDog is offline
Web Hosting God
 
Join Date: Dec 2001
Location: Above The Clouds
Posts: 6,634
Login as root and do this:

cp -Rfp /usr/sbin/psa-suexec /usr/sbin/suexec

Strange but true. Someone that doesn't know how to install Plesk with their eyes close won't know about that step.

__________________
- Laurence Flynn - atOmicVPS LTD (Post Launch Craziness!)
- OnApp Powered Linux & Windows Cloud Hosting [Shared] [Reseller] [Cloud VPS]
- We are LIVE - find out what we are doing for our Post Launch phase!
- Featuring the atOmicSTACK - Speed ● Performance ● Stability ●


Reply With Quote
  #5  
Old 06-11-2004, 09:51 AM
6dhosting.com 6dhosting.com is offline
Disabled
 
Join Date: Jun 2004
Location: Vancouver, WA
Posts: 51
What did that do exactly???

Reply With Quote
  #6  
Old 06-11-2004, 09:57 AM
NexDog NexDog is offline
Web Hosting God
 
Join Date: Dec 2001
Location: Above The Clouds
Posts: 6,634
It copied over psa-suexec to suexec as Plesk uses its own suexec binary for cgi.

__________________
- Laurence Flynn - atOmicVPS LTD (Post Launch Craziness!)
- OnApp Powered Linux & Windows Cloud Hosting [Shared] [Reseller] [Cloud VPS]
- We are LIVE - find out what we are doing for our Post Launch phase!
- Featuring the atOmicSTACK - Speed ● Performance ● Stability ●


Reply With Quote
  #7  
Old 06-11-2004, 10:12 AM
6dhosting.com 6dhosting.com is offline
Disabled
 
Join Date: Jun 2004
Location: Vancouver, WA
Posts: 51
ahh, I see. Still won't let me execute www.mydomain.com/cgi-bin/nph-proxy.cgi tho...

Reply With Quote
  #8  
Old 06-11-2004, 10:24 AM
NexDog NexDog is offline
Web Hosting God
 
Join Date: Dec 2001
Location: Above The Clouds
Posts: 6,634
Do this:

cat -A nph-proxy.cgi

And see if it has dos line endings (M^) rather than unix ($).

Also check that the domain has CGI support turned on.
Check the cgi-bin is 755.
Check the script is 755.

__________________
- Laurence Flynn - atOmicVPS LTD (Post Launch Craziness!)
- OnApp Powered Linux & Windows Cloud Hosting [Shared] [Reseller] [Cloud VPS]
- We are LIVE - find out what we are doing for our Post Launch phase!
- Featuring the atOmicSTACK - Speed ● Performance ● Stability ●


Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Softaculous Releases Auto Installer Version 4.1.7 Web Hosting News 2012-12-19 16:45:21
Web Host PromptSpace Launches Shared Hosting Platform Web Hosting News 2011-12-27 18:15:25
Web Host Secure Cloud Space Integrates Softaculous Auto-Installer with Control Panel Web Hosting News 2011-12-19 16:39:33
Web Host HostingZoom Adds Softaculous Auto-Installer to Hosting Plans Web Hosting News 2011-08-17 17:52:34
Web Host JaguarPC Adds Auto-Installer Softaculous to Hosting Plans Web Hosting News 2011-07-27 18:55:46


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?