≡ Menu

web server

I block or deny access based on the host name or IP address of the client visiting website under nginx web server. I want to display customized e403.html error page, but it doesn't appear to be working. Nginx always displays the built-in, hardcoded "403 Forbidden" error message. Here is my configuration:

.....
  ...
 deny 1.2.3.4;
 deny 91.212.45.0/24;
 deny 91.212.65.0/24;
 .....
 ...
 error_page 403 /e403.html;
        location = /e403.html {
           root   html;
       }

How do I fix this problem and display custom error 403 page under nginx server?
Answer to “Nginx: Custom Error 403 Page Not Working with IP Deny Configuration”

mod_setenv: Lighttpd Send Custom Headers

How do I add a header to the HTTP request that was received from the client under Lighttpd web server?
[click to continue…]

Nginx Block And Deny IP Address OR Network Subnets

How do I block or deny access based on the host name or IP address of the client visiting website under nginx web server?
[click to continue…]

Mac OS X: Restart / Stop / Start Apache2

How do I restart Apache 2 web server under Apple Mac OS X UNIX operating systems?
[click to continue…]

Linux: Restart Nginx WebServer

How do I restart nginx web server under Linux operating systems using command line options?
[click to continue…]

Gracefully Restart Lighttpd Web Server

How do I restart my lighttpd+php fastcgi web server gracefully under Linux / UNIX operating systems?
[click to continue…]

How do I install ModSecurity - an open source intrusion detection and prevention engine for web applications under CentOS / RHEL / Red Hat Enterprise Linux 5.x server?
[click to continue…]