Skip to content

Instantly share code, notes, and snippets.

@tulvit
Created February 13, 2019 21:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tulvit/27d76bc238ebbb8f32bc2657ad9e7b9c to your computer and use it in GitHub Desktop.
Save tulvit/27d76bc238ebbb8f32bc2657ad9e7b9c to your computer and use it in GitHub Desktop.
Default Virtualhost conf file for Apache2, returning 503 Service Unavailable status code with a custom message.
<VirtualHost *:80>
Redirect 503 /
ErrorDocument 503 "Nothing to see here!"
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment