Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

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 November 5th, 2000, 04:50 AM
tooljob tooljob is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 17 tooljob User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to tooljob
I am gonna be putting up a co-located server soon to hopefully make some extra income. I already for 10 ppl lined up :-)

Anyhow, when I create each webspace for my customers, how do I go about setting up
CGI-BIN on the server. I assume I make
a CGI-BIN directory in each user's webspace
with the appropriate permissions? Is this correct. If not can someone give me some inforamtion.

thanks alot

tooljob

Reply With Quote
  #2  
Old November 5th, 2000, 05:44 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
I don't know what OS you will be using. For FreeBSD, there is a "adduser" command. When you first run it, it will create /etc/adduser.conf. It will also ask if you want to copy dot files from /usr/share/skel.

If you run Linux, check and see if /usr/share/skel directory exists. If so, anything within it will be copied to user's home dir. That said, if you place public_html directory and cgi-bin within public_html under /usr/share/skel:
/usr/share/skel/public_html
/usr/share/skel/public_html/cgi-bin
the directories will be setup automatically, you don't need to create them manually. The permission drwxr-xr-x (755) for both dirs should be fine, too.

>>how do I go about setting up CGI-BIN on the server

In your httpd.conf, you need to specifically enable ExecCGI or ScriptAlias under user's cgi-bin of the home directory. Otherwise, CGI can be executed from anywhere if you set "options All" under <Directory /home/*/public_html>

Reply With Quote
  #3  
Old November 5th, 2000, 07:15 AM
tooljob tooljob is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 17 tooljob User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to tooljob
FreeBSD,

I really appreciate the information alot!

Hey, how is FreeBSD? I never used it, compared to Linux how does it compare as
a webserver?

ToolJob


Reply With Quote
  #4  
Old November 5th, 2000, 08:18 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
>>compared to Linux how does it compare as
a webserver?

Check this out -> http://www.geocities.com/SiliconValley/Bay/6986/yahoobsd.htm

Assuming you are asking for overall networking performance, FreeBSD is better than Linux with scalability, stability, security and reliability, it just outperform Linux all the way. Many popular software such as Apache and Sendmail were developed on FreeBSD and they can be optimized when running on FreeBSD. Linux is simply no match.

Many servers out there are running Solaris and people often think Solaris is better than FreeBSD in networking environment, this could be both true and false. I haven't tried Solaris myself, but many say Solaris runs great only with expensive hardware and not very well on i386. Benchmarking the performance of FreeBSD and Solaris with the same non-expensive hardware, I am sure FreeBSD beats Solaris, no question about it.

Reply With Quote
  #5  
Old November 6th, 2000, 12:54 AM
#6 #6 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Location: Melbourne, Victoria, Australia
Posts: 104 #6 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Send a message via ICQ to #6
heheh that must be a way old article

very cool though

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > cgi-bin 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 1 hosted by Hostway
Stay green...Green IT