Modify

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#3394 closed defect (worksforme)

login is not possible via webform, only via apache conf

Reported by: michael.stuhr@… Owned by: Matt Good
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

I'm using !0.10.3 and AccountManager 0.1.3dev-r3857 and TracWebAdmin 0.1.2dev-r5911 and am using htpasswd file authentication.

i've had it running but now i messed sth. up it seems, so i uninstalled all plugins and reinstalled all again.

I've followed every step that is described here, but i'm getting a 500 server error.

only when i setup my apache.conf (sites-enabled) like:

<Location "/project/trac/login">
## disable remaining items for simple webbasedlogin
	AuthType Basic
	AuthName "Project Trac"
	AuthUserFile "/var/project/passwd"
	Require valid-user
</location>

i can login, and change my settings etc. (except new users: i cannot add users) so i'm stuck with the old browser based auth which is ok for now, but no new users is a critical thing to me.

I'm attaching my trac.ini

Attachments (0)

Change History (6)

comment:1 Changed 16 years ago by anonymous

cannot attach files. rejected as spam ;-)

comment:2 Changed 16 years ago by Noah Kantrowitz

Resolution: worksforme
Status: newclosed

Right, Apache runs its authentication before Trac has any say in the matter. If you want to not use Apache for auth, don't use Apache for auth.

comment:3 Changed 16 years ago by michael.stuhr@…

but when i disable apache auth i'm getting a 500 ... that's why i submitted a ticket.

comment:4 Changed 16 years ago by Noah Kantrowitz

Check the Apache error log.

comment:5 Changed 16 years ago by anonymous

Premature end of script headers: trac.cgi, referer: https://www.like-sh.de/project/trac/login

When i disable apache-auth.

comment:6 Changed 16 years ago by Noah Kantrowitz

You likely have the CGI script configured incorrectly, however I no longer support CGI deployments. Please use a more modern option such as FastCGI or mod_python.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matt Good.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.