Am somewhat confused about the question being asked. Are you talking about the Apache/mod_wsgi site you had issues with setting up before?
You mention both Ubuntu servers and a Mac, so not really sure what you are asking and how things hang together. For local development you are possibly better off not using the main operating system Apache setup, but use mod_wsgi-express instead. You can run up your application on a non privileged port from the command line and access it via localhost. See: * https://pypi.python.org/pypi/mod_wsgi <https://pypi.python.org/pypi/mod_wsgi> Graham > On 15 Dec 2016, at 12:56 PM, Jaqen Nki <[email protected]> wrote: > > hey quick question, how would i configure a site to run on loopback, > sometimes when traveling dont have wifi 100% of time and would like to still > be able to develop. would i change my static ip config on ubuntu? which > currently looks like this: > > # /etc/networking/interfaces > > # interfaces(5) file used by ifup(8) and ifdown(8) > auto lo > iface lo inet loopback > > auto enp0s5 > iface enp0s5 inet static > address 10.231.208.199 > netmask 255.255.255.0 > gateway 10.128.128.128 > network 10.128.128.0 > broadcast 10.128.128.255 > > # OpenDNS IPv4 nameservers > dns-nameservers 10.128.128.128 > > # OpenDNS IPv6 nameservers > #dns-nameservers 2620:0:ccc::2 2620:0:ccd::2 > > or could i clone a site to run on loopback, and add a separate config for > that in this same file, so i could access them both while connected and > offline? > lastly how would i point my macs /etc/hosts file to serve the ubuntu servers > localhost? -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
