Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.