It works! In the end I did not have to refer to the link to virtual
environments, although I read it anyway for interest. My python-test.wsgi
file now looks like this:
import sys
sys.path.insert(0,"C:\python_projects\www\python-test")
from hello import app as application
So I think I can
> On 18 Aug 2017, at 9:01 am, Mike Heath wrote:
>
> Thanks for that Graham but I'm not quite out of the wood yet. From your
> latest advice, my httpd-vhosts.conf file now looks like this:
>
> # Virtual Hosts
>
>
> ServerName localhost
> DocumentRoot
Thanks for that Graham but I'm not quite out of the wood yet. From your
latest advice, my httpd-vhosts.conf file now looks like this:
# Virtual Hosts
ServerName localhost
DocumentRoot c:/wamp/www
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride
> On 17 Aug 2017, at 11:14 pm, Mike Heath wrote:
>
> What a star you are! That worked! It was the virtual host setup that put the
> final piece into the jigsaw. I have also, on your advice, moved all python
> project files to a new directory outside wamp. Once I had
What a star you are! That worked! It was the virtual host setup that put
the final piece into the jigsaw. I have also, on your advice, moved all
python project files to a new directory outside wamp. Once I had changed
the virtual host details, that worked fine too. However, that's a simple
> On 17 Aug 2017, at 9:23 pm, Mike Heath wrote:
>
> Thanks for your response. Taking the points in turn:
>
> Can you confirm that you are using the same Apache instance for PHP at the
> same time as wanting to use it for Python? Yes that is correct
> Many thanks for
Thanks for your response. Taking the points in turn:
Can you confirm that you are using the same Apache instance for PHP at the
same time as wanting to use it for Python? Yes that is correct
Many thanks for your response, Graham. Taking your point in turn:
Can you confirm that you are using the
> On 17 Aug 2017, at 7:15 pm, Mike Heath wrote:
>
> I am on a PC running Windows 10. I am in the early stages of learning python
> and flask for web development purposes and I want to set up a local
> development environment. I have been using wamp for php development