2

Pow server is working fine with .dev domains on my local machine (OS X Lion). So myapp.dev is all good.

I now would like to make it serve myapp.dev.com (and myapp.dev.fr, and myapp.dev.XX) so myapp will serve the localized version, which is internally determined via the top-level-domain requesting: .com for english, fr for french ... and so on.

what i did so far: setting .powconfig to

export POW_DOMAINS=dev,dev.com,dev.fr
export POW_EXT_DOMAINS=dev.com,dev.fr

and then, of course, un- and reinstalling pow.

what i get so far when calling myapp.dev.com is just the regular apache view. pow doesnt serve my request... instead it sends it to apache and apache shows just all my folders in my server root...

any ideas?

1 Answer 1

3

My solution:

...simple as that...

  1. follow this wiki https://github.com/37signals/pow/wiki/Running-Pow-with-Apache (step 3 is the important one)

  2. then of course create/modify .powconfig to contain this line

    export POW_DOMAINS=dev,dev.com,dev.fr
    
  3. finally make pow "aware" of this new setup via de- and reinstalling it

    curl get.pow.cx/uninstall.sh | sh
    curl get.pow.cx | sh
    

    and as a last step: restart apache

    sudo apachectl restart
    

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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