hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : Strange CGI/SSI problem
Reply

Forum Jump

Strange CGI/SSI problem

Reply Post New Thread In Dedicated Server Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-12-2001, 02:54 PM
Kerbash Kerbash is offline
Newbie
 
Join Date: Aug 2001
Posts: 10
Question

Strange CGI/SSI problem


I have been trying to install a guestbook CGI program (multiguest pro) on my Raq4i and have been running into a problem.

First, I have this program up and running on a different server so I know that it works (or how it's supposed to work!) and that maybe the problem might be with something being different with the Raq... or perhaps the sendmail version it uses.

The first thing I notice is that the SSI on the main page give me an internal server error.

But the problem that is bugging me is when you try to sign somebody's guestbook, you get an internal server error. It writes to the guestbook OK and even sends the guestbook owner an email, but it always gives me that error. The error log reports that it is a malformed header in the script.

I called Rackshack and while asking their techs a question (about a different problem) asked them about this... the confirmed it was in the script, but couldnt help more because it was a cgi problem. (no complaints from me... they already went way above and beyond the call of duty with some of my stupid questions... thanks guys!)

Anyway, I was wondering if my Raq4i is running a different version of sendmail and that could be causing the problems?... if so, any ideas on how to fix it?

Thanks!

Reply With Quote


Sponsored Links
  #2  
Old 09-12-2001, 03:26 PM
CmptrWz CmptrWz is offline
Junior Guru
 
Join Date: Sep 2001
Posts: 238
Sendmail might be in a different folder......I know many scripts point to /bin/sendmail, but you may need to use /sbin/sendmail.

Reply With Quote
  #3  
Old 09-12-2001, 03:35 PM
Kerbash Kerbash is offline
Newbie
 
Join Date: Aug 2001
Posts: 10
The sendmail and perl paths are correct. I also checked and double checked the permissions and ownerships.

Thanks for the suggestion though.

Thanks!

Reply With Quote
Sponsored Links
  #4  
Old 09-12-2001, 03:53 PM
CmptrWz CmptrWz is offline
Junior Guru
 
Join Date: Sep 2001
Posts: 238
Ok, the file/folder that is to contain the entries must have the correct permissions as well.

Reply With Quote
  #5  
Old 09-12-2001, 06:21 PM
jkcity jkcity is offline
Junior Guru Wannabe
 
Join Date: Apr 2001
Location: UK
Posts: 44
I had this problem with my cgi scripts on the my raq server at rackshack.

I found out it only happend when the cgi script sent mail to a domain hosted on the raq, change the emaill address on the script to send to a domain not hosted on the raq and see if that works.

I fixed the problem by removing the mail entries for the domain, but I don't need the mail entries for mys ite ont he raq this might not be a solution for you.

Reply With Quote
  #6  
Old 09-13-2001, 01:48 PM
Kerbash Kerbash is offline
Newbie
 
Join Date: Aug 2001
Posts: 10
CmptrWz: Thanks, I'm pretty sure that all the permissions on the files/directories are set right... but I'll double check them.

jkcity: Thanks for your input too... the email address the guestbook was sending to was an AOL email address. But I will play around with this tongiht and make sure all the email setting are correct.

This really has me puzzled.... I have other program (like form mail) that uses sendmail and it works OK. I also have other pages that use SSI and they work fine too (different site, but same server.)

I have been trying to get intouch with the scripts tech support, but have not had much luck hearing back from them (except for the inital email that said to install it fresh... which I did.... with the same results.)

I'm hoping this is just some stupid thing that when I see it, i'll want to kick myself for NOT seeing it! I can be such a dunce some days!

Thanks again for your collective brainpower!

Reply With Quote
  #7  
Old 09-13-2001, 03:37 PM
CmptrWz CmptrWz is offline
Junior Guru
 
Join Date: Sep 2001
Posts: 238
Wait a second, if you are trying to use SSI WITHIN a CGI script then that might be the problem.

Reply With Quote
  #8  
Old 09-13-2001, 04:21 PM
Kerbash Kerbash is offline
Newbie
 
Join Date: Aug 2001
Posts: 10
The SSI is on the index.shtml page.... it is used to show a list of guestbook catagories.... But I get an INTERNAL SERVER ERROR whenever I try to view that page (actually... the page shows OK, there is just the error box where the SSI should have been inserted.)

These are seperate problems... I think. But the SSI is not run from the script.

Thanks!

Reply With Quote
  #9  
Old 09-13-2001, 06:46 PM
CmptrWz CmptrWz is offline
Junior Guru
 
Join Date: Sep 2001
Posts: 238
Ok, are you using the exec or include directive?
I recommend the include directive if possible, use <!--#include virtual="web path to script" -->

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Microsoft Exchange Online Outage of Over 8 Hours Frustrates Customers Web Hosting News 2014-06-25 11:23:55
Lengthy Outages for Hacker News, FastHosts Web Hosting News 2014-01-06 09:56:36
Microsoft Azure Swap Deployment Feature Restored After Global Outage Web Hosting News 2013-10-31 11:16:53
Outbound Spam Causing Sleepless Nights? Blog 2013-05-13 09:52:21
Data Center Catharsis: Six Months After Sandy--Now What? Blog 2013-04-22 14:06:29


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?