Sorry about that,
let me describe my current configuration
I'm using webfaction hosting
I created two applications:
1. A Django (trunk)/mod_wsgi (2.0)/Python (2.5) one.
2. A Symbolic link to static one to deliver static resources for
admin_media
my http.conf has the following info:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++
ServerRoot "/home/experior/webapps/django_trunk/apache2"
LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule wsgi_module modules/mod_wsgi.so
KeepAlive Off
Listen 8311
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\"" combined
CustomLog logs/access_log combined
ServerLimit 2
WSGIScriptAliasMatch ^/([^/]+) /home/experior/webapps/django_trunk/$1/
apache/django.wsgi
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++
The django.wsgi has:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++
import os
import sys
sys.path = ['/home/experior/webapps/django_trunk', '/home/experior/
webapps/django_trunk/lib/python2.5'] + sys.path
sys.path.append('/home/experior/webapps/django_trunk/experior/')
from django.core.handlers.wsgi import WSGIHandler
os.environ['DJANGO_SETTINGS_MODULE'] = 'experior.settings'
application = WSGIHandler()
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++
Please let me know if you need more info.
Best regards,
On Jun 20, 11:11 pm, Graham Dumpleton <[email protected]>
wrote:
> Any solution may be dependent on how Django was being hosted. Neither
> of you have actually said how you were hosting Django. Even if OP
> worked it out, his solution may not be relevant to use due to you
> hosting it differently.
>
> Graham
>
> On Jun 21, 1:50 pm, hiphoox <[email protected]> wrote:
>
>
>
> > Hi,
>
> > I have exactly the same problem. Did you get any way to resolve it?
>
> > Regards,
>
> > Norberto Ortigoza
>
> > On Jun 12, 9:54 am, Francis <[email protected]> wrote:
>
> > > Hi folks,
>
> > > I have set to instance of my server, one serving in http with admin
> > > disable and another one accessible throu https with admin enable.
>
> > > But this config cause me some trouble, each time I save something in
> > > the administration interface, it redirect me to http instead of https.
> > > (which throw 404)
>
> > > Is there something I can set to tell the admin site to redirect to
> > > https?
>
> > > Thank you
>
> > > Francis
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---