Is there any way to ban ALL proxy servers from accessing a website using some Apache configuration?

I am using Apache2 with Ubuntu 16.04 and PHP7.0. I tried using .htaccess setup but that does not seem to work i.e. did not stop anonymous proxies from visiting the website. I was trying this solution RewriteEngine on RewriteCond %{HTTP:VIA} !^$ [OR] RewriteCond %{HTTP:FORWARDED} !^$ [OR] RewriteCond %{HTTP:USERAGENT_VIA} !^$ [OR] RewriteCond %{HTTP:X_FORWARDED_FOR} !^$ [OR] … Read more

Apache2 Virtual Hosts Guide for Subdomains

I am trying to set up a subdomain that serves a different website that what my main domain name serves. I am using Debian Stretch. > my website > separate application I read up about virtual hosts, but it seems to only specify for completely different domain names. Are there any meaningful differences … Read more

BIngbot on my network IP

I was looking my apache logs and I find out this. – – [30/Nov/2016:15:46:52 +0100] “GET http://www.Mywebsite…. HTTP/1.1” 200 5539 “-” “Mozilla/5.0 (compatible; bingbot/2.0; +” This happen a few times with that IP, but I cannot understand how is bingbot executing from that IP. Thanks in advance Answer If this is your local IP, … Read more

AH00094: Command line: ‘/usr/sbin/apache2’

i have installed ldap and phpldapadmin 3 weeks ago and everything was good. yesterday i wanted to configure web server, so the web server works fine, and the command service apache2 restart it gives as result : * Restarting web server apache2 [ OK ] but when i check the file /var/log/apache2/error.log i get : … Read more

weird thing for apache2 with error code 404

I’ve find a really really weird thing that’ve happened to me! there I set up a apache2 server when I need to build an apt repository I give all file with privilege 777,so I use command: wget and it works,but when I download another package there are a 404: wget –2018-12-20 22:23:22– … Read more