Re: Basic configuration for running under Apache

2016-11-16 Thread Ricardo Prado
sample configuration

WSGIDaemonProcess framework 
python-path=/mnt/g/Python/osvaldo/framework/:/mnt/g/Python/osvaldo/framework/lib/python2.7/site-packages
WSGIProcessGroup framework
WSGIScriptAlias / /mnt/g/Python/osvaldo/framework/framework/wsgi.py


ServerName 127.0.0.2
ServerAlias ahora.local
   #DocumentRoot /mnt/g/Python
   #ErrorLog /mnt/g/Python/logs/error.log
   #CustomLog /mnt/g/Python/logs/access.log combined

Alias /static /mnt/g/Python/osvaldo/framework/static
Alias /media /mnt/g/Python/osvaldo/framework/media



Require all granted





Require all granted



Require all granted






Em segunda-feira, 14 de novembro de 2016 17:36:44 UTC-2, bob gailer 
escreveu:
>
> https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/modwsgi/ 
>
> This page offers: 
>
> WSGIScriptAlias  //path/to/mysite.com/mysite/wsgi.py 
> WSGIPythonPath  /path/to/mysite.com 
>
>  
>
> In my setup this becomes c:\Users\myname\mysite\mysite\wsgi.py 
>
> I am puzzled by the .com in the example. Can you explain? 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/dc21c5d6-305a-44bc-bc9d-7bb9a5ef7571%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Basic configuration for running under Apache

2016-11-15 Thread Antonis Christofides
The author of that snippet decided that the root directory of the Django 
project is named "mysite.com", whereas the Django project itself is "mysite". 
While this is plausible, it is suboptimal as an example because usually the 
root directory of the Django project has the same name as the Django project 
itself ("django-admin startproject" creates it this way).

So you can perfectly read it as //path/to/mysite/mysite/wsgi.py etc.

--
Antonis Christofides
http://djangodeployment.com/


On Mon, 14 Nov 2016 14:36:04 -0500, bob gailer  wrote:

> https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/modwsgi/
> 
> This page offers:
> 
> WSGIScriptAlias  //path/to/mysite.com/mysite/wsgi.py
> WSGIPythonPath  /path/to/mysite.com
> 
> 
> 
> In my setup this becomes c:\Users\myname\mysite\mysite\wsgi.py
> 
> I am puzzled by the .com in the example. Can you explain?
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/c9f26e89-87f9-5ba8-d708-6ceb236a8e5e%40gmail.com.
> For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/E1c6imC-0001UX-A0%40rmm6prod02.runbox.com.
For more options, visit https://groups.google.com/d/optout.


Re: Basic configuration for running under Apache

2016-11-15 Thread Tim Graham
I think it's just an example directory name. You can use whatever names you 
like.

On Monday, November 14, 2016 at 2:36:44 PM UTC-5, bob gailer wrote:
>
> https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/modwsgi/ 
>
> This page offers: 
>
> WSGIScriptAlias  //path/to/mysite.com/mysite/wsgi.py 
> WSGIPythonPath  /path/to/mysite.com 
>
>  
>
> In my setup this becomes c:\Users\myname\mysite\mysite\wsgi.py 
>
> I am puzzled by the .com in the example. Can you explain? 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/466a70b4-c5de-4b89-90b7-641731a8780e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Basic configuration for running under Apache

2016-11-14 Thread bob gailer

https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/modwsgi/

This page offers:

WSGIScriptAlias  //path/to/mysite.com/mysite/wsgi.py
WSGIPythonPath  /path/to/mysite.com



In my setup this becomes c:\Users\myname\mysite\mysite\wsgi.py

I am puzzled by the .com in the example. Can you explain?

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c9f26e89-87f9-5ba8-d708-6ceb236a8e5e%40gmail.com.
For more options, visit https://groups.google.com/d/optout.