> 1. You can't do name-based virtual hosting with SSL. Since the
> first line is only for ssl vhosts, you probably won't need it.
I saw in the Apache 2 documentation that it is possible to do the first domain a SSL host.
Am I wrong?
> 2. I have no idea what the configuration file given in the second
> line does so I can't tell you whether you'll need it or not.
The content referred in the second line is:
<IfModule !mod_rewrite.c>
LoadModule rewrite_module modules/rewrite.nlm </IfModule> <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^/NSearch(.*) /qfsearch$1 [R,NE,L] </IfModule> Should I add it to every "VirtualHost" block?
TIA
Nanu
>>> joshua@xxxxxxxx 11/08/2007 03:10:08 >>> On 8/10/07, Nanu Kalmanovitz <nanu@xxxxxxxxxxxxxxxxx> wrote: > Thanks! > > I wish to add a second domain to my WEB server (Apache2) using > "Named-Based". > > Should I add the commands in the following "VirtualHost" block to every > "VirtualHost" block for every new domain? > > <VirtualHost _default_:443> > BrowserMatch "MSIE" nokeepalive downgrade-1.0 force-response-1.0 > Include "SYS:/qfsearch/WEB-INF/QFRewrite.conf" > </VirtualHost> > > Should I change anything else? A couple issues here: 1. You can't do name-based virtual hosting with SSL. Since the first line is only for ssl vhosts, you probably won't need it. 2. I have no idea what the configuration file given in the second line does so I can't tell you whether you'll need it or not. Joshua. ------------------------------------------------------------- -------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx |