Edgewall Software

Opened 18 years ago

Last modified 17 years ago

#3964 closed defect

Problem Authentication not success — at Version 1

Reported by: anonymous Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.9.3
Severity: normal Keywords: needinfo
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christopher Lenz)

Hello,

Environment : Ubuntu 6.06 , Apache2 , Trac 0.9.3 and Python 2.4

I install above enviroment , It running fine , on Login URL link , It come prompt for Username and password , I submit right user and password but nothing happening. authentication not success.

I have generated password file using \

htpasswd -c /var/trac/.htpasswd pshah 

My Trac Config file as follow:

<VirtualHost *>
	ServerAdmin webmaster@localhost
	ServerName localhost
	DocumentRoot /var/trac/pizza_home
	<Directory /usr/share/trac/cgi-bin/>
		Options FollowSymLinks Indexes MultiViews ExecCGI
		AllowOverride All
                Order allow,deny
                allow from all
	</Directory>
        Alias /trac "/usr/share/trac/htdocs"
        # Insert Project URL Copy Location both Virtual Host For Each Project.
        <Location /pizza_home>
                SetHandler mod_python
                PythonHandler trac.web.modpython_frontend
                PythonOption TracEnvParentDir /var/trac/pizza_home
                PythonOption TracUriRoot /pizza_home
#		SetEnv TRAC_ENV "/var/trac/pizza_home"
        </Location>

        <LocationMatch "/pizza_home/[^/]+/login">
             AuthType Basic
	     AuthName "Trac"
             AuthUserFile /var/trac/.htpasswd
             Require Valid-user
        </LocationMatch>
	ErrorLog /var/log/apache2/error.trac.log

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn

	CustomLog /var/log/apache2/access.trac.log combined

</VirtualHost>

Change History (1)

comment:1 by Christopher Lenz, 18 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.