Tag Info

Hot answers tagged

3

I have done this a number of times using nginx, lighttpd, and apache. The concept is basically the same in all of them: [Fast]CGI processes that run as the user. If you want to save yourself a lot of trouble, try messing with permissions as other people have suggested. In particular, if your user websites are owned by the users and your main site is owned ...


2

Typically the official binaries tend to lag behind the source releases. Try https://www.apachelounge.com/download/


2

You are almost certainly logged in with an account capable of being elevated to do 'admin-stuff'. But not actually using this all the time. This has been the default in windows since Vista. This is why you sometimes get those UAC warnings when a program actually wants to use those admin rights. (Assuming you did not disable UAC, which is not recommended. ...


2

The Apache API changed from 2.2 to 2.4, unixd_config was renamed ap_unixd_config (see Api changes from 2.2 to 2.4). You need a php module version that is compatible with Apache 2.4 or stay with Apache 2.2.


1

All what you are looking for is available in netfilter (and much more ! ;-) ). Matching a set of IP ranges to whitelist can be done with ipsets and the match extension “set”: ipset -N whitelist nethash ipset --add whitelist 1.2.3.4/24 Then in netfilter’s iptables: iptables -A INPUT -m set --match-set whitelist src -j ACCEPT For blocking during 24 ...


1

Was Issue nr 286: see here for problem description: fail2ban apache-auth issue. This was corrected on github, you can apply following patch, which can be found here on github I put the solution here, too: it is to replace the failregex in apache-auth.conf file by the following: failregex = ^%(_apache_error_client)s user .* authentication failure for ...


1

You have only one VirtualHost, and with * in it (<VirtualHost *:80>). Your main server will never answer any request. All requests will be handeld by the first virtual host configured, which is the default server in case of name based virtual hosts. You should create a new virtual host that must appear before all others in your config file(s) like: # ...


1

You can't use your public IP to search for your own computer when you're behind a network interface. Network interfaces are (as the name suggest) a "box" between 2 nodes and network directions (IP) are used by the vectors between the nodes. The following graph will clarify my statement. So, you can ask for your www service from your PC calling ...



Only top voted, non community-wiki answers of a minimum length are eligible