Good Morning,

Please, guide me how to Run Trac on Apache.
The documentations and the FAQ's are not soo clear.

As you said I need not use tracd when I have apache
setup.

By the way I tried to use tracd as You asked me to 

C:\Python24\Scripts>tracd.py --port 8080
--auth=mytrac1,C:/TracProjects/mytrac1/mytrac1.htpasswd,mytrac1
C:/TracProject/mytrac1/

Please, help.



But this does nothing may be I am missing some thing.
 

--- Jani Tiainen <[EMAIL PROTECTED]> wrote:

> 
> Jamaluddin kirjoitti:
> > Hi! there,
> > 
> > I am currently facing a problem when I click on
> "Login" link it in my
> > project it says the following:
> > 
> > Internal Error: Authentication information not
> available. Please refer
> > to the installation documentation.
> > 
> > Following is the detailed information about the
> Installation on
> > Windows XP:
> > 
> > In C drive I have created TracProjects\mytrac1
> directories
> > 
> > Softwares:
> > 
> > 1) Installed python-2.4.4.msi
> > 2) Installed trac-0.10.4.win32.exe
> > 3) Installed
> apache_2.2.4-win32-x86-openssl-0.9.8d.msi
> > 4) Installed
> mod_python-3.3.1.win32-py2.4-Apache2.2.exe
> > 5) Installed pysqlite-2.3.5.win32-py2.4.exe
> > 6) Installed clearsilver-0.9.14.win32-py2.4.exe
> > 7) I did insert the following in the httpd.conf
> file:
> > 
> > LoadModule python_module modules/mod_python.so
> > <Location /Projects>
> >     SetHandler mod_python
> >     PythonInterpreter main_interpreter
> >     PythonHandler trac.web.modpython_frontend
> >     PythonOption TracEnvParentDir C:/TracProjects
> >     PythonOption TracUriRoot /Projects
> >  </Location>
> > 
> >   <LocationMatch "/Projects/[^/]/login">
> >     AuthType Basic
> >     AuthName "Trac"
> >     AuthUserFile
> C:/TracProjects/mytrac1/mytrac1.htpasswd
> >     Require valid-user
> >  </LocationMatch>
> > 
> > The above created a file mytrac1.htpasswd ( It has
> two users created
> > by me)
> > 
> > 8) Installed the
> TracWebAdmin-0.1dev_r2440-py2.4.egg using
> > easy_install
> > 
> > Inserted the following in the trac.ini file in the
> Project directory:
> > 
> > [components]
> > webadmin.* = enabled
> > 
> > 9) Started the Apache Http Server successfully (It
> was giving problem
> > initially but got resolved after lot of research.
> There was a Port
> > Problem)
> > 
> > 10) tracd.py --port 8080 C:/TracProjects/mytrac1
> to start trac
> > 
> > 11) In Internet Explorer typed
> http://localhost:8080/mytrac1
> > 
> > 12) This gave me an HTML page successfully.
> > 13) I created a ticket and checked the application
> it is working fine.
> > 
> > BUT when I click on the Login link on the page it
> gave
> > Internal Error: Authentication information not
> available. Please refer
> > to the installation documentation.
> 
> You didn't provide AUTH parameter to tracd. you need
> something like
> 
> tracd --port 8080 --auth 
> mytrac,C:/TracProjects/mytrac1/mytrac1.htpasswd,Trac
> 
> C:/TracProjects/mytrac1/   and login should work.
> See previous 
> discussions about same error.
> 
> Why are you running tracd in the first place if you
> have apache setup? 
> You don'ty need to...
> 
> BTW, this is very good example of _proper_ request
> for help with lot's 
> of very usable information.
> 
> -- 
> 
> Jani tiainen
> 
>
> 
> 



      
____________________________________________________________________________________
Get easy, one-click access to your favorites. 
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs 

--~--~---------~--~----~------------~-------~--~----~
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