thanks for all your help ...i have solved with rewrite directive ..

On Wed, Feb 16, 2011 at 11:34 AM, Mehul Ved <[email protected]> wrote:

> On Wed, Feb 16, 2011 at 10:39 AM, Raja Mahalingam <[email protected]>
> wrote:
> > Repost with full details :
> >
> > configured nginx to serves namebased vHOST for wordpress blog for
> multiple
> > domains by using
> >
> > server_name  _    (catches request for all domain request )
> >
> > For Example Domain :abc.com   ---> get served from
> > /var/www/nginx/abc.comfolder
> >
> > For www.abc.com  it tries to search for /var/www/www.abc.com folder and
> > produces error input file not specified
> >
> > I tried Rewrite rule for URI redirect for www.abc.com to abc.com ,then
> it
> > works since URI is changed ..
> >
> > I need www.abc.com to get served from /var/www/nginx/abc.com without URI
> > change in the browser
>
>
> http://b.lesseverything.com/2008/4/9/redirect-from-www-to-non-www-using-nginx
> This is what I got when I searched for "nginx redirect www to non-www"
> See if it helps.
>
> --
> With Regards,
> Mehul Ved
> _______________________________________________
> ILUGC Mailing List:
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
>



-- 

Regards ,

Raja Mahalingam

Freesystems Tech Labs

Ph:080-41496182

Call-me @ 09886012259

mailto:[email protected]

surf my linux tips @ http://live-with-linux.blogspot.com
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to