Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#4077 closed defect (worksforme)

login or logout will redirect to an err url in Tracstandalone single project mode

Reported by: caoyanlong@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.10
Severity: normal Keywords: login, logout
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

When I login or logout, the url will redirect to http://localhost/trac.db. But the ./trac.db is not exist.

the err msg is

No handler matched request to /trac.db

I used a standalone with single project option.

tracd -p 80 -s -a…

my env:

  • windows 2003 & sp1
  • Python 2.4.3
  • trac 0.10

Attachments (0)

Change History (2)

comment:1 by Christian Boos, 18 years ago

Milestone: 0.10.1
Resolution: worksforme
Status: newclosed

It looks like your TracIni is messed up; you probably have there:

[trac]
base_url = http://localhost/trac.db
database = sqlite:db/trac.db

where you wanted to have only the hostname (as you're using the -s option for TracStandalone):

[trac]
base_url = http://localhost
database = sqlite:db/trac.db

However, with localhost you won't be able to access Trac from other machines… but maybe that's what you want, I don't know.

comment:2 by caoyanlong@…, 18 years ago

thanks, it dispeared when fixed base_url in tracini.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.