Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » Change password / Log out doesn't work with apache2 [RSS Feed]

#1 Nov. 24, 2005 04:15:58

wang b.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Change password / Log out doesn't work with apache2


hi, when I trying to setup my project on apache2 with mod_python,
following the document everything seems good except the Change
password / Log out doesn't work. When I click the link I get the "The
requested URL /admin/password_change/ was not found on this server."
Error, could anyone tell me the reason or how to solve this problem ?

Offline

#2 Nov. 24, 2005 06:39:02

Kenneth G.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Change password / Log out doesn't work with apache2


On Thursday 24 Nov 2005 9:45 am, wang bin wrote:
> hi, when I trying to setup my project on apache2 with mod_python,
> following the document everything seems good except the Change
> password / Log out doesn't work. When I click the link I get the
> "The requested URL /admin/password_change/ was not found on this
> server." Error, could anyone tell me the reason or how to solve
> this problem ?

i have the same problem. my admin site url is:
localhost/myapp/admin/
but logout points to:
localhost/admin/logout instead of
localhost/myapp/admin/logout

same with change password - there is a bug here

--
regards
kghttp://www.livejournal.com/users/lawgontally ho!http://avsap.org.inಇಂಡ್ಲಿನಕ್ಸ வாழ்க!

Offline

#3 Nov. 24, 2005 06:49:35

[EMAIL P.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Change password / Log out doesn't work with apache2


I change the base.html, maybe not a good idea, but it works now:

- <div id="user-tools">{% trans 'Welcome,' %} <strong>{% if
user.first_name %}{{ user.first_name }}{% else %}{{ user.username }}{%
endif %}</strong>. <br />{% block userlinks %}<a
href="/admin/password_change/">{% trans 'Change password' %}</a> / <a
href="/admin/logout/">{% trans 'Log out' %}</a>{% endblock %}</div>
+ <div id="user-tools">{% trans 'Welcome,' %} <strong>{% if
user.first_name %}{{ user.first_name }}{% else %}{{ user.username }}{%
endif %}</strong>. <br />{% block userlinks %}<a
href="password_change/">{% trans 'Change password' %}</a> / <a
href="logout/">{% trans 'Log out' %}</a>{% endblock %}</div>

Offline

  • Root
  • » Django
  • » Change password / Log out doesn't work with apache2 [RSS Feed]

Board footer

Moderator control

Enjoy the 23rd of April
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support