Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Users

logging into a new trac site

 

 

Trac users RSS feed   Index | Next | Previous | View Threaded


bluethundr at gmail

Aug 2, 2013, 11:25 AM

Post #1 of 3 (43 views)
Permalink
logging into a new trac site

Hello,

I'm attempting to authenticate to a new trac site I just installed. I've
created the user in the htdigest file using htpasswd with a a really simple
password that'd be impossible to not type correctly.

But for some reason I am still having the authentication refused .

This is my vhost config:

<VirtualHost *:80>

ServerName trac.mysite.com
## trac
Alias /trac/ "/srv/trac/"
<Directory "/srv/trac">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all

# mod_python speeds things up considerably
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnvParentDir "/srv/trac"
PythonOption TracUriRoot "/trac"

# authentication
AuthType Digest
AuthName "wiki-server"
AuthDigestDomain /trac
AuthUserFile "/etc/httpd/conf/digestpw"
Require valid-user
# authorization is handled internally by trac
</Directory>

### subversion
<Location "/svn">
DAV svn
SVNParentPath /srv/svn

Order allow,deny
Allow from all

# authentication
AuthType Digest
AuthName "wiki-server"
AuthDigestDomain /svn
AuthUserFile "/etc/httpd/conf/digestpw"
Require valid-user

# authorization
AuthzSVNAccessFile "/etc/httpd/conf/svn-auth.ini"
</Location>
</VirtualHost>

This is the error that I'm seeing in the error log:

[Fri Aug 02 14:22:27 2013] [error] [client 67.86.246.234] Digest: user
`bluethundr' in realm `wiki-server' not found: /svn

I tried following this tutorial:

http://www.madboa.com/geek/trac-centos/#system-packages

Does anyone have an idea where I could be going wrong?

--
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe [at] googlegroups
To post to this group, send email to trac-users [at] googlegroups
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.


rjollos at gmail

Aug 5, 2013, 9:33 AM

Post #2 of 3 (31 views)
Permalink
Re: logging into a new trac site [In reply to]

On Friday, August 2, 2013 11:25:11 AM UTC-7, bluethundr wrote:

> Hello,
>
> I'm attempting to authenticate to a new trac site I just installed. I've
> created the user in the htdigest file using htpasswd with a a really simple
> password that'd be impossible to not type correctly.
>
> But for some reason I am still having the authentication refused .
>
> This is my vhost config:
>
> <VirtualHost *:80>
>
> ServerName trac.mysite.com
> ## trac
> Alias /trac/ "/srv/trac/"
> <Directory "/srv/trac">
> Options Indexes FollowSymLinks
> AllowOverride None
> Order allow,deny
> Allow from all
>
> # mod_python speeds things up considerably
> SetHandler mod_python
> PythonHandler trac.web.modpython_frontend
> PythonOption TracEnvParentDir "/srv/trac"
> PythonOption TracUriRoot "/trac"
>
> # authentication
> AuthType Digest
> AuthName "wiki-server"
> AuthDigestDomain /trac
> AuthUserFile "/etc/httpd/conf/digestpw"
> Require valid-user
> # authorization is handled internally by trac
> </Directory>
>
> ### subversion
> <Location "/svn">
> DAV svn
> SVNParentPath /srv/svn
>
> Order allow,deny
> Allow from all
>
> # authentication
> AuthType Digest
> AuthName "wiki-server"
> AuthDigestDomain /svn
> AuthUserFile "/etc/httpd/conf/digestpw"
> Require valid-user
>
> # authorization
> AuthzSVNAccessFile "/etc/httpd/conf/svn-auth.ini"
> </Location>
> </VirtualHost>
>
> This is the error that I'm seeing in the error log:
>
> [Fri Aug 02 14:22:27 2013] [error] [client 67.86.246.234] Digest: user
> `bluethundr' in realm `wiki-server' not found: /svn
>
> I tried following this tutorial:
>
> http://www.madboa.com/geek/trac-centos/#system-packages
>
> Does anyone have an idea where I could be going wrong?
>

That tutorial is from 2006 and ModPython is deprecated (1). You'll want to
use ModWSGI (2). Maybe try one of Trac's Platform install guides (3).

(1) http://trac.edgewall.org/wiki/TracModPython
(2) http://trac.edgewall.org/wiki/TracModWSGI
(3) http://trac.edgewall.org/wiki/TracInstallPlatforms

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe [at] googlegroups
To post to this group, send email to trac-users [at] googlegroups
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.


bluethundr at gmail

Aug 5, 2013, 6:48 PM

Post #3 of 3 (30 views)
Permalink
Re: Re: logging into a new trac site [In reply to]

Cool, thank you for the info. I'll give it a try

Tim


On Mon, Aug 5, 2013 at 12:33 PM, RjOllos <rjollos [at] gmail> wrote:

> On Friday, August 2, 2013 11:25:11 AM UTC-7, bluethundr wrote:
>
>> Hello,
>>
>> I'm attempting to authenticate to a new trac site I just installed. I've
>> created the user in the htdigest file using htpasswd with a a really simple
>> password that'd be impossible to not type correctly.
>>
>> But for some reason I am still having the authentication refused .
>>
>> This is my vhost config:
>>
>> <VirtualHost *:80>
>>
>> ServerName trac.mysite.com
>> ## trac
>> Alias /trac/ "/srv/trac/"
>> <Directory "/srv/trac">
>> Options Indexes FollowSymLinks
>> AllowOverride None
>> Order allow,deny
>> Allow from all
>>
>> # mod_python speeds things up considerably
>> SetHandler mod_python
>> PythonHandler trac.web.modpython_frontend
>> PythonOption TracEnvParentDir "/srv/trac"
>> PythonOption TracUriRoot "/trac"
>>
>> # authentication
>> AuthType Digest
>> AuthName "wiki-server"
>> AuthDigestDomain /trac
>> AuthUserFile "/etc/httpd/conf/digestpw"
>> Require valid-user
>> # authorization is handled internally by trac
>> </Directory>
>>
>> ### subversion
>> <Location "/svn">
>> DAV svn
>> SVNParentPath /srv/svn
>>
>> Order allow,deny
>> Allow from all
>>
>> # authentication
>> AuthType Digest
>> AuthName "wiki-server"
>> AuthDigestDomain /svn
>> AuthUserFile "/etc/httpd/conf/digestpw"
>> Require valid-user
>>
>> # authorization
>> AuthzSVNAccessFile "/etc/httpd/conf/svn-auth.ini"
>> </Location>
>> </VirtualHost>
>>
>> This is the error that I'm seeing in the error log:
>>
>> [Fri Aug 02 14:22:27 2013] [error] [client 67.86.246.234] Digest: user
>> `bluethundr' in realm `wiki-server' not found: /svn
>>
>> I tried following this tutorial:
>>
>> http://www.madboa.com/geek/**trac-centos/#system-packages<http://www.madboa.com/geek/trac-centos/#system-packages>
>>
>> Does anyone have an idea where I could be going wrong?
>>
>
> That tutorial is from 2006 and ModPython is deprecated (1). You'll want to
> use ModWSGI (2). Maybe try one of Trac's Platform install guides (3).
>
> (1) http://trac.edgewall.org/wiki/TracModPython
> (2) http://trac.edgewall.org/wiki/TracModWSGI
> (3) http://trac.edgewall.org/wiki/TracInstallPlatforms
>
> --
> You received this message because you are subscribed to the Google Groups
> "Trac Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to trac-users+unsubscribe [at] googlegroups
> To post to this group, send email to trac-users [at] googlegroups
> Visit this group at http://groups.google.com/group/trac-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



--
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe [at] googlegroups
To post to this group, send email to trac-users [at] googlegroups
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.

Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.