Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trac, Apache and SetEnv problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
TobiasPS
n00b
n00b


Joined: 23 Nov 2005
Posts: 15
Location: Denmark

PostPosted: Sat Feb 09, 2008 4:10 pm    Post subject: Trac, Apache and SetEnv problem Reply with quote

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
View user's profile Send private message
honeymak
Guru
Guru


Joined: 30 Dec 2002
Posts: 596

PostPosted: Wed Feb 20, 2008 9:43 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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