Re: Deploy Django on Apache server

2017-08-09 Thread Andréas Kühne
2017-08-09 9:01 GMT+02:00 Akshay Jagirdar : > Hi Guys, > > Please help me with deployment of Django project on Apache server. > > My System environment... > > OS : Fedora 20 > Python : 2.7 > Django : 1.11 > Apache: 2.4 > > What I know is i have modify httpd.conf file in > /etc/httpd/conf/htt

Deploy Django on Apache server

2017-08-09 Thread Akshay Jagirdar
Hi Guys, Please help me with deployment of Django project on Apache server. My System environment... OS : Fedora 20 Python : 2.7 Django : 1.11 Apache: 2.4 What I know is i have modify httpd.conf file in /etc/httpd/conf/httpd.conf, please help me with this. Thanks, Akshay Jagirdar --

Re: django on apache server

2016-08-18 Thread Asad Jibran Ahmed
Not being able to load CSS points to an Apache config issue. Did you setup apache so your static root configured to serve files from your static folder? Your apache config might be helpful here. Also, what you have pasted here seems like a warning, so while you should fix it, this is probably n

django on apache server

2016-08-18 Thread hirok biswas
while i have configuring django app on apchhe basically it works almost well but shows this error log and css not work what can i do now??? i am using #apache2 #django 1.9.6 ` [Wed Aug 17 14:54:12.747345 2016] [wsgi:error] [pid 17910:tid 139970848413440] /home/hirok/apachetest/venv/lib/python2.

Re: Configure Mod_Python fo Django on Apache server on Ubuntu

2008-04-06 Thread HangingClowns
; > > to load and that is how django starts up. The third part is a > > templates > > > > > directory, which is where all the django templates go. The last part > > is > > > > the > > > > > SQL we won't get into that here

Re: Configure Mod_Python fo Django on Apache server on Ubuntu

2008-04-06 Thread Michael
t; > > be defined by you inside of settings.py. Apache (generally www-data) > > > should > > > > be given permission to read and execute these files. > > > > > > You should make sure django is in your python path. This is simple > open > > &

Re: Configure Mod_Python fo Django on Apache server on Ubuntu

2008-04-06 Thread HangingClowns
simple open > > up a > > > python shell and type 'import django'. make sure your project is in a > > python > > > path. This is done with the PythonPath in the config file. Other than > > that > > > read up on how apache configuration works and

Re: Configure Mod_Python fo Django on Apache server on Ubuntu

2008-04-06 Thread Michael
rtualHost that I have included from my main > apache.conf > > file:http://dpaste.com/43421/ > > > > I hope that helps you all: > > > > Michael > > > > On Sun, Apr 6, 2008 at 8:03 AM, <[EMAIL PROTECTED]> wrote: > > > > > Exact same issue

Re: Configure Mod_Python fo Django on Apache server on Ubuntu

2008-04-06 Thread HangingClowns
un, Apr 6, 2008 at 8:03 AM, <[EMAIL PROTECTED]> wrote: > > > Exact same issue here. Tried everything listed. Any other ideas or > > possibly a sample config for httpd.conf on ubuntu. > > > Thanks in advance for your help > > > -Original Message- > > From:

Re: Configure Mod_Python fo Django on Apache server on Ubuntu

2008-04-06 Thread Michael
: > > Exact same issue here. Tried everything listed. Any other ideas or > possibly a sample config for httpd.conf on ubuntu. > > Thanks in advance for your help > > > > > > -Original Message- > From: Will Boyce <[EMAIL PROTECTED]> > Sent: Sunday

Re: Configure Mod_Python fo Django on Apache server on Ubuntu

2008-04-06 Thread keith
figure Mod_Python fo Django on Apache server on Ubuntu Assuming your django project (mysite) is in /home/webmaster/ public_html/django/ then you'll want a trailing "/" in your PythonPath. Hope this helps. On Apr 5, 9:53 pm, HangingClowns <[EMAIL PROTECTED]> wrote: > I s

Re: Configure Mod_Python fo Django on Apache server on Ubuntu

2008-04-06 Thread Graham Dumpleton
On Apr 6, 5:23 pm, Will Boyce <[EMAIL PROTECTED]> wrote: > Assuming your django project (mysite) is in /home/webmaster/ > public_html/django/ then you'll want a trailing "/" in your > PythonPath. No you don't. Trailing slash shouldn't make any difference. What gives you that idea? Graham > H

Re: Configure Mod_Python fo Django on Apache server on Ubuntu

2008-04-06 Thread Will Boyce
Assuming your django project (mysite) is in /home/webmaster/ public_html/django/ then you'll want a trailing "/" in your PythonPath. Hope this helps. On Apr 5, 9:53 pm, HangingClowns <[EMAIL PROTECTED]> wrote: > I should have the latest versions available for Apache and mod_python > cause I just

Re: Configure Mod_Python fo Django on Apache server on Ubuntu

2008-04-05 Thread HangingClowns
What's the syntax for that? Is that like that chmod? On Apr 5, 5:08 pm, Michael <[EMAIL PROTECTED]> wrote: > Simply django can't find your settings.py file. This could be a few things > but based on where the file is located my bet is that the apache process > (most likely www-data on ubuntu) doe

Re: Configure Mod_Python fo Django on Apache server on Ubuntu

2008-04-05 Thread Michael
Simply django can't find your settings.py file. This could be a few things but based on where the file is located my bet is that the apache process (most likely www-data on ubuntu) doesn't have permissions to access your settings.py file. Give www-data permissions to access the file and you should

Configure Mod_Python fo Django on Apache server on Ubuntu

2008-04-05 Thread HangingClowns
I should have the latest versions available for Apache and mod_python cause I just put those onto my server about 2 weeks ago. I'm having trouble understanding how to edit the Apache config file for Django. I currently use the code snippet below for my settings in Apache. And this is what the erro