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


all my domain folders will be created without www.so domain name when
acccess with or without www has be served from same folder .

Company has already runs Apache server for the wordpress and works fine for
the above need with .htaccess but nginx has no support of .htacces .

So is there any rewrite rule for my problem and way to change the $host
value in nginx .

I think this time I am  clear ...
-- 

regards ,

Raja Mahalingam
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to