1
vote
1answer
126 views

How to add rewrite rule for redirecting url in Apache Web Server

I am trying to configure autodiscover feature of outlook and thunderbird for my mail server. I have added a virtualhost entry with following rewrite rule to redirect config-v1.1.xml to ...
0
votes
1answer
50 views

Nginx Extract Top Directory Name From Request URI

I am in the need of being able to use top directory from the $request_uri, for example: /dir/sub/slug -> /dir I read the answer of this question: How to extract Only the file name from the request ...
0
votes
0answers
20 views

IIS7.5 URL Rewrite generating error after importing site

I have two Windows 2008 R2 servers with IIS 7.5. One server has a website configured with URL rewrite rules. I copied the site directory to the second server and set up a new site, using this ...
0
votes
1answer
28 views

Nginx rewrite and 50x.html

I'm trying to set up a website where writing for example /users/add redirects me to /index.php?table=users&action=add I wrote the following rules: rewrite ^/(.+)/(.+)/$ ...
1
vote
1answer
332 views

Centralized IIS to redirect to other IIS servers

Basically what i'm after is to have a centralized IIS Server on the Local LAN where port 80/443 would be forwarded to from the router. Then through this server it can forward/redirect the requests to ...
3
votes
1answer
305 views

IIS re-write from http to https only for subdomains of one domain only

I have an IIS7 web server with several sites running. Some of the sites are sub-domains of one domain and the others are totally separate domains. I want to use IIS re-write to redirect all the sub ...
0
votes
2answers
53 views

Website: Requested filename being rewritten [closed]

I have been unable to find an answer via search. I have a website (I do not administer the servers) where the server will serve a different file than the one requested. I first noticed this when ...
1
vote
2answers
142 views

IIS7 page alias

I have a problem which I'm sure it's not really hard but I really don't know how to use the Windows IIS console. I have two static html pages (Lorem Ippsum pages) which I want to access when i access ...
2
votes
2answers
351 views

How to write a URL rewrite rule in g-wan?

I want URLs with the host foobar.com to be rewritten to www.foobar.com. How can I do this with g-wan?
0
votes
2answers
247 views

nginx rewrite for /blah/(.*) /$1

I'm migrating from mod_php to nginx. I got everything working except for this rewrite.. I'm just not familiar enough with nginx configuration to know the correct way to do this. I came up with this ...
0
votes
2answers
2k views

nginx redirect subdomain to a folder

In Nginx, I would like to redirect my subdomain.domain.com to domain.com/sub/ .how do I do that ? I would like to use the existing sites config file for domain.com instead of creating a new one. the ...
0
votes
1answer
466 views

nginx redirect to a subdomain even without trailing slashes

I just installed and partially configured nginx on a dedicated server of mine. But I've got some trouble understanding the regexp. I would like to make nginx redirect www.mydomain.com/forum/ AND ...
1
vote
1answer
620 views

Forward (Alias? Redirect? Route?) subdomain to a directory in Nginx config

I would like to alias m.example.com so that the requests are forwarded/aliased to example.com/m/ but without the user being redirected to the /m/ directory. For example, the user accesses ...
4
votes
2answers
2k views

How Can I Configure nginx to Use Pretty URLs for Static Sites?

I've got several static sites (mostly generated by Sphinx), that I'm trying to host on my VPS. I've installed and configured nginx according to the guides, and I can successfully display my sites, but ...
0
votes
3answers
95 views

Serving multiple domains from a third party website

I am wondering how sites like Google sites and shopify allow customers to create a website and then link it to their own domain?. Google sites allow a user to create their own website, at a user ...
3
votes
2answers
2k views

Using IIS7 as a reverse proxy

I'm setting up a server at home to host a few small websites. One of them is .NET based and needs IIS, the others are PHP based and need Apache. So, I have both IIS 7 and Apache 2.2.x installed on ...