Apache proxy with one physical IP = 10.2.2.1 and a logical IP = 10.2.2.2  Configuration is similar to below  &lt;VirtualHost *:80&gt;    ServerName example.com    &lt;Location /&gt;            ProxyPass http://server:8080/            ProxyPassReverse http://server:8080/    &lt;/Location&gt; &lt;/VirtualHost&gt;  &lt;VirtualHost *:80&gt;    ServerName example2.com    &lt;Location /&gt;            ProxyPass http://server:8081/            ProxyPassReverse http://server:8081/    &lt;/Location&gt; &lt;/VirtualHost&gt;  &lt;VirtualHost 10.2.2.2:443&gt; ServerName example3.com SSLEngine on SSLCertificateFile /example3.com.cer SSLCertificateKeyFile /example3.com.key SSLCertificateChainFile /example3chain.com.cer                                               Redirect / https://example3.com &lt;Location /&gt;         ProxyPass http://server:8082/         ProxyPassReverse http://server:8082/     &lt;/Location&gt;  &lt;/VirtualHost&gt;  &lt;VirtualHost 10.2.2.1:443&gt; ServerName example4.com SSLEngine on SSLCertificateFile /example4.com.cer SSLCertificateKeyFile /example4.com.key SSLCertificateChainFile /example4chain.com.cer                                               Redirect / https://example4.com &lt;Location /&gt;         ProxyPass http://server:8083/         ProxyPassReverse http://server:8083/     &lt;/Location&gt;  &lt;/VirtualHost&gt;  &lt;VirtualHost *:80&gt;     ServerName example4.com     Redirect / https://example4.com &lt;/VirtualHost&gt;   What is happening is the URL  site is not hitting the correct virtual host it is going to the non-SSL redirect and just staying there and serving an SSL error page. I have been assured the DNS and firewalls are correct.  Is there a restriction when using mixed IP and Name based vhosts that the SSL sites have to be on separate IP's from each other and the non-SSL sites? Need some help here.
My apache2 configuration is problematic: I've two website on a server:   domain1.tdl domain2.tdl   One of them (domain2.tdl) must be and is accessible on port 443 (with SSL). All domains must be and are accessible by port 80. But when we try to access to domain1.tdl on port 443 the domain2.tdl files are display. So, on port 443, domain2.tdl is accessible by domain1.tdl and domain2.tdl. I don't want it !  My configuration:  domain1.tdl:  &lt;VirtualHost *:80&gt;   DocumentRoot /home/sites/domain1.tdl/www   ServerName domain1.tdl   ServerAlias www.domain1.tdl   ServerAdmin xxx@mail.com   RewriteEngine on   &lt;Directory "/home/sites/domain1.tdl/www"&gt;     AllowOverride All     allow from all     Options -Indexes   &lt;/Directory&gt; &lt;/VirtualHost&gt;  &lt;VirtualHost *:443&gt;   DocumentRoot /home/sites/domain1.tdl/www   ServerName domain1.tdl   ServerAlias www.domain1.tdl   ServerAdmin xxx@mail.com   RewriteEngine on   &lt;Directory "/home/sites/domain1.tdl/www"&gt;     AllowOverride All     allow from all     Options -Indexes &lt;/Directory&gt;   domain2.tdl:  &lt;VirtualHost *:80&gt;   DocumentRoot "/home/sites/domain2.tdl/web"   ServerName domain2.tdl   ErrorLog /var/log/apache2/site/error_domain2.tdl.log                 CustomLog /var/log/apache2/site/access_domain2.tdl.log combined   &lt;Directory "/home/sites/domain2.tdl/web"&gt;     allow from all     Options -Indexes   &lt;/Directory&gt;   ServerAlias www.domain2.tdl &lt;/VirtualHost&gt;  &lt;VirtualHost domain2.tdl:443&gt;   DocumentRoot "/home/sites/domain2.tdl/web"   ServerName domain2.tdl   ErrorLog /var/log/apache2/site/error_domain2.tdl.log   CustomLog /var/log/apache2/site/access_domain2.tdl.log combined    SSLEngine on   SSLCertificateFile /etc/ssl/private/domain2.tdl/domain2.tdl.crt   SSLCertificateKeyFile /etc/ssl/private/domain2.tdl/domain2.tdl.key   SSLCACertificateFile /etc/ssl/private/domain2.tdl/GandiStandardSSLCA.pem   SSLVerifyClient None    &lt;Directory "/home/sites/domain2.tdl/web"&gt;     allow from all     Options -Indexes   &lt;/Directory&gt;   ServerAlias www.domain2.tdl &lt;/VirtualHost&gt;
How to append multiple lines of text to a file? Notation: What does the tilde below of the expectation mean? How to ignore the first line of data when processing CSV data? I want to show that the two annuli $$A=\{r&lt;|z-z_0|&lt;R\} $$ $$A'=\{r'&lt;|z-z_0'|&lt;R'\} $$ are conformally equivalent (i.e. there exists a biholomorphic map between the two) iff $$\frac{R}{r}=\frac{R'}{r'}. $$  Sufficiency:  Suppose the ratios of the radii are the same. A suitable scaling (by $\frac{r'}{r}$) will make $A$ congruent to $A'$, and a translation will map the scaled $A$ onto $A'$. This is clearly a conformal homeomorphism.  Necessity:  The annulus $A$ has the following set of periods $$\left\{ \pm \frac{2 \pi}{\log (R/r)} \right\} $$ (this step required some computations which I will omit)  Similarly $A'$ has   $$\left\{ \pm \frac{2 \pi}{ \log(R'/r')} \right\}$$ as its set of periods. Since the set of periods is a conformal invariant. The ratios of the radii must indeed by the same.  Is this proof correct?   Thanks! Quieting down a Dell PowerEdge r710 I run a Dell PowerEdge r710 server out of my house and I'm moving in with roommates in a couple weeks. Unfortunately I don't think they'll appreciate the ~70dBA it generates and I'm looking for ways to make it quieter.  I looked into replacing the fans with something less noisy, but unfortunately none of the quieter options move nearly enough air. The best one I found has been the , but at less than half the CFM (30.3 vs 67.85 on the stock  fans) it doesn't seem powerful enough.  I've also thought about putting  around the server to quiet it down, but acoustic panels also have the downside of acting like insulation, so heat could turn into an issue. Why do physicists think that the electron is an elementary particle? Difference between if () { } and if () : endif; Are there any differences between...  if ($value) {  }   ...and...  if ($value):  endif;   ? I am trying to get from a particular point more informations about the surroundings (which are also points). So I wrote this:  SELECT *    FROM osm_point    WHERE ST_DWithin(way,(ST_SetSRID(ST_MakePoint(12.2385578688105, 51.8435615931295), 4326, 1000);   But there is an error     ERROR: FEHLER:  LINE 3: ...T_MakePoint(12.2385578688105,   51.8435615931295), 4326, 1000) ^ SQL state: 42601 Character: 133   What is wrong? For instance, does the compiler know to translate  string s = "test " + "this " + "function";   to  string s = "test this function";   and thus avoid the performance hit with the string concatenation? Parenthesis in expr arithmetic: 3 * (2 + 1) Is the null set a subset of every set? Ever since day one of of my Mathematical Logic course, this fact has really bothered me. I cannot wrap my head around how an empty set is a subset of every possible set. Could someone kindly explain how this is true? Any help is appreciated! When are you supposed to use escape instead of encodeURI / encodeURIComponent? When encoding a query string to be sent to a web server - when do you use escape() and when do you use encodeURI() or encodeURIComponent():  Use escape:  escape("% +&amp;=");   OR  use encodeURI() / encodeURIComponent()  encodeURI("http://www.google.com?var1=value1&amp;var2=value2");  encodeURIComponent("var1=value1&amp;var2=value2"); Can inductor voltage and capacitor current change abruptly? I understand that inductor current and capacitor voltage cannot change abruptly, but can inductor voltage and capacitor current change abruptly?  I have a feeling the answer is no but I cannot explain why. How to install WhatsApp? When I have Excel running and I double click an Excel file in Windows explorer, I'd like it to launch in a new window by default so that I can move documents to separate monitors. Is there any way to get this behavior? Are there guidelines on how much free RAM a phone should have - specifically Samsung Galaxy S? Does the condition $\lim\limits_{n\to\infty}\frac{a_{n+1}}{a_n}=1$ imply that $a_n$ convergent?  When I say convergent I mean to $L\in \mathbb{R}$ or to $\infty$ or to $-\infty$  I have a gut feeling this statement is false, just can't find a series which contradicts it.  Thanks a lot I finally got fed up when wanting to read about bash's read and it's -s option with man bash. I found the right spot eventually (around line 4500), but it was a frustrating as usual, since both /read and even /\s-s\s searches have way too many matches.  So, the question is: How can I read long man pages efficiently, or get same information in other ways, locally? As a specific example, how to reach the relevant documentation after seeing read -s pwd in a shell script? A good answer could be a shell script snippet, or hint about some tool and how it is used, or something else entirely, as long as it helps in finding the right spot to read.  Note: I'm not tagging with  because I want the question to be about man page reading in general, even though that quite possibly is the most commonly encountered humongous man page. Everyone knows that Wolverine's adamantium claws are super-sharp — sharper than even a razor — and virtually indestructible. What puzzled me the first time I saw Wolverine is: how do the claws stay in his body?  As it is shown, Wolverine's flesh and skin are human in strength, but the healing factor makes it superhumanly durable and strong. Still, when Wolverine slashes something, or someone, extremely hard, dense, or thick (as he has to use great amount of force), the claws don't tear through his hand and leave his hand through the opposite side of the palm (because of the action having equal and opposite reaction). I don't understand how to use Fermat's little theorem to find remainders e.g if we are asked to find remainder of $50^{50}$ on division by $13$, what is a and what is $p$ in the formula?  Also I wanted to check can we use both congruence classes as well as Fermat's little theorem to find such remainders? How would be write $50^{50}$ on division by $13$ in terms of congruence classes to find the remainder?  I don't exactly understand what a congruence class is, what does it tell us and how is it related to this?