Web Hosting
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb HostingWeb Hosting

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 December 15th, 2000, 11:16 AM
MrsChicken MrsChicken is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Posts: 2 MrsChicken User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I'm new at this so I'm hoping someone can help me out. Here's the problem:
1. We have a form that a user fills out, and submits to the server.
2. We have a CGI-Script that collects the information, puts it in an email and sends it to us.
3. When I submit the form, I get the internal server error. I've researched this and it looks like most people fixed this by changing permissions and/or user/groups on the files & directories.

Can someone please explain or recommend a good website that explains how to set up your directories when hosting a website?

Our CGI-BIN directory is located under the users directory. All directories are owned by "us" except the users directory which is owned by "httpd". Example below:
drwxrwsr-x httpd users

I think this might be the problem, but when I called my ISP, I received not much help. They told me to move the cgi-bin out from users and put it under the root directory. I tried that, but when I executed my form, I get 'File not found' even though I can see the path exists. My ISP also told me that the users directory has to be owned by httpd, or the users listed under here, won't be able to access it. I have set all the permissions on the path to the cgi-script to 755. The cgi-script also has permissions set to 755. I do not have authority to change the user/group or permissions on the users directory, which I find funny since it is located under "our" root directory. Is this standard procedure?

Reply With Quote
  #2  
Old December 17th, 2000, 01:03 AM
thinkcomp thinkcomp is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Cleveland, OH
Posts: 5 thinkcomp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
MrsChicken,

There are a lot of different problems with a CGI script that can result in an "Internal Server Error." The best way to determine exactly what is wrong is to look at your site's log files, which your ISP may have to do for you.

If your web host refuses to cooperate, you may want to consider switching. There is no reason for a company to be unhelpful; they get paid for a reason.

Aaron Greenspan
Think Computer Corporation
http://www.thinkcomputer.com

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb HostingWeb Hosting > cgi-bin & user directories


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 2 hosted by Hostway