I want URLs with the host foobar.com to be rewritten to www.foobar.com. How can I do this with g-wan?
Asked
Active
Viewed 575 times
2 Answers
3
There's a G-WAN rewrite example here (look at the second handler source code, the first handler example illustrates FLV pseudo-streaming).
Karl
- 31
- 2
-
Here is a more complete G-WAN rewrite example with debugging tips: http://stackoverflow.com/questions/13479044/g-wan-url-rewrite-for-home-page-not-working/13496479#13496479 – Gil Nov 27 '12 at 14:33
1
You can Use a virtual host, or even an alias, see the G-WAN FAQs.
For more elaborate rewrites, you can use a handler, some examples are provided in the download archive.
kernal
- 51
- 1