Re: Question in document "How to use Django with Apache and mod_wsgi"

2012-10-18 Thread Tomas Ehrlich
mes > > From: Tomas Ehrlich > Date: 2012-10-19 00:48 > To: django-users > Subject: Re: Question in document "How to use Django with Apache and mod_wsgi" > Hello, > have you set proper aliases in apache site config? > > Alias /robots.txt /path/to/mysite.com/st

Re: Re: Question in document "How to use Django with Apache and mod_wsgi"

2012-10-18 Thread Dae James
ave when I run this site on development server or when I just set DEBUG in settings.py to True. Dae James From: Tomas Ehrlich Date: 2012-10-19 00:48 To: django-users Subject: Re: Question in document "How to use Django with Apache and mod_wsgi" Hello, have you set proper aliases

Re: Question in document "How to use Django with Apache and mod_wsgi"

2012-10-18 Thread Tomas Ehrlich
Hello, have you set proper aliases in apache site config? Alias /robots.txt /path/to/mysite.com/static/robots.txt Alias /favicon.ico /path/to/mysite.com/static/favicon.ico AliasMatch ^/([^/]*\.css) /path/to/mysite.com/static/styles/$1 Alias /media/ /path/to/mysite.com/media/ Alias /static/ /path

Question in document "How to use Django with Apache and mod_wsgi"

2012-10-18 Thread Dae_James
The url of the document is: https://docs.djangoproject.com/en/1.4/howto/deployment/wsgi/modwsgi/ I can't succeed at the last part, "Serving the admin files". My admin page is as follows.

Re: How to use Django with Apache and mod_wsgi

2012-08-23 Thread Joris
Op woensdag 22 augustus 2012 23:05:03 UTC+2 schreef stikic het volgende: > > Then do I have to delete 00_default_vhost.conf file? > What name can I give to this new created file? > > Well you have not referred or included 00_default_vhost.conf in your httpd.conf so this file is not actually rea

Re: How to use Django with Apache and mod_wsgi

2012-08-22 Thread Seyfullah Tıkıç
Then do I have to delete 00_default_vhost.conf file? What name can I give to this new created file? 2012/8/20 Joseph Mutumi > You would be good to organize your configuration. Try creating a file > under /etc/apache2/vhosts.d/ > Probably my_domain.com (substitute my_domain.com with your actual d

Re: How to use Django with Apache and mod_wsgi

2012-08-22 Thread Seyfullah Tıkıç
I checked my file again, it is not incomplete. There is no file in /etc/apache2/conf.d Output of apachectl -S is as below. I actually uninstalled mod_python, I want to use mod_wsgi only. Syntax error on line 49 of /etc/apache2/modules.d/16_mod_python.conf: Invalid command 'PythonHandler', perhaps

Re: How to use Django with Apache and mod_wsgi

2012-08-20 Thread Joseph Mutumi
You would be good to organize your configuration. Try creating a file under /etc/apache2/vhosts.d/ Probably my_domain.com (substitute my_domain.com with your actual domain). And move all the configuration to it: ServerAdmin webmaster@my_domain.com DocumentRoot /usr/local/django/mysite/med

Re: How to use Django with Apache and mod_wsgi

2012-08-20 Thread Joris
The DocumentRoot directive is missing from the httpd.conf, indicating you did not send all the required data. This may be because your attachment is incomplete: There is an include statement in your httpd.conf: "Include /etc/apache2/conf.d/*.conf" All files from that conf.d folder are also pro

Re: How to use Django with Apache and mod_wsgi

2012-08-20 Thread Seyfullah Tıkıç
httpd.conf file is in the attachment. 2012/8/20, Joseph Mutumi : > Hello, > > Could you post the VirtualHost configuration for Apache? > That would greatly help us help you. > > Regards > > On Mon, Aug 20, 2012 at 12:30 AM, Seyfullah Tıkıç wrote: > >> Hello, >> >> I read the article below. >> htt

Re: How to use Django with Apache and mod_wsgi

2012-08-19 Thread Joseph Mutumi
Hello, Could you post the VirtualHost configuration for Apache? That would greatly help us help you. Regards On Mon, Aug 20, 2012 at 12:30 AM, Seyfullah Tıkıç wrote: > Hello, > > I read the article below. > https://docs.djangoproject.com/en/1.3/howto/deployment/modwsgi/ > > But still http://lo

How to use Django with Apache and mod_wsgi

2012-08-19 Thread Seyfullah Tıkıç
Hello, I read the article below. https://docs.djangoproject.com/en/1.3/howto/deployment/modwsgi/ But still http://localhost redirects to /var/www/localhost/htdocs/index.html. I want http://localhost/ redirescts to /home/seyfullah/django/mysite. How can I do this? -- SEYFULLAH TIKIÇ -- You rec

Re: How to use Django with Apache and mod_wsgi

2010-06-06 Thread Graham Dumpleton
On Jun 5, 9:42 pm, Richard Shebora wrote: > A must read for using django > withmod_wsgi...http://blog.dscpl.com.au/2010/03/improved-wsgi-script-for-use-with.html And actually starting with the official mod_wsgi documentation and getting a hello world program working first is a good idea. ht

Re: How to use Django with Apache and mod_wsgi

2010-06-05 Thread Richard Shebora
rstand ,how i can use Django  with mod_wsgi >> I am using ubuntu 10.04 (LTS) >> please help..... > > This article is titled "How to use Django with Apache and mod_wsgi": > http://docs.djangoproject.com/en/dev/howto/deployment/modwsgi/ > > -- > Dmit

Re: How to use Django with Apache and mod_wsgi

2010-06-04 Thread Dmitry Dulepov
Hi! Jagdeep Singh Malhi wrote: > please Discuss in detail ... > I am not able to understand ,how i can use Django with mod_wsgi > I am using ubuntu 10.04 (LTS) > please help. This article is titled "How to use Django with Apache an

Re: How to use Django with Apache and mod_wsgi

2010-06-04 Thread Kenneth Gonsalves
On Saturday 05 June 2010 10:49:59 Jagdeep Singh Malhi wrote: > please Discuss in detail ... > I am not able to understand ,how i can use Django with mod_wsgi > no big deal - just follow the docs -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this mess

How to use Django with Apache and mod_wsgi

2010-06-04 Thread Jagdeep Singh Malhi
please Discuss in detail ... I am not able to understand ,how i can use Django with mod_wsgi I am using ubuntu 10.04 (LTS) please help. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to