0
votes
1answer
411 views

Nginx rewrite doesn't work without a subdomain?

I'm trying to rewrite a particular url, but it doesn't seem to work unless a subdomain is included as part of the url. For example, given the following: server { server_name .example.com ; ...
1
vote
1answer
365 views

Apache subdomain redirect with subdomain representing parameter in URL

I am looking at updating my htaccess file to control a subdomain being created. I am having issues with a few things. Firstly I am setting up the domain where http://m.domain.com/ and that is ...
0
votes
1answer
181 views

rewrite rule setting in nginx

I install nginx 1.0.0 and i installed it /usr/local/nginx1.0.0/. and I try to modify /usr/local/nginx1.0.0/cont/nginx.conf file. I just copy default file. and replace server_name and root path and I ...