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 8483077
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T19:59:23+00:00 2026-06-10T19:59:23+00:00

I have some server applications running on apache2; Ruby on Rails, PHP and others.

  • 0

I have some server applications running on apache2; Ruby on Rails, PHP and others.

In all cases I would like apache to send me an email whenever apache responds a HTTP error 500 Internal server error.

How can I do that?

  • 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-06-10T19:59:25+00:00Added an answer on June 10, 2026 at 7:59 pm

    It is not possible to configure apache to send emails.

    There are some things you can do to achieve the same result:

    1. You can use the ErrorDocument directive to let it point to some CGI
      script, that be a perl, PHP, or any other server-side executed
      script. The script can then send an email and respond a Error 500
      document.

    2. You can use some external tool to watch your apache log
      files and configure theese tools to send you emails. There are several tools and ways to do this. For Linux many
      tools and methods are suggested on
      https://serverfault.com/questions/45246/linux-monitor-logs-and-email-alerts

    3. Write an apache module. I think that mod_tee is a good starting point.

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

Sidebar

Related Questions

I have rails application running in linode server .Some guy is continuously spamming (writing
I have a rails 3 application running on windows and apache server. As I
I have for some time build n-tier Applications using a database server as the
We have some unit tests running against a SQL server 2000 database using the
I am running Apache 2.3.16 with PHP 5.3.9. I also have a third party
I have a PHP web application (running on Apache/Linux) that, among other things, allows
I have some access applications that connect to a SQL Server database. The applications
I have some client-server application. And as one of its part, I need to
I have a Client/Server application, where the Client and Server have some common tables
I have a server application that receives some special TCP packet from a client

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.