rewrite help

Ray gunblad3 at gmail.com
Wed May 5 12:19:07 MSD 2010


Have a rewrite rule in the location / for each of the three site
configurations

Ray.

On Wed, May 5, 2010 at 4:09 PM, Glen Lumanau <glen at lumanau.web.id> wrote:

>  Hi folks,
>
>
>
> I need a rewrite rules like this
>
>
>
> I have www.example.com, google.example.com, yahoo.example.com
>
>
>
> I need to rewrite
>
> Google.example.com à  www.example.com/site/google
>
> Yahoo.example.com à www.example.com/site/yahoo
>
>
>
> How can I do that?
>
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20100505/e69f3c06/attachment.html>


More information about the nginx mailing list