New answers tagged

0 votes

Why is apache -X stuck in a pselec6() NULL loop?

I have the same problem. Here is my logs netstat -tulpn Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name ...
  • 11
0 votes

NGINX redirect 404 errors to an external URL

error_page 404 = @redirect; location @redirect { return 301 https://yoururl.com; }
  • 101
0 votes

Httpd LimitRequestFieldSize not taken into account

If you put your LimitRequest directives in your server config, those directives must be inserted before your VirtualHost config.
0 votes
Accepted

modsecurity wont start with an apache server

If you stumble here, here is the answer. I still dont know why modsecurity was not working, my guess is because of the version mismatch in modsecurity compiled APR and runtime loaded APR as it says in ...
0 votes

Nginx doesn't rebound from 502 Bad Gateway

This answer describes a solution to a problem that matches the title and the description. It is not an attempt to answer Rob's question 9 years later, hoping it may be helpful to others. The solution ...
1 vote
Accepted

Trying to install Wordpress locally by using docker where some folder symlinked to my git directory

The symlink is resolved inside the container. You can add the directory as an additional volume volumes: - ./wordpress:/var/www/html - /Users/anatoly/Developer/example.com/:/Users/anatoly/Developer/...
0 votes

How to return 404 from Apache2 CGI program

If you use perl CGI module: use CGI ":standard"; print header(-status => 404);
  • 298
0 votes
Accepted

How to create a Proxy over Apache to Google Cloud and handle 403 failover?

It was finally solved. I have replaced these lines: <Location /media> ProxyPass http://mainsite.homestead/dimension ProxyPassReverse http://mainsite.homestead/dimension &...
  • 398
0 votes

Why might Apache ignore a virtual host with a ServerName matching the requested URL?

For me, I didn't realize Google Chrome was hiding the www prefix on the URL. When I went to example.com my apache server was redirecting that to www.example.com without me realizing it.

Top 50 recent answers are included