Take the 2-minute tour ×

I want URLs with the host foobar.com to be rewritten to www.foobar.com. How can I do this with g-wan?

share|improve this question

2 Answers 2

There's a G-WAN rewrite example here (look at the second handler source code, the first handler example illustrates FLV pseudo-streaming).

share|improve this answer
Here is a more complete G-WAN rewrite example with debugging tips: stackoverflow.com/questions/13479044/… –  Gil Nov 27 '12 at 14:33

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.

share|improve this answer

Your Answer


