Web Server Configuration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Server Configuration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old September 8th, 2005, 12:05 PM
sunwest sunwest is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 5 sunwest User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 51 sec
Reputation Power: 0
Editing httpd.conf

I have been told by my provider that I need to change the Max Clients setting for my server. I have been told to use this command to make the changes -

vi etc/httpd/conf/httpd.conf

then change the "MaxClients=" setting to a larger number. However when I run this command, I get nothing but a series of blank lines down the side of the window, and means to proceed.

I would appreciate some expert help here, as I don't want to pay them $100 for what looks like a couple of minutes work.

Reply With Quote
  #2  
Old September 9th, 2005, 05:14 PM
sunwest sunwest is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 5 sunwest User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 51 sec
Reputation Power: 0
Surely there must be someone in this forum who knows the answer to my problem. But maybe you're all too highly skilled professionals to take the time to respond to such a simple question.

Reply With Quote
  #3  
Old September 12th, 2005, 08:16 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
The blank lines means your system couldn't find a file at that location and has created one for you (if/when you save).
The same thing would happen if you type vi some/file/that/doesnt/exist

Chances are you've installed HTTPD somewhere else, you'll need to find the conf file there.

Reply With Quote
  #4  
Old September 12th, 2005, 04:05 PM
sunwest sunwest is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 5 sunwest User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 51 sec
Reputation Power: 0
Thanks for the reply. I was beginning to think no one ever visited this forum.

As you can obviously tell, I'm not accustomed to working directly on the server. But in this case, my provider has told me to use that particular command to do the edit. I guess I'll have to let them do it, but I really hate to pay the $100 for what I am sure is an easy task for someone experienced in this field.

Reply With Quote
  #5  
Old September 13th, 2005, 09:50 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
Perhaps ask them to verify the location of the conf file.

The reason you are seeing all those blank lines is because hte httpd.conf isn't at that location.

Reply With Quote
  #6  
Old September 13th, 2005, 10:43 AM
sunwest sunwest is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 5 sunwest User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 51 sec
Reputation Power: 0
Thanks again for your help. I'll let you know how I make out.

Reply With Quote
  #7  
Old September 14th, 2005, 02:40 PM
larry2342 larry2342 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 4 larry2342 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 51 m 19 sec
Reputation Power: 0
Find httpd

I assume your using linux since you showed us the /etc/httpd/ part.

what distribution of linux are you using. Probably Redhat or Fedora? some distributors place the Apache server in different directory than others.

To help locate the httpd directory you can type at prompt:

whereis httpd

and you should get listing after showing you where it has listings for it.

also after you find the httpd.conf file make certain you are root as you do the vim httpd.conf

Sometime my linux will insist I am root to even open the file. Depends on what your permissions are set at.

hope that helps.

Reply With Quote
  #8  
Old September 18th, 2005, 01:02 PM
sunwest sunwest is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 5 sunwest User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 51 sec
Reputation Power: 0
Thanks for the reply. I was got my hosting provider to give me some additiional instructions on how to access the file, and I was able to edit it.

Reply With Quote
  #9  
Old September 28th, 2005, 12:29 AM
Sha Sha is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 6 Sha User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 12 m 50 sec
Reputation Power: 0
If you are the only owner of server box the only thing you sould do is to add a slash before the provided path

Reply With Quote
  #10  
Old September 28th, 2005, 12:30 AM
Sha Sha is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 6 Sha User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 12 m 50 sec
Reputation Power: 0
If you are the only owner of your server box you sould use absolute path startin with '/' root

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Server Configuration > Editing httpd.conf


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