[Mongrel] reg vhost in apache

Andrei Maxim andrei at andreimaxim.ro
Thu Nov 22 07:04:24 EST 2007


A basic vhost config would be:
<VirtualHost *>
        ServerName sutrateam
        ServerAdmin webmaster at localhost
        RewriteEngine on
        RewriteRule ^(.*)$ http://sutra/advanced-search-page$1 [L,R]
</VirtualHost>

On 11/22/07, Shiva Kumaran <lists at ruby-forum.com> wrote:
>
> Andrei Maxim wrote:
> > Shiva,
> > The easiest way to do that is to create a new vhost for sutrateam that
> > redirects to http://sutra/advanced-search-page.
>
> Thanks for ur reply.where to place the redirect to
> http://sutra/adv-se-page in vhost file
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>



-- 
Andrei Maxim
http://andreimaxim.ro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20071122/18d837de/attachment.html 


More information about the Mongrel-users mailing list