View previous topic :: View next topic |
Author |
Message |
TobiasPS n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Nov 2005 Posts: 15 Location: Denmark
|
Posted: Sat Feb 09, 2008 4:10 pm Post subject: Trac, Apache and SetEnv problem |
|
|
Hi all,
I am trying to use multiple Trac projects on the same server. I am using Apache 2.2.8, Trac 0.10.3.1 and FastCGI 2.4.6.
Apache is compiled with:
Code: |
APACHE2_MODULES="filter unique_id authz_host auth_basic authn_file authz_user auth_dbm auth_digest alias file-cache charset_lite cache disk_cache mem_cache ext_filter deflate mime mime_magic cern_meta expires headers usertrack proxy proxy_connect proxy_ftp proxy_http info include dav dav_fs vhost_alias speling rewrite log_config logio env setenvif status autoindex asis negotiation dir actions userdir"
|
In my Apache config I have:
Code: |
<snip>
FastCgiServer /var/www/dev.domain.tld/cgi-bin/trac.fcgi -idle-timeout 120 -processes 5 -initial-env TRAC_ENV=/var/lib/trac/fpga-triangulation
<snip>
<Location /highend-sound-device>
SetEnv TRAC_ENV "/var/lib/trac/highend-sound-device"
</Location>
<snip>
<Location /fpga-triangulation>
SetEnv TRAC_ENV "/var/lib/trac/fpga-triangulation"
</Location>
<snip>
|
But it seems that SetEnv does not work because i will get the "fpga-triangulation" project even i navigate to /highend-sound-device.
If I does not define the initial-env I get an error that TRAC_ENV is not set.
Does anybody know what I should do to make SetEnv work?
Thanks in advance!
/Tobias |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
honeymak Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Final Fantasy/Final_Fantasy_8_-_Squall.gif)
Joined: 30 Dec 2002 Posts: 596
|
Posted: Wed Feb 20, 2008 9:43 am Post subject: |
|
|
the SetEnvIfNoCase is not working in <Directory> section as well
is it a bug in apache? _________________ hackers - make sth real
academics - read sth said to be real |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|