httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] servername/dir for servername
Date Tue, 03 Feb 2009 12:00:08 GMT
On Tue, Feb 3, 2009 at 5:21 AM, Indraveni <indraveni@yahoo.co.in> wrote:
> Now, I want to create one more virtual host, with the server whose
> documentroot content should be accessed when I use,
> http://infosecawareeness.in/sms.
>
> I mean
> DocumentRoot /var/www/sms
> ServerName http://infosecawareeness.in/sms
>

You can add a RewriteCond %{REQUEST_URI} !^/sms before your current
RewriteRule to stop it from being proxied.  You'd really need to be
using a 2nd hostname to create a 2nd virtual host.

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message