Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

#10235 closed defect (cantfix)

User settings & .htpasswd

Reported by: anonymous Owned by:
Priority: low Milestone:
Component: admin/console Version: 0.12.2
Severity: normal Keywords:
Cc: marc.rawer@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Using Trac 0.12.2 on Debian wiht Apache 2.2 I get the following message when I use blank .htpassword with the style <user>:<md5_hashed_pwd>

MissingSectionHeaderError: File contains no section headers. file: /var/trac/foo/.htpasswd

If I add a header called [user] in the .htpasswd then everything works fine besides there is now a user [user] in the user settings list in the web admin area.

Attachments (0)

Change History (3)

comment:1 by Remy Blank, 13 years ago

Milestone: 0.12.3
Resolution: cantfix
Status: newclosed

This is an InstallationIssue, and possibly a PluginIssue (th:AccountManagerPlugin). Please check your Apache and plugin configuration.

comment:2 by anonymous, 13 years ago

Resolution: cantfix
Status: closedreopened

The issue exist without any plugin installed. Plus it is trac that reports the error and does not filter out the section headers although it asks for them. Other sites on is machine work fine without section headers.

comment:3 by Remy Blank, 13 years ago

Resolution: cantfix
Status: reopenedclosed

This is still an InstallationIssue (did you read that page, BTW?):

  • An .htpasswd file doesn't have sections.
  • With no plugins installed, Trac doesn't even know about the .htpasswd file, so I don't see how it could report errors in that file. Did you maybe confuse it with the authz file?
  • If you don't have th:AccountManagerPlugin installed, there's no "Users" admin panel.

Please check your configuration again, and if you need more help, ask on the MailingList and/or IrcChannel. Thank you.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) 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.