I have two domains : my-domain.com and my-domain.fr  I want to redirect traffic as followed :   my-domain.com:80 -> my-domain.com:443 my-domain.fr:80 -> my-domain.com:443 my-domain.fr:443 -> my-domain.com:443   I've chosen to only use .com, am I right ? I guess yes. Because I only have to manage one certificate : the .COM one.  My /etc/apache2/sites-available/default :  NameVirtualHost *:80  &lt;VirtualHost *:80&gt;    ServerName www.my-domain.com    ServerAlias my-domain.com    Redirect permanent / https://www.my-domain.com &lt;/VirtualHost&gt;  &lt;VirtualHost *:80&gt;    ServerName www.my-domain.fr    ServerAlias my-domain.fr    Redirect permanent / https://www.my-domain.com &lt;/VirtualHost&gt;   My /etc/apache2/sites-available/default-ssl :  NameVirtualHost *:443  &lt;VirtualHost *:443&gt;    ServerName www.my-domain.com    ServerAlias my-domain.com    DocumentRoot /var/www/my-domain/    ErrorLog /var/log/my-domain/my-domain.com.error.log    CustomLog /var/log/my-domain/my-domain.com.access.log combined     GnuTLSEnable on    GnuTLSPriorities NORMAL    GnuTLSExportCertificates on    GnuTLSCertificateFile /etc/apache2/ssl/certs/my-domain.com.crt    GnuTLSKeyFile /etc/apache2/ssl/private/my-domain.com.key &lt;/VirtualHost&gt;  &lt;VirtualHost *:443&gt;    ServerName www.my-domain.fr    ServerAlias my-domain.fr    DocumentRoot /var/www/my-domain/    ErrorLog /var/log/my-domain/my-domain.fr.error.log    CustomLog /var/log/my-domain/my-domain.fr.access.log combined     GnuTLSEnable on    GnuTLSPriorities NORMAL    GnuTLSExportCertificates on    GnuTLSCertificateFile /etc/apache2/ssl/certs/my-domain.fr.crt    GnuTLSKeyFile /etc/apache2/ssl/private/my-domain.fr.key &lt;/VirtualHost&gt;   But I'm getting a SSL certificate error when I'm going to my-domain.fr because it tells me that I wanted to go on my-domain.fr and I'm not.
This is a  about Hosting multiple SSL websites on the same IP.   I was under the impression that each SSL Certificate required it's own unique IP Address/Port combination. But the  is at odds with this claim.  Using information from that Question, I was able to get multiple SSL certificates to work on the same IP address and on port 443. I am very confused as to why this works given the assumption above and reinforced by others that each SSL domain website on the same server requires its own IP/Port.  I am suspicious that I did something wrong.  Can multiple SSL Certificates be used this way?
I have QGIS 1.8.0 installed via OSGeo Installer and work on win 7. All I need is to upload the shapefile to the database via this plugin. Unfortunately I am receiving an error:  Something's wrong: ["'shp2pgsql' is not recognized as an internal or external command,\n", 'operable program or batch file.\n']   How to install and configure shp2pgsql to make this plugin work fine? I am stuck on the following problem that says:       a) Find a weak formulation for the partial differential equation $${\partial u\over\partial t\ }+ c{\partial u \over \partial x\ }=0$$    b) Show that $u=f(x-ct)$ is a generalized solution of $${\partial u\over\partial t\ }+ c{\partial u \over \partial x\ }=0$$ for any distribution $f$    My Attempt:   I know that in order to find a weak form of a pde, we need to multiply it by a test function, then integrate it. Also, to find a generalized solution, we need to find a weak solution and just multiply it by the Heaviside function.  Let's take any test function $\phi $, then we have (integrating by parts second part of the integral) $$\int_{\Omega } ( {\partial u\over\partial t\ }+ c{\partial u \over \partial x\ })*\phi(x) dx= \int_{\Omega } {\partial u\over \partial t}\phi(x) dx - c\int_{\Omega } u(x,t)\phi'(x)dx$$ where $\phi $ vanishes at boundaries. So, is it the final form or can we proceed further? And how am I supposed to find a generalized solution?  Can someone help me out? Thanks in advance for your time. What's wrong with this digital signature scheme? With regards to user authentication...   The server sends Alice a randomly chosen number. Alice signs the number and sends the signature back to the server. The server checks the signature using Alice's public key. If it's valid, the server accepts her connection request.   Suppose that Alice uses the same private key to log in to the server and sign her emails. The authentication mechanism signs the bare challenge without hashing, while Alice signs the hash of the email message.   Apparently, the server can forge emails from Alice under this scheme? If so, how could this be prevented? Mention a specific potential adviser and project in the PhD statement of purpose I am writing my statement of purpose for my Ph.D. and I want to work in a specific field with a specific professor in the department that I am going to apply for and I have a very good experience in this field. I sent an email for that professor asking if he/she is accepting Ph.D. students and he/she did not respond. I built my whole statement of purpose based on my previous achievements and future plan for that specific area. I also mentioned that I am willing to work with that professor. My statement of purpose tells that I am very passionate about this field and I am only willing to work with that professor (if there were more than one professor working on the same area, I would mention all of them). if that professor doesn't accept new Ph.D. students, will I risk my admission to that school?   Will the committee response be something like this:  "the applicant really knows what he/she is going to do and there is a specific future plan and he/she also got a good experience in this field, but he/she sounds very strict to his plan and doesn't show any flexibility...REJECTED"? Square roots -- positive and negative I haven't been writing C for very long, and so I'm not sure about how I should go about doing these sorts of recursive things... I would like each cell to contain another cell, but I get an error along the lines of "field 'child' has incomplete type". What's up?  typedef struct Cell {   int isParent;   Cell child; } Cell; prove that $\frac{(2n)!}{(n!)^2}$ is even if $n$ is a positive integer Prove that $\frac{(2n)!}{(n!)^2}$ is even if $n$ is a positive integer.      For clarity: the denominator is the only part being squared.   My thought process:   The numerator is the product of the first $n$ even numbers and the product of the first $n$ odd numbers.   That is, $(2n!) = (2n)(2n-2)(2n-4)\cdots(2n-1)(2n-3)(2n-5).$ In effect, the product of even numbers can be cancelled out with $n!$ resulting in the following quotient:  $$ \frac{(2^n)(2n-1)(2n-3)}{(n!)}\;.$$  To me this looks even thanks to the powers of $2$. But I am not convinced for some reason.   Was this approach to naive?   Sorry for the poor notation, I don't know any coding languages, my apologies. Prove Quotient Group Isomorphism Let $G = (\mathbb{C} - \{0\}, \cdot)$, a subgroup $U = \{x+yi \mid x^2 + y^2 = 1\}$. Use the Fundamental Theorem to show that $G/(\mathbb{R}_{&gt; 0},\cdot)$ is isomorphic to $U$ where $\mathbb{R}_{&gt; 0}$ denotes the positive reals.  I am struggling to find the correct mapping from $G$ to $U$ that results in the the kernel being the nonnegative reals under multiplication. I'm hoping to get help with this mapping then I can show it is a homomorphism and onto and can use the Fundamental Theorem. Do we have any experimental evidence to confirm that light is an electromagnetic wave? Or is it confirmed simply by Maxwell's equations showing a similarity in speed? Extend x axis on graph? I'd like to extend my x axis a little longer. Is it possible to do that?  \centering     \begin{tikzpicture}[scale=1.5]      \begin{axis}[         xlabel=Reynolds Number,ylabel=Coefficient Discharge]     \addplot [color=blue,mark=*] coordinates {         (6485.41491,0.408143397)         (7927.942858,0.407370795)         (8663.115504,0.38550864)         (9219.462371,0.366953133)         (9537.374867,0.346531912)         (10491.11235,0.330115983)         (11087.19828,0.312041115)         (12219.76155,0.313951177)     };         \addlegendentry{1/4}     \addplot [color=red,mark=triangle] coordinates {         (6556.945221,   0.412644978)         (7868.334265,   0.404307857)         (8663.115504,   0.38550864)         (9187.671122,   0.365687778)         (9120.114717,   0.331371141)         (10443.42548,   0.328615455)         (11683.28421,   0.328817519)         (12875.45607,   0.330797337)     };         \addlegendentry{1/2 Lift}     \addplot [color=black,mark=*] coordinates {         (6843.066467,   0.430651305)         (8297.516134,   0.426361012)         (9203.566747,   0.40955872)         (8615.42863,    0.342911376)         (9298.940495,   0.337868614)         (10824.92047,   0.340619673)         (11683.28421,   0.328817519)         (12899.29951,   0.331409925)     };         \addlegendentry{3/4 Lift}     \addplot [color=yellow,mark=*] coordinates {         (6854.988186,   0.431401568)         (8398.850742,   0.431568008)         (9267.149246,   0.412388141)         (8567.741755,   0.341013343)         (9346.62737 ,   0.339601273)         (10753.39016,   0.338368882)         (11897.87515,   0.334857025)         (13030.43841,   0.334779157)     };         \addlegendentry{Full Lift}     \end{axis}% \end{tikzpicture}% How do you pass a function as a parameter in C? I want to create a function that performs a function passed by parameter on a set of data. How do you pass a function as a parameter in C? I need this desperately but can't find it. Am I doing something wrong? Gaussian/Normal plots from a data distribution in scientific notation I am new to Tex and trying to plot a gaussian distribution from a set of values. I have the following set of values and would like to plot a normal distribution for them.  2.9954E-09  3.1314E-09  3.1155E-09  3.0940E-09  2.8861E-09  3.0875E-09  2.9685E-09  3.0532E-09  2.9003E-09  3.0931E-09  I have tried using the sample code but can't figue out where to input my values.   \begin{tikzpicture} \begin{axis}[   no markers,    domain=0:6,    samples=10,   ymin=0,   axis lines*=left,    xlabel=$x$,   every axis y label/.style={at=(current axis.above origin),anchor=south},   every axis x label/.style={at=(current axis.right of origin),anchor=west},   height=5cm,    width=11cm,   xtick=\empty,    ytick=\empty,   enlargelimits=false,    clip=false,    axis on top,   grid = major,   hide y axis   ]   \addplot [very thick,cyan!50!black] {gauss(x, 3, 1)};  \pgfmathsetmacro\valueA{gauss(1,3,1)} \pgfmathsetmacro\valueB{gauss(2,3,1)} \draw [gray] (axis cs:1,0) -- (axis cs:1,\valueA)     (axis cs:5,0) -- (axis cs:5,\valueA); \draw [gray] (axis cs:2,0) -- (axis cs:2,\valueB)     (axis cs:4,0) -- (axis cs:4,\valueB); \draw [yshift=1.4cm, latex-latex](axis cs:2, 0) -- node [fill=white] {$0.683$} (axis cs:4, 0); \draw [yshift=0.3cm, latex-latex](axis cs:1, 0) -- node [fill=white] {$0.954$} (axis cs:5, 0);  \node[below] at (axis cs:1, 0)  {$\mu - 2\sigma$};  \node[below] at (axis cs:2, 0)  {$\mu - \sigma$};  \node[below] at (axis cs:3, 0)  {$\mu$};  \end{axis}  \end{tikzpicture}   Your assistance will be highly appreciated. Thanks! I can't read beta sites' chat logos! Here, you try:  If it weren't for the text shadow, it might as well be entirely invisible...  The cause is a CSS rule lurking in the transcripts for beta sites only:  #transcript-logo {   background: none repeat scroll 0 0 #273A5D; }   The problem is the #273A5D - a bluish colour not dissimilar to that used for the site name in the beta theme. Disabling that rule yields the much more manageable  I'll admit it is a little hard to read the "beta" in that shot. But if you had to choose which part was readable, wouldn't you choose the bit that tells you the name of the site?  Edit: It happens when actually in a chat room too! Comparisons: "so [adjective/adverb] as" or "as [adjective/adverb] as" How is the no-cloning theorem compatible with the fact that fan-out gates work? I have some difficulty with understanding no-cloning theorem. Simply speaking, according to the theorem, it is not possible to copy a quantum state.  On the other hand, CNOT gate can be used as so-called fan-out gate which purpose is to copy one qubit to another one, previously in state $|0\rangle$.  It seems that these two facts negate each other.   My question: How is no-cloning theorem compatible with the fact that fan-out gate works? How should I deal with becoming discouraged as a graduate student? Which is more polite, "Would you" or "Could you"? Suppose you want to ask someone to do something, say to tell you the way to a station. Which is more polite, "Would you tell me the way to the station?" or "Could you tell me the way to the station?"? I can write  VAR=$VAR1 VAR=${VAR1} VAR="$VAR1" VAR="${VAR1}"   the end result to me all seems about the same. Why should I write one or the other? are any of these not portable/POSIX? Homemade coconut milk separates into different layers after a day in the fridge I made some coconut milk. After a day in the fridge there was two layers of liquid in the jar, coconut water and solid coconut which I found out afterwards that it is called coconut butter! When I stir them together to  have my coconut milk back, it didn't work. Is there a way to prevent this? If not, is there a way to have coconut milk again?