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

One site non https

Hello I want to make sure that one file of my site is non https. I have this in my VirtualHost80 file Redirect permanent /README.php http://<ip>/README.php And I have this in my VirtualHost443 file Redirect permanent / https://<ip>/ The whole site is https, how can I enable the one file to be non https. Please,somebody, … Read more