google-code-export / sct-project

Automatically exported from code.google.com/p/sct-project
1 stars 1 forks source link

SCT doesn't work smoothly with Apache's WSGIScriptAlias #215

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In my Apache configuration, I set something like
[code]WSGIScriptAlias /myproject /path/to/django.wsgi[/code].
Unfortunately, there is no way around this.

Consequently, I modified my urls.py to
[code](r'^myproject/community/', include('sphene.community.urls'), 
defaultdict)[/code]
and so on.

I can access the board through /myproject/board/ as expected.
But somehow, all of the links in the *left* block don't redirect to e.g. 
/myproject/accounts/, but to /accounts/!

I'm using the latest sct and Django 1.3.

Original issue reported on code.google.com by man...@enigmage.de on 25 Feb 2012 at 11:59

GoogleCodeExporter commented 9 years ago
what exactly do you mean by left block? are all other links correct?
i assume you are speaking of the navigation items - these can be configured in 
the admin interface (and therefore won't use reverse lookups for generating the 
URLs - take a look at your /admin/community/navigation/ there you can modify 
those links

Original comment by herbert....@gmail.com on 26 Feb 2012 at 6:10

GoogleCodeExporter commented 9 years ago
Yes, I meant the navigation items. (I'm new to SCT and don't know all the 
correct terms)
I tried to modify the links. (Without any effect, but that might be a caching 
issue on my side)

I was unable to modify the "logout" link. Where can I do that?

Original comment by man...@enigmage.de on 26 Feb 2012 at 6:37