EXAMPLE:
- Code: Select all
rewrite http://www.domain.com/store TO https://server.host.com/username/domain/store
AND
rewrite https://www.domain.com/store TO https://server.host.com/username/domain/store
AND
rewrite http://domain.com/store TO https://server.host.com/username/domain/store
AND
rewrite https://domain.com/store TO https://server.host.com/username/domain/store
This has proven to be difficult cause I only need to rewrite requests which come from domain.com rather than the correct request from server.host.com. Mainly if you can help me with one, I should be able to figure out the rest.