Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6777057
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:06:10+00:00 2026-05-26T16:06:10+00:00

I have several vhosts setup, and would like to have the error logs go

  • 0

I have several vhosts setup, and would like to have the error logs go to pre-determined locations. The setup we have works great, except when I comment out error_log in httpd.conf I keep seeing “Starting httpd: (2)No such file or directory: httpd: could not open error log file /etc/httpd/logs/error_log.”

Is it possible to turn off the global error_log directive, and simply rely on the vhost ErrorLog? Or do you have to run both?


Edit 6.30.11

It appears the error_log in httpd.conf relates to the actual httpd daemon, and is not the same as a virtual host ErrorLog. For example, when I restart httpd I get messages like “[Thu Jun 30 17:18:56 2011] [notice] Apache/2.2.3 (CentOS) configured — resuming normal operations“, and in my vhost ErrorLog I get messages such as “[Wed Jun 29 00:13:51 2011] [error] [client 173.255.252.120] File does not exist:“

So it seems you have to live with a setup like:

-rw-r--r-- 1 root webdev  329 Jun 30 17:18 global_error.log    
-rw-r--r-- 1 root webdev    0 Jun 30 17:18 example.com.access.log
-rw-r--r-- 1 root webdev    0 Jun 30 17:18 example.com.error.log
-rw-r--r-- 1 root webdev    0 Jun 30 17:18 example.com.rewrite.log
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T16:06:10+00:00Added an answer on May 26, 2026 at 4:06 pm

    As mentioned in the edit, it does not appear that it is possible to disable the global_error log, which makes sense now, but didn’t at the time.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have several old 3.5in floppy disks that I would like to backup. My
I have several domains that I would like to have wildcard subdomains enabled for
We have several Visual Studio projects, and we would like to: enable/disable some defines
I have several pages listing search results, for each result I would like to
I have several log files of events (one event per line). The logs can
I have several VirtalHosts set up on my computer. I'd like to visit the
I have several objects, like products, order, etc. When I get information from my
I have several cron jobs and I'd like to perform some calculations on them,
I have several ASP:TextBox controls on a form (about 20). When the form loads,
I have several RequiredFieldValidators in an ASP.NET 1.1 web application that are firing on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.