Hi,
Firstly i want to say i'm a noob in linux so i hope i can explain my
problem.

I had an apache2 server running that i use for the development of
multiple project. I wanted to add some kind of system that could be
integrated with subversion and offered a way to keep track of bugs. So
i installed trac following the installation (for ubuntu 7.04). All
went fine but when i go to the login page of my newly created project
i get a 500 error 'Authentication information not available"

In the directory sites-enabled i put a file containing this. Its
succesfully loaded because i can navigate to mysite.com/trac/project

-------------
<Location /trac>
  SetHandler mod_python
  PythonInterpreter main_interpreter
  PythonHandler trac.web.modpython_frontend
  PythonOption TracEnvParentDir /var/lib/trac
  PythonOption TracUriRoot /trac
  PythonDebug on
 </Location>

 <LocationMatch "/trac/[^/]+/login">
  AuthType Basic
  AuthName "Trac"
  AuthUserFile /etc/apache2/dav_svn.passwd
  Require valid-user
 </LocationMatch>
---------------------

I think my virtual host configuration gives a problem. I configured my
server so that every developer can has his own root containing
multiple projects accessed by: project.developer.mysite.com. (done
with virtualDocumentRoot) Here is the (stripped version) of the
virtualhost directive used:

---------------------
NameVirtualHost *
<VirtualHost *>
        ServerAdmin [EMAIL PROTECTED]
        ServerName mysite.com
        ServerAlias     *.mysite.com

        DocumentRoot /var/www/
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>
        <Directory /var/www/sites/>
                Options Indexes FollowSymLinks
                AllowOverride AuthConfig FileInfo Limit
                Order deny,allow
                Deny from all
                allow from 85.146.197.87
               #allow from all

                AuthType "Basic"
                AuthName "Development server"
                AuthUserfile "/var/www/htpasswd"
                require valid-user

                Satisfy Any
        </Directory>

        VirtualDocumentRoot /var/www/sites/%-3/%-4/web

        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
        <Directory "/usr/lib/cgi-bin">
                AllowOverride None
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all
        </Directory>

        ErrorLog /var/log/apache2/error.log

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

        CustomLog /var/log/apache2/access.log combined
        ServerSignature On
</VirtualHost>
----------------------------

Does anybody know the reason for what has happened? I have tried
several things i found during my search for an answer but nothing
ended in any improvement.

Thanks for any help!




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to