php - Development and access the production host on same computer -


problem development running same domain example.com production server due facebook auth usage.

i can not set development different port facebook redirects wrong url.

i using lamp stack , development version domain url set in /etc/hosts

you can try setting virtualhosts , using hosts file override dns domains point 127.0.0.1


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

javascript - Clean way to programmatically use CSS transitions from JS? -

android - send complex objects as post php java -