Hello Django and People,

I am able to develop my first application(Google OAuth2) with Django using 
Python_Social_Auth. It was real fun!

I am also able to run Django on Production server using Apache and mod_wsgi.

Right now stuck in small problem. My application is running in the server 
root location. (localhost or rawIPaddress)

I want to run it on subpath. Something like localhost/complete/oauth or 
192.168.32.34/complete/oauth or <Domain-name>/complete/oauth. I followed 
the instruction given in official documentation. 

my /etc/apache2/sites-available/site.conf file is as follows:

<VirtualHost *:80>



WSGIDaemonProcess example 
python-path=/var/www/example:/var/www/example/env/lib$
WSGIProcessGroup example
WSGIScriptAlias / /var/www/example/example/wsgi.py

WSGIProcessGroup example
WSGIScriptAlias /complete /var/www/example/example/wsgi.py 
process-group=example


<Directory /var/www/example/example>
<Files wsgi.py>
Require all granted
</Files>
</Directory>

</VirtualHost>

Please let me know Do I also need to make changes in urls.py and views.py ? 
or in template/home.html?

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/eb1a1e56-bc66-4261-ab63-cf7662bc2f06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to