Tag Info

New answers tagged

1

For a moment, I want you to pretend you are a malware author who has successfully compromised the DNS servers of your company. You are trying to use DNS to serve bogus IP addresses whenever someone tries to visit a bank. Unfortunately, you can't get those confounded browser warnings to go away when HTTPS gets invoked. That's basically what you're asking us ...


3

Remeber 8.8.8.8 is an anycast address. You can basically do the exactly same thing Google does for maintaining one of their boxes that serve the 8.8.8.8 traffic. Assign the IP address 8.8.8.8 as an additional address on the DNS server, and Possibly add a route if necessary directing 8.8.8.8/32 directing the traffic to your that DNS server.


0

For those who have Varnish listens port 80 backend server (in my case nginx) listens port 8080 The fastcgi_param SERVER_PORT should be same as the frontend. So, I set fastcgi_param SERVER_PORT 80; to redirect to appropriate URL from nginx.


0

You can do that with url rewrite and binding on you iis site . check for iis rewrite modules rules here : http://www.iis.net/learn/extensions/url-rewrite-module/using-the-url-rewrite-module


1

What you can do is set up a "catch-all" site (Binding * on 0.0.0.0:80) and then let that site handle rewriting the URL from www.customerreportsite.com/report to mysite.com/customer/report. For the rewrite part, you'll need the IIS URL Rewrite module This type of masking is well-known and well-documented


1

What @mikolan was saying is: in /etc/apache2/sites-enabled/ you should have 2 vhost files: file: /etc/apache2/sites-enabled/sth.city.eu <VirtualHost *:80> ServerName sth.city.eu ServerAlias www.sth.city.eu ServerAdmin webmaster@localhost DocumentRoot /var/www/city/ <Directory /> Options FollowSymLinks ...


0

If it works from the shell but not from rc.local, chances are it has to do with the environment. The first thing I would do would be to replace commands with full path. For example: /usr/bin/wget http://address/file -P /root/ 2>&1 | /usr/bin/stdbuf ...



Top 50 recent answers are included