Hello,
Django newbie here.

I just started with learning and trying Django. I quite like it.
I'm developing a little site on my Powerbook, but now I want to  
deploy it on a remote machine and I have some problems. I have three  
issues.

1. First I tried to use manage.py runserver on the remote machine.  
But the issue I am running into is that every time I try to view a  
page, the runserver process quits out on me and from the browser I  
get the response 'connection refused'.
(I have two Terminal windows open, both logged into the remote  
machine through ssh, one with '% python manage.py runserver', the  
other with '% links http://127.0.0.1:8000' )
I can't see why the runserver quits, i.e. there are no error messages  
popping up on in the Terminal. Is there another place to look for an  
error log from runserver? Or is there another way to debug this?

2. Then I tried to hook django up with the Apache 2.0.59/ 
mod_python3.3.0, which I already have running on this remote machine.  
And I've already got another -homebrew- mod_python site running  
there, so I placed my new django site under /mysite/ instead of  
just / (root). But now of course my links and redirections don't work  
any more (e.g. I should now go http://10.0.0.10/mysite/login instead  
of just http://10.0.0.10/login). Is there a djangonic way to solve  
this? Or can I also have Apache listen at another port, so it can  
just be http://10.0.0.10:8080/login ?

3. The docs say I should have Apache+mod_python as preform MPM as  
oposed to worker MPM. How do I find out which of those two I've got  
running here?
[Thu Jun 14 00:36:33 2007] [notice] mod_python: Creating 8 session  
mutexes based on 150 max processes and 0 max threads.
[Thu Jun 14 00:36:33 2007] [notice] mod_python: using  
mutex_directory /tmp
[Thu Jun 14 00:36:33 2007] [notice] Apache/2.0.59 (Unix) mod_python/ 
3.3.0b Python/2.5 DAV/2 configured -- resuming normal operations


Thanks,
dirk



-----------------------------
Dirk van Oosterbosch
de Wittenstraat 225
1052 AT Amsterdam
the Netherlands

http://labs.ixopusada.com
-----------------------------



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to