Tag Info

Hot answers tagged

2

I suspect my case is the same as user242156, and very possibly, the original poster. The issue was that my configuration files in sites-enabled/ were not in fact being read, because the distro's apache2.conf only included sites-enabled/*.conf and my files did not use that extension, as it is not required on, e.g., Ubuntu. So the correct solution is rename ...


2

Use virsh nodeinfo. The output will be something like: CPU model x86_64 CPU (s) 8 CPU frequency 2895 Mhz CPU socket(s) 2 Core(s) per socket 2 Threads per core: 2 Numa cell(s) 1 Memory size: 1046528 kb Source: ...


2

First have you enabled mod proxy on apache? Secondly try remove ProxyPreserveHost On In addition make sure the port is opening; easiest way to check is go to http://www.yougetsignal.com/tools/open-ports/ (Enter website address and port 80) Hope this helps


2

Create a new directory for example /opt/static/ and chown it to www-data or the equivalent on your OS and put your static stuff in there. This will totally bypass tomcat for the static assets (a good thing IMO) and then change your vhost definition to this (I am assuming that all your api calls are in the api url - it will also enable client side caching ...


1

For the benefit of others, I had this issue too and my solutions were different: 1) Make sure you have no .htaccess or included conf files from httpd.conf (or similar) overriding any directives. Comment out any include directives to be sure. 2) Are you trying to serve content from your /home directory? Don't. Or if you must, set chmod -R +x on your home ...


1

You can set the SSLProtocol only for the first VirtualHost in the configuration file. All subsequent VirtualHost entries will inherit that setting from the first entry and silently ignore their own setting due to an OpenSSL bug. There is a corresponding bug report for mod_ssl, but as described in the bug report, the problem needs to be resolved in OpenSSL ...


1

I can't vouch the security of such a system, as it will depend on a combination of the security of your server and automated script in addition to a secure Apache configuration, but it isn't beyond the realm of possibility that one could be deployed. You do need to configure separate virtual hosts with Server Name Indication (SNI). You should have a default ...



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