hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : httpd.conf question.
Reply

Forum Jump

httpd.conf question.

Reply Post New Thread In Dedicated Server Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old
WHT Addict
 
Join Date: Mar 2001
Posts: 100

httpd.conf question.


Hi,
I examined the httpd.conf that I have, and I found in the virtual hosts section that the line which contains the serveradmin is diffrent among the different sites as follows:
In several sites it is:
ServerAdmin Admin
And in the others is:
ServerAdmin site#
Where site# refers to the site location directory.
Can anyone explain where is the problem and how to fix it?
I appreciate your help,
regards,

__________________

I'm sorry for my poor English..



Sponsored Links
  #2  
Old
Web Hosting Guru
 
Join Date: Oct 2000
Posts: 337
Either is incorrect.

The ServerAdmin directive should have an e-mail address as an argument - it's used (among other things) in the display of error messages to give people a place to report the problem.

  #3  
Old
Web Hosting Master
 
Join Date: Jun 2000
Location: Southern California
Posts: 12,121
I doubt there is a problem. The server admin has a slightly different setup than a normal site. If you FTP in, you'll notice the paths are different, etc.

__________________
HostHideout.com - Where professionals discuss web hosting.

Chicken

Sponsored Links
  #4  
Old
WHT Addict
 
Join Date: Mar 2001
Posts: 100
Lightbulb httpd

Hi Chicken,
We did not understand your reply. We are talking about the directive ServerAdmin in httpd.conf, we have in front of it in each virtual host section in this file either the word admin or the word site# and # refers to the site no. so site# refers to the location of the site files.

Dear Travis,
Thank you for your reply, you're right that this has to be an email address, but what is the relation between this line and the error that we had two days ago as follows:
One of our sites was working properly, we modified its IP and used its old IP for a new virtul host. After that when we tried to open the first site it redirected directly and fast to the second new one. We checked every thing related to setup but we did not find any error, then we deleted the two sites and removed all their files but the same problem consisted. After a long time we discoverd that we had ServerAdmin admin for the first site, we changed it to site18 the site no. of this virtual site and every thing went well and worked properly. It is weird we could not figure out how this happened and what is the relation between ServerAdmin and This problem. As I know the serveradmin is just an email address reported to users when any error happens with any site, so they can use this email to send a complain message, is it right?
Please give me an advice,
Regards,

__________________

I'm sorry for my poor English..

  #5  
Old
Web Hosting Master
 
Join Date: Jun 2000
Location: Southern California
Posts: 12,121
I now understand your problem, ignore my last post. I'm not certain what caused your problem, though changing IPs for a site can lead to problems (so I've read). In my httpd.conf *all* of my sites have:

ServerAdmin admin

The serveradmin is indeed the user admin, *not* the site#

__________________
HostHideout.com - Where professionals discuss web hosting.

Chicken

  #6  
Old
Newbie
 
Join Date: Aug 2001
Posts: 6
Re: httpd.conf question.

Quote:
Originally posted by joubarani
Hi,
I examined the httpd.conf that I have, and I found in the virtual hosts section that the line which contains the serveradmin is diffrent among the different sites as follows:
In several sites it is:
ServerAdmin Admin
And in the others is:
ServerAdmin site#
Where site# refers to the site location directory.
Can anyone explain where is the problem and how to fix it?
I appreciate your help,
regards,
I believe the ServerAdmin directive is set to admin when there is no site administrator setup on the site. Is that the case for the site you're looking at? If so add a site administrator.

HTH,


Last edited by Befriend; 08-10-2001 at 07:53 PM.
  #7  
Old
Web Hosting Master
 
Join Date: Jun 2000
Location: Southern California
Posts: 12,121
I don't think that is it, though you could be on to something. All of my sites have 'ServerAdmin admin' though this seems to make sense. The server admin is 'admin'. I'm not even certain if all the sites on the server have a siteadmin or not, but maybe some of yours do not?

__________________
HostHideout.com - Where professionals discuss web hosting.

Chicken

  #8  
Old
Newbie
 
Join Date: Aug 2001
Posts: 6
Quote:
Originally posted by Chicken
I don't think that is it, though you could be on to something. All of my sites have 'ServerAdmin admin' though this seems to make sense. The server admin is 'admin'. I'm not even certain if all the sites on the server have a siteadmin or not, but maybe some of yours do not?
Well, the original poster didn't state which RaQ he is talking about and there are a lot of differences b/w all RaQ lines. Chicken, I believe in the RaQ4 all sites get a ServerAdmin of admin, but in earlier RaQs this wasn't the case. Offhand I don't know if the behavior was changed in the RaQ3 or RaQ4, but on a RaQ2 it's definitely as I described - the ServerAdmin is set to the sitename if there is no site admin setup for the site. Perhaps that was even corrected by a Cobalt pkg upgrade for the RaQ2, but if it was it's not installed on the box I checked.

[root]# grep "ServerAdmin" /etc/httpd/conf/httpd.conf | head
ServerAdmin admin
ServerAdmin admin
ServerAdmin site6
ServerAdmin site136
ServerAdmin site147

  #9  
Old
Web Hosting Master
 
Join Date: Jun 2000
Location: Southern California
Posts: 12,121
Ahhhhh, further confusion, I see.

__________________
HostHideout.com - Where professionals discuss web hosting.

Chicken

Reply

Related posts from TheWhir.com
Title Type Date Posted
Consolidation: It's a Question of Timing Blog 2014-11-18 09:48:52
Emerging Tech: Email, Security and Privacy Blog 2013-08-29 11:29:43
UK Tech Blog Challenges CloudFlare, Web Hosts on Free Speech Blog 2013-08-12 10:32:52
The Value of Your Intellectual Property Blog 2013-05-06 17:43:13
Researchers Urge System Admins to Check for New Apache Web Server Backdoor Malware Web Hosting News 2013-05-01 11:35:53


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?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

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?