Tag Info

Hot answers tagged

4

There's an apache module called mod_substitute that can do this. Here's a short example: <Location "/"> AddOutputFilterByType SUBSTITUTE text/html Substitute "s/uat.site.co.jp/jp.uat.site2uk.co.uk/ni" </Location> Or, when combined with mod_proxy: ProxyPass / http://uat.site.co.jp/ ProxyPassReverse / http://uat.site.co.jp/ Substitute ...


3

"Server not found" from a browser often indicates a failure to resolve the host-name into an IP address. I notice that ubnt.aqtsolutions.com does not resolve, but the other two names do. It may be that your nginx configuration is fine and you just have a missing DNS entry.


3

Nginx is being stopped from binding to SELinux pop_port_t ports. It possible is to alter the desired ports to be a type that nginx can bind to, e.g. http_port_t. # for port in {143,993,110,995} ; do semanage port -m -t http_port_t -p tcp $port ; done && semanage port -l -C SELinux Port Type Proto Port Number http_port_t ...


3

If you haven't restarted Apache, be sure to do that, but if you've already done so, you could try a global output filter that runs a custom PHP script to do your replacing just to see if that solves it for some reason. EDIT: based on your comment, it could be that substitute isn't working because the content is compressed. To turn off compression, add ...


2

You just need to create a new VirutalHost section for loremipsum.bar.com. It would look something like: <VirtualHost *:80> ProxyPass / http://www.acme.com:8760/Application ProxyPassReverse / http://www.acme.com:8760/Application ServerName loremipsum.bar.com </VirtualHost>


2

May be because you don`t have A DNS record for ubnt.aqtsolutions.com nslookup ubnt.aqtsolutions.com 8.8.8.8 Server: 8.8.8.8 Address: 8.8.8.8#53 ** server can't find ubnt.aqtsolutions.com: NXDOMAIN


2

You can modify nginx proxy server configuration like this: server { server_name example.com; listen 80; location / { proxy_pass http://127.0.0.1:3001; } location /foo { proxy_pass http://127.0.0.1:3002; } } server { server_name example.org; listen 80; location / { proxy_pass ...


1

There are a bunch of registry settings you can make, including to enable TLS 1.1 and 1.2 for TMG 2010, according to http://www.isaserver.org/articles-tutorials/configuration-security/improving-ssl-security-forefront-threat-management-gateway-tmg-2010-published-web-sites.html It’s also a good idea to enable new protocols such as Transport Layer Security ...


1

Simply have the FileZilla FTP server announce the correct external ip-address used by HA-proxy, which is something you can configure in Options --> Passive Mode Settings Normally the Linux kernel uses helper modules that scan the clear text FTP command channel for the PASV response to dynamically change that to the correct NAT response and/or to ...


1

Just to be different, Microsoft calls this an "RDP gateway", not a proxy server. I found this guide to setting one up here.



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