Mailing List Archive

No handler matched request to /login
Hi

I have a trac 0.9pre that's working fine with apache 1.3 (installed from
sources). I need to move to apache 2.0 and I installed one from packages
(the system is an RH AS4). With minor modification, I keept the old config
file of httpd. Now, when I'm trying to access one page that's working on
the other apache, i get this error:
" No handler matched request to /login"
The log file for this trac instance shows this:
"Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/web/cgi_frontend.py", line
118, in run
dispatch_request(req.path_info, req, env)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 452, in
dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 310, in
dispatch
raise TracError, 'No handler matched request to %s' % req.path_info
TracError: No handler matched request to /login"

Anybody can help me with this error? Thank you.

--
Daniel Hertanu
Re: No handler matched request to /login [ In reply to ]
Daniel Hertanu wrote:

> TracError: No handler matched request to /login"

I also had this error message. I guess you upgraded from a previous version of
trac? You should check the trac.ini file in your project's conf folder. When
doing the upgrade, trac puts a sample.conf file there. Compare the [trac]
section of your config file with the one from the sample.

I guess your trac.ini file is missing the
default_handler = WikiHandler
setting in the [trac] section.

See http://projects.edgewall.com/trac/wiki/TracIni for more information

Norbert
Re: No handler matched request to /login [ In reply to ]
Thank you for your answer Norbert, but, as I said, I'm trying to use the
same trac (0.9pre, which, btw, has the default value default_handler =
WikiHandler) under apache 2.0, on the same server where is also an apache
1.3. With the last one, trac is working fine. I think the problem is
related to apache and mod_python, but I realy miss what I'm doing wrong.

Daniel

On Thu, 29 Sep 2005, Norbert Unterberg wrote:

> Daniel Hertanu wrote:
>
> > TracError: No handler matched request to /login"
>
> I also had this error message. I guess you upgraded from a previous version of
> trac? You should check the trac.ini file in your project's conf folder. When
> doing the upgrade, trac puts a sample.conf file there. Compare the [trac]
> section of your config file with the one from the sample.
>
> I guess your trac.ini file is missing the
> default_handler = WikiHandler
> setting in the [trac] section.
>
> See http://projects.edgewall.com/trac/wiki/TracIni for more information
>
> Norbert
>
> _______________________________________________
> Trac mailing list
> Trac@lists.edgewall.com
> http://lists.edgewall.com/mailman/listinfo/trac
>
Re: No handler matched request to /login [ In reply to ]
Am 29.09.2005 um 07:49 schrieb Daniel Hertanu:
> Thank you for your answer Norbert, but, as I said, I'm trying to
> use the
> same trac (0.9pre, which, btw, has the default value default_handler =
> WikiHandler) under apache 2.0, on the same server where is also an
> apache
> 1.3. With the last one, trac is working fine. I think the problem is
> related to apache and mod_python, but I realy miss what I'm doing
> wrong.

I think you may simply be missing the authentication config in
Apache. I.e. the /login URL is not protected.

Hope that helps,
Chris
--
Christopher Lenz
cmlenz at gmx.de
http://www.cmlenz.net/
Re: No handler matched request to /login [ In reply to ]
The sections in trac.ini:

[components]
acct_mgr.admin.* = enabled
acct_mgr.api.* = enabled
acct_mgr.db.sessionstore = disabled
acct_mgr.guard.accountguard = enabled
acct_mgr.htfile.htdigeststore = enabled
acct_mgr.htfile.htpasswdstore = disabled
acct_mgr.http.* = disabled
acct_mgr.model.* = enabled
acct_mgr.notification.* = enabled
acct_mgr.pwhash.* = enabled
acct_mgr.register.* = enabled
acct_mgr.register.emailverificationmodule = enabled
acct_mgr.register.registrationmodule = enabled
acct_mgr.svnserve.svnservepasswordstore = disabled
acct_mgr.web_ui.* = enabled
acct_mgr.web_ui.loginmodule = enabled
acct_mgr.web_ui.resetpwstore = enabled

[account-manager]
allow_delete_account = enabled
auth_init = enabled
authentication_url =
cookie_refresh_pct = 10
db_htdigest_realm =
db_htpasswd_hash_type = crypt
environ_auth_overwrite = enabled
force_passwd_change = enabled
generated_password_length = 8
hash_method = HtDigestHashMethod
htdigest_file = /mnt/data/trac/projects/trac-pp/trac.htdigest
htdigest_realm = trac-pp
htpasswd_file =
htpasswd_hash_type = crypt
login_attempt_max_count = 3
login_opt_list = disabled
notify_actions = new,change,delete
password_file =
password_store = HtDigestStore
persistent_sessions = enabled
refresh_passwd = disabled
register_basic_question =
register_basic_token =
register_check = BasicCheck,EmailCheck,RegExpCheck,UsernamePermCheck
require_approval = disabled
reset_password = enabled
user_lock_max_time = 86400
user_lock_time = 30
user_lock_time_progression = 2
username_char_blacklist = :[]
username_regexp = (?i)^[A-Z0-9.\-_]{4,}$
verify_email = enabled

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/efd5dd5d-95a0-4b7c-92cc-6395ea2180c2n%40googlegroups.com.
Re: No handler matched request to /login [ In reply to ]
Ok, I got this solved with
svn+https://trac-hacks.org/svn/accountmanagerplugin/trunk

~Mo

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/de930eac-a935-4a51-8710-82342a7375dbn%40googlegroups.com.