Re: Apache and mod_wsgi with django

2023-01-01 Thread Mike Dewhirst
On 2/01/2023 1:44 pm, pankaj palmate wrote: Hi i am using Apache with mod_wsgi.i want to serve 5000 users at a time.how many processes and threads should I use in order to serve 5000 connections concurrently...in wsgi daemon process ? I can't answer the question because it is above my pay-gr

Re: Apache and Djagno

2015-01-05 Thread Eddilbert Macharia
hello, next set up n apaches virtual host as i have done above. thats all. -- 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...@googlegroup

Re: Apache and Djagno

2015-01-05 Thread th . granier
hello i have installed wsgi but i don't know how to use apache instead of the Django's runserver default help!!! Thanks Le samedi 3 janvier 2015 17:45:00 UTC+1, SungHo Park a écrit : > > Hi > I have tried to use Django in Apache, but it doesn't work. > > My Django's version is 1.7.1 so I refered

Re: Apache and Djagno

2015-01-05 Thread Eddilbert Macharia
On Saturday, January 3, 2015 7:45:00 PM UTC+3, SungHo Park wrote: > > Hi > I have tried to use Django in Apache, but it doesn't work. > > My Django's version is 1.7.1 so I refered this page. > https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/ >

Re: Apache and Djagno

2015-01-04 Thread Collin Anderson
Hi, What happens when you try? "sudo a2ensite " expects a file here: /etc/apache2/sites-available/.conf You then need to "sudo service apache2 reload" Collin On Saturday, January 3, 2015 11:45:00 AM UTC-5, SungHo Park wrote: > > Hi > I have tried to use Django in Apache, but it doesn't work.

Re: Apache and Djagno

2015-01-03 Thread Mike Dewhirst
On 4/01/2015 3:45 AM, SungHo Park wrote: Hi I have tried to use Django in Apache, but it doesn't work. My Django's version is 1.7.1 so I refered this page. https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/ I'm Korean and

Re: Apache on Windows & multiple Django apps

2014-09-05 Thread Collin Anderson
You could also ask for tips on the modwsgi list which may have a good solution. -- 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...@googleg

Re: Apache on Windows & multiple Django apps

2014-09-05 Thread Tom Evans
On Fri, Sep 5, 2014 at 3:28 PM, DJ-Tom wrote: > Well that seems much too complicated just for running variations of the > same application twice. There all kinds of stuff running on that server and > adding a proxy to it would be a nightmare to check if everything still > works. > > What a pit

Re: Apache on Windows & multiple Django apps

2014-09-05 Thread Robert Grant
I just run it on Windows with foreman start (the Heroku toolbelt) and give it Waitress as a server. On Friday, 5 September 2014 16:28:03 UTC+2, DJ-Tom wrote: > > Well that seems much too complicated just for running variations of > the same application twice. There all kinds of stuff running

Re: Apache on Windows & multiple Django apps

2014-09-05 Thread DJ-Tom
Well that seems much too complicated just for running variations of the same application twice. There all kinds of stuff running on that server and adding a proxy to it would be a nightmare to check if everything still works. What a pity, Django is such a powerful tool, but lacks easy deplo

Re: Apache on Windows & multiple Django apps

2014-09-03 Thread Tom Evans
On Tue, Sep 2, 2014 at 3:28 PM, DJ-Tom wrote: > > > Am Dienstag, 2. September 2014 13:51:28 UTC+2 schrieb Tom Evans: > >> >> The most obvious and simple solution is to not use Windows. > > > lol - ever heard of the "box of pandora"? :-) > > My knowledge of Linux boxes is very close to zero - so se

Re: Apache on Windows & multiple Django apps

2014-09-03 Thread DJ-Tom
Hi Collin, unfortunately, changing this makes no difference at all. Thomas Am Dienstag, 2. September 2014 17:45:37 UTC+2 schrieb Collin Anderson: > > setdefault is what's causing your trouble. Change it to an explicit: > > os.environ['DJANGO_SETTINGS_MODULE'] = 'app.settings' > -- You received

Re: Apache on Windows & multiple Django apps

2014-09-02 Thread DJ-Tom
*facepalm*... honestly, I did not spot the difference, i believed the line I had was right!!! thanks anyways, I will try that tomorrow. Am Dienstag, 2. September 2014 17:45:37 UTC+2 schrieb Collin Anderson: > > setdefault is what's causing your trouble. Change it to an explicit: > > os.environ[

Re: Apache on Windows & multiple Django apps

2014-09-02 Thread Collin Anderson
setdefault is what's causing your trouble. Change it to an explicit: os.environ['DJANGO_SETTINGS_MODULE'] = 'app.settings' -- 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

Re: Apache on Windows & multiple Django apps

2014-09-02 Thread DJ-Tom
Am Dienstag, 2. September 2014 13:51:28 UTC+2 schrieb Tom Evans: > The most obvious and simple solution is to not use Windows. > lol - ever heard of the "box of pandora"? :-) My knowledge of Linux boxes is very close to zero - so setting up a server that is not based on Windows would be the

Re: Apache on Windows & multiple Django apps

2014-09-02 Thread Robert Grant
Waitress runs fine on Windows; just install with pip. On Tuesday, 2 September 2014 13:51:28 UTC+2, Tom Evans wrote: > > On Tue, Sep 2, 2014 at 12:08 PM, DJ-Tom > > wrote: > > Most likely the docs refer to this section of wsgi.py: > > > >> # We defer to a DJANGO_SETTINGS_MODULE already in the e

Re: Apache on Windows & multiple Django apps

2014-09-02 Thread Tom Evans
On Tue, Sep 2, 2014 at 12:08 PM, DJ-Tom wrote: > Most likely the docs refer to this section of wsgi.py: > >> # We defer to a DJANGO_SETTINGS_MODULE already in the environment. This >> breaks >> # if running multiple sites in the same mod_wsgi process. To fix this, use >> # mod_wsgi daemon mode wit

Re: Apache on Windows & multiple Django apps

2014-09-02 Thread DJ-Tom
Most likely the docs refer to this section of wsgi.py: # We defer to a DJANGO_SETTINGS_MODULE already in the environment. This > breaks > # if running multiple sites in the same mod_wsgi process. To fix this, use > # mod_wsgi daemon mode with each site in its own daemon process, or use > # os.env

Re: Apache on Windows & multiple Django apps

2014-09-01 Thread Collin Anderson
See the docs on deploying with mod_wsgi: https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/modwsgi/ If multiple Django sites are run in a single mod_wsgi process, all of them will use the settings of whichever one happens to run first. This can be solved with a minor edit to wsgi.py (

Re: apache module - which is better?!

2014-04-30 Thread Russell Keith-Magee
On Thu, May 1, 2014 at 4:18 AM, C. Kirby wrote: > mod_wsgi > > Django does not support mod_python > > It's also important to point out why this is - mod_python is dead. It's been officially deprecated by Apache, and is not being maintained. It hasn't been updated for several *years*. Yours, Russ

Re: apache module - which is better?!

2014-04-30 Thread C. Kirby
mod_wsgi Django does not support mod_python On Wednesday, April 30, 2014 2:22:01 PM UTC-5, Hamed Rostami wrote: > > which is better? > 1-mod_python > 2-mod_wsgi > give me reason & document about this. > > > -- You received this message because you are subscribed to the Google Groups "Django u

Re: Apache, mod_wsgi and sharing videos to devices/machines

2014-04-11 Thread Adam Teale
Hmm seems that the error is just part of working with the development server. I shall work on trying to put this into production mode Cheers On Fri, Apr 11, 2014 at 10:31 AM, Adam Teale wrote: > Hi Guys, > > If someone has the time to take a look at this i'd really appreciate it. > > I am in th

Re: Apache with mod_wsgi not serving static files

2014-02-21 Thread Alex Mandel
On 02/21/2014 04:00 PM, Bryan P wrote: > Hello all, > > My Django application is not serving my static files (CSS, JS) and keeps > returning a 404 error. I have set the STATIC_ROOT to the location where I > collected all my static files with manage.py and set an alias in my > VirtualHost. > >

Re: Apache environment variables in Django 1.6

2013-11-22 Thread Jon Dufresne
> With you setup is it possible to run into some race conditions when two > simultaneous request coming for the first time when _application is still > uninitialized? That is a good question, to which I do not have a good answer. If you come across any issues with this solution I'd be interested

Re: Apache environment variables in Django 1.6

2013-11-22 Thread Mike Starov
Very nice. I have moved import inside the application call but was concerned about evaluating that impot on every request. Looks like you got that covered. With you setup is it possible to run into some race conditions when two simultaneous request coming for the first time when _application is

Re: Apache environment variables in Django 1.6

2013-11-21 Thread Jon Dufresne
On Thu, Nov 21, 2013 at 8:46 AM, Mike Starov wrote: > I encountered same issue in my deployment. Have you found a solution? > Yes I did. I am still not sure if this is a bug or intentional. It appears that in 1.6, settings.py is now imported *before* the first run of the WSGI application. Therefo

Re: Apache environment variables in Django 1.6

2013-11-21 Thread Mike Starov
I encountered same issue in my deployment. Have you found a solution? On Wednesday, November 20, 2013 7:16:47 PM UTC-8, Jon Dufresne wrote: > > Hi, > > I recently upgraded my Django application from 1.5 to 1.6. This > application runs on Apache with mod_wsgi. After upgrading, Django > seems una

RE: Apache JQuery deployment advice

2013-03-21 Thread Sells, Fred
users@googlegroups.com Subject: Re: Apache JQuery deployment advice Have you ever worked with anything like SVN or GIT? Templates are a very basic and useful thing, make sure you know what Django offers and why you don't want to use it. As already mentioned: take a look at django South, too. On 21/0

Re: Apache JQuery deployment advice

2013-03-20 Thread Michael Pimmer
Have you ever worked with anything like SVN or GIT? Templates are a very basic and useful thing, make sure you know what Django offers and why you don't want to use it. As already mentioned: take a look at django South, too. On 21/03/13 05:28, Sells, Fred wrote: I'm converting a Java jnlp

Re: Apache JQuery deployment advice

2013-03-20 Thread Felipe Prenholato
You can do deploy using git and git tags for version and south migration scripts for db changes. v099 is a git tag in your repository. In some automated way (check fabric). In my case I not gone to fabric yet, so I have a bash script that do: git reset --hard && git pull && git checkout $1 pyt

Re: Apache + mod_wsgi

2013-01-04 Thread Tsolmon Narantsogt
Thanks you. I did it. :-) On Fri, Jan 4, 2013 at 10:23 PM, Tsolmon Narantsogt wrote: > Thanks you its works fine. > > But another issue > > Django Version: > 1.3.4Exception Type: > ImportErrorException Value: > > No module named base.urls > > base is my app. > my urls > > urlpatterns = patterns(

Re: Apache + mod_wsgi

2013-01-04 Thread Tsolmon Narantsogt
Thanks you its works fine. But another issue Django Version:1.3.4Exception Type:ImportErrorException Value: No module named base.urls base is my app. my urls urlpatterns = patterns('', url(r'^$', include('base.urls')), . On Fri, Jan 4, 2013 at 9:51 PM, Addy Yeow wrote: > You may w

Re: Apache + mod_wsgi

2013-01-04 Thread Addy Yeow
You may want to define WSGIDaemonProcess inside your VirtualHost, see http://modwsgi.readthedocs.org/en/latest/configuration-directives/WSGIDaemonProcess.html On Fri, Jan 4, 2013 at 9:36 PM, Tsolmon Narantsogt wrote: > Hello Comrades. > I have a problem when deploying django project. I installed

Re: [Apache] Trouble deploying my web app with mod_python

2012-11-14 Thread Issam Outassourt
Well I started discovering django through the djangobook. I'll try wsgi and let you know. Thabks for your help Le 14 nov. 2012 14:21, a écrit : > ** > Hi Isaam! > > Do you have a specific reason for using mod_python? > > This module is old and deprecated. The recommended way is to use other > mod

Re: [Apache] Trouble deploying my web app with mod_python

2012-11-14 Thread jirka . vejrazka
Hi Isaam! Do you have a specific reason for using mod_python? This module is old and deprecated. The recommended way is to use other modules, many people use mod_wsgi which is really simple to deploy and use. HTH Jirka -Original Message- From: Issam Outassourt Sender: django

Re: Apache/mod_wsgi documentation problem

2012-06-18 Thread Daniel Roseman
On Monday, 18 June 2012 13:42:46 UTC+1, coolgeek wrote: > > Hello - > > Django newb. I hope this is the right place to post this. > > I had a problem with the virtualenv section of the Apache/mod_wsgi > documentation > > > https://docs.djangoproject.com/en/1.4/howto/deployment/wsgi/modwsgi/#u

Re: Apache and wsgi => Where to put my djangoproject files? Please Help!

2012-05-14 Thread doniyor
can you pls give me your email? if possible, your skype also, if you can, i would love to discuss it in skype.. sofar it is working now, but there are still some questions and hesitations... thanks :) Am Dienstag, 15. Mai 2012 07:35:44 UTC+2 schrieb lawgon: > > On Mon, 2012-05-14 at 06:13

Re: Apache and wsgi => Where to put my djangoproject files? Please Help!

2012-05-14 Thread kenneth gonsalves
On Mon, 2012-05-14 at 06:13 -0700, doniyor wrote: > hey lawgon, one more question. i did the steps. but still not > working. > could you please take a look into my whole project on server if i give > you > the access thru PuTty? no problem - send me the username, password and url offlist. --

Re: Apache and wsgi => Where to put my djangoproject files? Please Help!

2012-05-14 Thread doniyor
one more thing, there are wsgi.py and example.wsgi files. are they equivalent or they are different files? and where should they live ? Am Montag, 14. Mai 2012 15:13:03 UTC+2 schrieb doniyor: > > hey lawgon, one more question. i did the steps. but still not working. > could you please take a

Re: Apache and wsgi => Where to put my djangoproject files? Please Help!

2012-05-14 Thread doniyor
hey lawgon, one more question. i did the steps. but still not working. could you please take a look into my whole project on server if i give you the access thru PuTty? now, there is nothing under docroot folder. just empty. and if i open browser, it is trying to show again the content of proj

Re: Apache and wsgi => Where to put my djangoproject files? Please Help!

2012-05-14 Thread doniyor
oh okay, many thanks.. Am Montag, 14. Mai 2012 13:37:48 UTC+2 schrieb lawgon: > > On Mon, 2012-05-14 at 01:22 -0700, doniyor wrote: > > by the way, i am just on terminal, accessing the remote server via > > PuTTy. > > so i should push the whole project to some repository and pull it into > >

Re: Apache and wsgi => Where to put my djangoproject files? Please Help!

2012-05-14 Thread kenneth gonsalves
On Mon, 2012-05-14 at 01:22 -0700, doniyor wrote: > by the way, i am just on terminal, accessing the remote server via > PuTTy. > so i should push the whole project to some repository and pull it into > a > project folder on server from repository, right? right - but do not put the sensitive pa

Re: Apache and wsgi => Where to put my djangoproject files? Please Help!

2012-05-14 Thread doniyor
by the way, i am just on terminal, accessing the remote server via PuTTy. so i should push the whole project to some repository and pull it into a project folder on server from repository, right? Am Montag, 14. Mai 2012 09:51:23 UTC+2 schrieb doniyor: > > hi there, i need your help again, >

Re: Apache and wsgi => Where to put my djangoproject files? Please Help!

2012-05-14 Thread doniyor
so the docroot should remain as it was, right? what is actually docroot? is it the folder which the www needs to open the webpage? Am Montag, 14. Mai 2012 09:51:23 UTC+2 schrieb doniyor: > > hi there, i need your help again, > > i configured my httpd.conf file, i told him where is my django.wsg

Re: Apache and wsgi => Where to put my djangoproject files? Please Help!

2012-05-14 Thread kenneth gonsalves
On Mon, 2012-05-14 at 00:51 -0700, doniyor wrote: > i configured my httpd.conf file, i told him where is my django.wsgi > file. > the directory is this: /usr/local/django/mysite/myproject. What i > dont > understand is: during configuration, do i have to 'startproject'? or > will i > just copy

Re: Apache does not display a flash file

2012-05-10 Thread atul khairnar
Sorry for dumping all Error Log. The relevant part of log shows: Error Log Shows : [19:09:24.001] GET http://127.0.0.1/site_media/flash/flashvortex.swf [HTTP/1.1 500 INTERNAL SERVER ERROR 131ms] On May 10, 6:41 pm, atul khairnar wrote: > Error Log Shows : [19:09:24.001] > GEThttp://127.0.0.

Re: Apache does not display a flash file

2012-05-10 Thread atul khairnar
Error Log Shows : [19:09:24.001] GET http://127.0.0.1/site_media/flash/flashvortex.swf [HTTP/1.1 500 INTERNAL SERVER ERROR 131ms] [19:09:23.104] GET http://127.0.0.1/play/ [HTTP/1.1 200 OK 166ms] [19:09:23.344] GET http://127.0.0.1/site_media/style1.css [HTTP/1.1 200 OK 4ms] [19:09:23.373] Expect

Re: Apache does not display a flash file

2012-05-10 Thread Anurag Chourasia
Could you have a look at the Error Logs as shown on the Tools --> Web Developer --> Web Console in Firefox if u have something in there? On Thu, May 10, 2012 at 7:43 AM, atul khairnar wrote: > When right-clicked at the location where flash should have rendered, > it gives error message, "Movie No

Re: Apache does not display a flash file

2012-05-10 Thread atul khairnar
When right-clicked at the location where flash should have rendered, it gives error message, "Movie Not Loaded" On May 10, 10:32 am, atul khairnar wrote: > Hi, > Recently I deployed my django project on Apache using mod_wsgi. > Everything is working perfect except flash. The flash (.swf file) did

Re: Apache Segfaults

2012-02-01 Thread akaariai
On Feb 2, 4:21 am, Alex Kopp wrote: > Yes, the development server works fine on the server I am getting the > apache error. The server is ubuntu and everything is installed either via > apt-get or pip. I'm not copying any modules from machine to machine. This is out of my expertise area... But, s

Re: Apache Segfaults

2012-02-01 Thread Alex Kopp
Yes, the development server works fine on the server I am getting the apache error. The server is ubuntu and everything is installed either via apt-get or pip. I'm not copying any modules from machine to machine. On Wed, Feb 1, 2012 at 9:13 PM, akaariai wrote: > On Feb 2, 3:47 am, Loafer wrote:

Re: Apache Segfaults

2012-02-01 Thread akaariai
On Feb 2, 3:47 am, Loafer wrote: > Here's the setup: > > I have a Django website that is being run by Apache, and MySQL with no > issues. I decided to implement some GIS features as an update. Since > MySQL doesn't have much support for GIS, I decided to switch my > database over to Postgres. Afte

Re: Apache RewriteRule for django

2012-01-04 Thread Bob Kline
On Mon, Jan 2, 2012 at 12:47 PM, Bob Kline wrote: > So, when Apache was telling me (when the first version of the > AddHandler directive was in play) "The requested URL > "/appname.fcgi/admin was not found on this server" (the error message > leading me to the incorrect conclusion that Apache int

Re: Apache RewriteRule for django

2012-01-02 Thread Bob Kline
On Mon, Jan 2, 2012 at 11:39 AM, Dan Poirier wrote: > Apache doesn't quite work that way. If the part before a slash > corresponds to a file, it'll use that file and pass the rest to the > request processor. Ah, very clever. I can confirm what you say by changing the AddHandler directive from

Re: Apache RewriteRule for django

2012-01-02 Thread Dan Poirier
On Mon. 2012-01-02 at 07:23 AM EST, Bob Kline wrote: > So, my .htaccess file looks just like that (with "mysite" replaced > with the real name of the script). The part I don't understand is the > slash between the script name and the placeholder $1. The way the > filesystem syntax works, that sla

Re: Apache RewriteRule for django

2012-01-02 Thread Bob Kline
Thanks, Tiago. Unfortunately I don't understand enough Portuguese to get the full benefit of the page you pointed me to. It appears that your using WSGI on a server on which you have root access, whereas I'm moving the app to a shared hosting server where I can't edit httpd.conf, and I'm using

Re: Apache RewriteRule for django

2012-01-02 Thread Bob Kline
Thanks for your reply, Daniel. My reading of the documents you pointed me to was that the FastCGIExternalServer directive goes in the httpd.conf file, to which I don't have access, as I'm setting this up on a shared hosting service. So I followed the instructions pointed to by the note furthe

Re: Apache RewriteRule for django

2012-01-02 Thread Daniel Roseman
On Monday, 2 January 2012 02:39:00 UTC, Bob Kline wrote: > > I'm moving a django site to a shared hosting server, where I'll need > to use fastcgi (the site on the original server is using mod_python, > which isn't available on the shared hosting server). I have found the > instructions for set

Re: Apache RewriteRule for django

2012-01-01 Thread Tiago de Souza Moraes
Hi Bob Kline, May be that this link help you: http://teago.futuria.com.br/tip/4/ Tiago On Mon, Jan 2, 2012 at 12:39 AM, Bob Kline wrote: > I'm moving a django site to a shared hosting server, where I'll need > to use fastcgi (the site on the original server is using mod_python, > which isn't av

Re: apache and remote_user

2011-10-26 Thread Tim
Thanks David, Yes I've read and re-read that page. I think my problem is coming from Apache though. It looks like my next step is more research on apache authorization from a domain. thanks, --Tim -- You received this message because you are subscribed to the Google Groups "Django users" gro

Re: apache and remote_user

2011-10-25 Thread David Fischer
Have you taken a look at the RemoteUserMiddleware? https://docs.djangoproject.com/en/1.3/howto/auth-remote-user/ On Oct 25, 11:16 am, Tim wrote: > Hi, > I've read the django, wsgi, and apache docs and still making no progress. > Freebsd 8, Apache2.2.17, Django1.30, Python 2.7.1 > > I'm inside an

Re: Apache errors when trying to move Django project to python-wsgi production environment

2011-07-25 Thread Dmitry Pisklov
Can't see any errors - only notices... -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/NwcodZvCnNoJ. To post to this group, send email to django-users@googl

Re: apache+mod_wsgi, redirect to https

2011-05-31 Thread refreegrata
Thanks men, I did this: -- ... ... RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} ... Works ok to me. Now I must to test the "Require Auth". Bye. On 31 mayo, 13:33, Michael Sc

Re: apache+mod_wsgi, redirect to https

2011-05-31 Thread Michael Scovetta
I usually set up two virtual hosts, one listening on port 80 and the other on 443. The virtual host listening on port 80 just redirects to the other one: ServerAdmin ad...@example.com ServerName domain.com HostnameLookups Off UseCanonicalName On ServerSignature Off Red

Re: Apache + mod_wsgi deploy problem

2011-05-10 Thread Renato Beserra
Now I understand you, Stuart. Thanks to both yours and Tom's advices i was able to notice my network was fine and that still my apache did not get any external requests. I suspected that my ISP was blocking the port 80 and so i changed to 85 and everything is running smoothly. Thank you very much!

Re: Apache + mod_wsgi deploy problem

2011-05-10 Thread Stuart MacKay
The idea behind using telnet was simply to verify the network connections - that the web server is listening on the correct port and that your router was working correctly. Stuart I am not sure I got your suggestion and I don't have telnet working but i have similar rules for django productio

Re: Apache + mod_wsgi deploy problem

2011-05-10 Thread Renato Beserra
I am not sure I got your suggestion and I don't have telnet working but i have similar rules for django production server on port 8000 and ssh and they works just fine from external hosts. Does that help? Thanks. 2011/5/10 Stuart MacKay > Can you telnet to the web server: telnet 80 (assuming >

Re: Apache + mod_wsgi deploy problem

2011-05-10 Thread Stuart MacKay
Can you telnet to the web server: telnet 80 (assuming it is listening on port 80). That would at least tell you whether your LAN setup was correct. Stuart MacKay Lisboa, Portugal -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to thi

Re: Apache + mod_wsgi deploy problem

2011-05-10 Thread Renato Beserra
I guessed that the problem was at my httpd.conf because i am a newbie at apache configuration. But i looked at both logs you indicated and they show absolutely no response to external request. I checked my router again and the port 80 is forwarded to the right internal IP and the router firewall se

Re: Apache + mod_wsgi deploy problem

2011-05-10 Thread Tom Evans
On Tue, May 10, 2011 at 12:39 PM, Renato Beserra wrote: > Hi, > > I think I have a really basic problem but I didn't find a solution searching > the web. > > I have a Django application running on my local apache, and I can access > everything locally whitout any problems. But when i try to access

Re: Apache mod_wgsi

2011-03-11 Thread Karen Tracey
On Fri, Mar 11, 2011 at 4:21 PM, groovyroovy wrote: > On Ubuntu 10.10, the libmod_wgsi uses Python 3.1. Will this be > incompatible with Django? Must I compile the mod_wgsi for Python 2.6? > > I don't believe so, per this thread: http://groups.google.com/group/modwsgi/browse_thread/thread/796974f

Re: Apache & mod_wsgi are configured correctly. Need Django to recognize my django.wsgi file.

2010-12-12 Thread Mike Dewhirst
On 12/12/2010 10:55pm, Mike Dewhirst wrote: On 12/12/2010 12:35pm, jc wrote: I ran the Django develplment server and everything runs fine. It's only when I go back to the other web server that things start to break on me. In that case check out http://blip.tv/file/3840484 for Graham Dumpleton'

Re: Apache & mod_wsgi are configured correctly. Need Django to recognize my django.wsgi file.

2010-12-12 Thread Mike Dewhirst
On 12/12/2010 12:35pm, jc wrote: I ran the Django develplment server and everything runs fine. It's only when I go back to the other web server that things start to break on me. In that case check out http://blip.tv/file/3840484 for Graham Dumpleton's talk on precisely the problem you describe

Re: Apache & mod_wsgi are configured correctly. Need Django to recognize my django.wsgi file.

2010-12-11 Thread jc
I ran the Django develplment server and everything runs fine. It's only when I go back to the other web server that things start to break on me. On Dec 11, 8:06 pm, Mike Dewhirst wrote: > On 12/12/2010 10:56am, jc wrote: > > > > > > > > > > > I've tried to fix my config files and it gives me a 50

Re: Apache & mod_wsgi are configured correctly. Need Django to recognize my django.wsgi file.

2010-12-11 Thread jc
I think after that comment I'm slowly getting it but I still need to go back and learn more. Regardless of the the horrible security holes in my application, this still wouldn't do anything as far as *not* making this django app run, would it? In other words, I know it's insecure as hell to do what

Re: Apache & mod_wsgi are configured correctly. Need Django to recognize my django.wsgi file.

2010-12-11 Thread Mike Dewhirst
On 12/12/2010 10:56am, jc wrote: I've tried to fix my config files and it gives me a 500 error, here is what i see n the logs. I've been told by someone else that they think it's still my mod_wsgi/Apache configuration and not the error that I'm getting in the log about missing modules. Any sugges

Re: Apache & mod_wsgi are configured correctly. Need Django to recognize my django.wsgi file.

2010-12-11 Thread Mike Dewhirst
On 12/12/2010 10:35am, jc wrote: You definitely lost me in some places but you've also cleared some things up in the process. I also noticed that I had "", which is lacking a directory for the WSGIScriptAlias. I've fixed that now. *Now*, I no longer get my listing of my files in my project when I

Re: Apache & mod_wsgi are configured correctly. Need Django to recognize my django.wsgi file.

2010-12-11 Thread Tim Sawyer
Here's the config I'm using for mod_wsgi: http://drumcoder.co.uk/blog/2009/nov/21/apache-mod_wsgi-config/ Hope that helps, Tim. On 11/12/10 23:35, jc wrote: You definitely lost me in some places but you've also cleared some things up in the process. I also noticed that I had "", which is lack

Re: Apache & mod_wsgi are configured correctly. Need Django to recognize my django.wsgi file.

2010-12-11 Thread jc
I've tried to fix my config files and it gives me a 500 error, here is what i see n the logs. I've been told by someone else that they think it's still my mod_wsgi/Apache configuration and not the error that I'm getting in the log about missing modules. Any suggestions? Here is the server error log

Re: Apache & mod_wsgi are configured correctly. Need Django to recognize my django.wsgi file.

2010-12-11 Thread jc
You definitely lost me in some places but you've also cleared some things up in the process. I also noticed that I had "", which is lacking a directory for the WSGIScriptAlias. I've fixed that now. *Now*, I no longer get my listing of my files in my project when I go to my address *but* I now get 5

Re: Apache & mod_wsgi are configured correctly. Need Django to recognize my django.wsgi file.

2010-12-11 Thread Mike Dewhirst
On 12/12/2010 7:14am, jc wrote: Apache& mod_wsgi are configured correctly (I've created a hello world .html apache file and a hello world mod_wsgi application with no problems). I know need my Django app to recognize my django.wsgi file. What makes me think that it's not recognizing my wsgi file

Re: Apache config. admin page displays without stylesheets

2010-11-11 Thread elliot
Thanks for the fix. Besides adding a directory directive, one also needs to make an alias so that http://mysite.com/media/ points to the style sheets. I added this to the same apache config as above (and now it works): AllowOverride None Options None Order allow,deny Allow from

Re: Apache config. admin page displays without stylesheets

2010-11-01 Thread Frank Wiles
On Sun, Oct 31, 2010 at 6:14 PM, elliot wrote: > Django runs as expected using manage.py runserver, but when I run it > from apache certain files are not found. > > This is because the apache user has a different base directory than > the user running manage.py.  So, I added absolute paths to my >

Re: apache reload

2010-10-04 Thread Tim Sawyer
On Oct 3, 5:39 pm, Олег Корсак wrote: Hello. I'm using mod_wsgi 3.3 + apache 2.2.16 on Gentoo Linux box. Is it possible to make apache kinda "reload"/"re-read"/"re-compile" python files from my django code every time they are changed? Yes. You get get mod_wsgi to watch your source files and r

Re: apache reload

2010-10-04 Thread Chris Lawlor
One approach is to set "MaxRequestsPerChild" to one, basically forcing the server to reload on every request. Probably not the most efficient way to accomplish this, but almost certainly the most simple to implement. On Oct 3, 5:39 pm, Олег Корсак wrote: > Hello. I'm using mod_wsgi 3.3 + apache 2

Re: apache won't start now for some reason....

2010-08-26 Thread Joel Klabo
Got it, I had accidentally deleted my error.log file and when it couldn't find it it borked itself. On Aug 26, 3:36 pm, Joel Klabo wrote: > Apache was running fine, as far as I know I didn't change anything. > This is the error log:http://dpaste.com/234582/ > > SIGTERM? -- You received this mes

Re: apache, mod_wsgi, windows: config hints?

2010-08-26 Thread Reinout van Rees
On 08/26/2010 05:01 AM, Sam Lai wrote: On 25 August 2010 20:09, Reinout van Rees wrote: I normally deploy everything on linux, but a customer requires windows. I have a working setup with apache and mod_wsgi, but I wonder about the efficiency. I see hints like "mod_wsgi, daemon mode" includi

Re: apache, mod_wsgi, windows: config hints?

2010-08-25 Thread Sam Lai
On 25 August 2010 20:09, Reinout van Rees wrote: > Hi all, > > I normally deploy everything on linux, but a customer requires windows.  I > have a working setup with apache and mod_wsgi, but I wonder about the > efficiency. > > I see hints like "mod_wsgi, daemon mode" including "but that doesn't w

Re: Apache and mod_wsgi memory help

2010-08-05 Thread Graham Dumpleton
On Aug 5, 10:14 pm, Albert Hopkins wrote: > ... Or perhaps mod_wsgi is not the way to go. > > Basically I have this situation.  I have a Django app that also has an > xmlrpc interface via the wiki recipe[1].  All works fine until I enabled > the ability to upload files.  Since they're binary fil

Re: Apache, wsgi and templates

2010-07-15 Thread lupuscramus
> > Another way is to set your admin_media_prefix to something like / > admin_media/ and then in your apache conf set an alias for it. > > Alias /admin_media/ /usr/local/pyvans/lib/python2.6/site-packages/ > grappelli/media/ > > > jaymz > In fact, this way works for me. Thanks for your help

Re: Apache, wsgi and templates

2010-07-15 Thread lupuscramus
Le Thursday 15 July 2010 14:25:27, jaymzcd a écrit : > There's a few ways to do it. An easy way if your just serving up some > css, images etc is to symlink your admin_media folder in your media > directory to the media folder in your django admin install: > > [ja...@293230-app1 ~]$ ls /var/django

Re: Apache, wsgi and templates

2010-07-15 Thread jaymzcd
There's a few ways to do it. An easy way if your just serving up some css, images etc is to symlink your admin_media folder in your media directory to the media folder in your django admin install: [ja...@293230-app1 ~]$ ls /var/django-projects/udox/public/media/ -l total 28 lrwxr-xr-x 1 root ro

Re: Apache configuration

2010-07-10 Thread Anders Petersson
Hi, Please use mod_wsgi instead of mod_python, it is better in all ways. http://docs.djangoproject.com/en/1.2/howto/deployment/modwsgi/#howto-deployment-modwsgi Best, Anders Petersson On Jul 10, 7:49 pm, octopusgrabbus wrote: > I worked through samples in the Visual Quickpro Guide Django. I us

Re: Apache config trouble

2010-07-07 Thread Bradley Hintze
BINGO. Thanks! The newbie didn't think of the syntax error being in the file, thought it was in httpd.conf. Found it, fixed it, all is well. I'm sure I'll be posting more. Thanks for the help again, Bradley On Wed, Jul 7, 2010 at 10:06 AM, Nuno Maltez wrote: > Hi, > > Are you sure the syntax er

Re: Apache config trouble

2010-07-07 Thread Nuno Maltez
Hi, Are you sure the syntax error isn't in the wsgi file itself? /Library/WebServer/testing123/apache/django.wsgi Nuno On Wed, Jul 7, 2010 at 3:02 PM, Bradley Hintze wrote: > Hi all, > > I'm getting the following error n the apache error log: > > [Wed Jul 07 09:53:12 2010] [error] [client 152.1

Re: Apache causes full path of django.wsgi path written into url?

2010-07-02 Thread ALJ
... actually ... it has to be the mod_rewrite that is causing the problem with mod_wsgi. But I don't get why. On Jul 2, 11:00 am, ALJ wrote: > I successfully set up a django site to redirect all non secure content > to https. However, I want to bring it back a little and only use https > for acco

Re: apache wsgi deployment on non-root URL and absolute URLs for the auth contrib app

2010-05-26 Thread Javier Rojas
Silly me can't write > > What should I do? change the LOGIN_*_URL settings somehow? to what > value should I change them? I checked some pinax code lying around > here, and I see that it simply prepends the url of deployment > under which the app is deployed to all the LOGIN_*_URL settings. >

Re: Apache refresh problem

2010-04-19 Thread reindyr
Thanks Tom for clarifying this point! For now I went the way of recalculating the navigation and get the expected results also with Apache. After hours scratching my head, this was actually a 3 liner: instead of calculating the results in the first place, pass the navigation app a function pointer

Re: Apache refresh problem

2010-04-19 Thread Tom Evans
On Mon, Apr 19, 2010 at 1:10 PM, reindyr wrote: > Hi, > > I am using django with Apache and mod_python. I have implemented a > site navigation using the django-nav module. Internally the module > maintains a dictionary and uses templatetags to generate the desired > code for the navigation. > > No

Re: Apache & wsgi & Django > Content-Length

2010-02-02 Thread urosh
Brett Parker THANK YOU! This was it I just added 'django.middleware.http.ConditionalGetMiddleware', to the middleware and that's it. I think I would search answer for this problem for a few days if you would't told me for this middleware. It is strange although that sometimes content-length was se

  1   2   3   4   >