Current time: 05-21-2024, 11:37 AM Hello There, Guest! (LoginRegister)


Post Reply 
svn and trac on apache
Author Message
Achmed Offline
Junior Member
*

Posts: 104
Joined: Jan 2007
Reputation: 0
Post: #2
RE: svn and trac on apache
prale Wrote:Actually I want to use it in a subdomain created by ispcp.
Is this possible? And where can I add the virtualhost block without the risk that ispcp overwrites it when regenerating the config?
/etc/apache2/ispcp/sub.your-domain.conf
You just have to add the location-part of your vhost-entry.
Code:
<Location /dev>
   SetHandler mod_python
   PythonHandler trac.web.modpython_frontend
   PythonPath "sys.path + ['/usr/share/trac']"
   PythonOption TracEnv /var/trac/wiki
   PythonOption TracUriRoot /dev
</Location>
<Location /dev/login>
   AuthType Basic
   AuthName "Login"
   AuthUserFile /var/www/virtual/domain.com/trac.htpasswd
   Require valid-user
</Location>
Thats my entry for Trac.
Set Location to root (/) did not work with login.
04-12-2008 02:26 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
svn and trac on apache - prale - 04-12-2008, 01:50 AM
RE: svn and trac on apache - Achmed - 04-12-2008 02:26 AM
RE: svn and trac on apache - ephigenie - 04-12-2008, 03:32 AM
RE: svn and trac on apache - Achmed - 04-12-2008, 03:54 AM
RE: svn and trac on apache - prale - 04-12-2008, 04:18 AM
RE: svn and trac on apache - prale - 04-19-2008, 10:15 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)