Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Programming/Scripts

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th August 2006, 07:12
Rorie Rorie is offline
Junior Member
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem setting up cgi/perl script

hello
i'm new here

i have a cgi/perl script that i can't get to view on a html page
i use dreamweaver to insert the script into a form
i have tried a number of different ideas to try & get it to work & everyone one of them has failed

can anyone help me?
Reply With Quote
  #2  
Old 10th August 2006, 18:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,843
Thanks: 781
Thanked 1,557 Times in 1,476 Posts
Default

Did you upload it to the correct directory? Did you make it executable?
Any error messages?
__________________
Falko
--
Follow me on:
Reply With Quote
  #3  
Old 11th August 2006, 02:43
Rorie Rorie is offline
Junior Member
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

the file was uploaded into my cgi-bin & i believe it was made executable & when i go to view the script in the html page it's a blank page nothing comes up
Reply With Quote
  #4  
Old 12th August 2006, 18:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,843
Thanks: 781
Thanked 1,557 Times in 1,476 Posts
Default

What's in Apache's error log?
Is suExec enabled or disabled for that web site?
Also make sure your cgi script contains Unix linebreaks instead of Windows linebreaks (in case you edited the file on Windows).
__________________
Falko
--
Follow me on:
Reply With Quote
  #5  
Old 12th September 2006, 14:55
muha muha is offline
Junior Member
 
Join Date: Mar 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Rorie
when i go to view the script in the html page it's a blank page nothing comes up
That might just mean it's working ... If it's not supposed to give ouput when you view it. How do you know it's not working?
You link to the script from the form? Some more info please!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 13:20
postfix problems with smtp linkdeb Server Operation 9 24th October 2006 18:12
shell script problem (urgent) selvam Programming/Scripts 2 27th July 2006 18:47
Postfix+MySQL Problem jasutton Installation/Configuration 1 15th June 2006 17:06
Problem in setting quota in postfix Talat Server Operation 1 22nd May 2006 09:48


All times are GMT +2. The time now is 17:01.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Sponsored Links: Unified Communications: Thoughts, Strategies and Predictions
Join the discussion.
www.seamlessenterprise.com

IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com

Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com

Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com

Red Hat Virtual Experience - a free virtual event. Dec. 9th