Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#3394 closed defect (worksforme)

login is not possible via webform, only via apache conf

Reported by: michael.stuhr@… Owned by: mgood
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 6 years ago by anonymous

cannot attach files. rejected as spam ;-)

comment:2 Changed 6 years ago by coderanger

  • Resolution set to worksforme
  • Status changed from new to closed

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 6 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 6 years ago by coderanger

Check the Apache error log.

comment:5 Changed 6 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 6 years ago by coderanger

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.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.