httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J. Bakshi" <joyd...@infoservices.in>
Subject [users@httpd] apache setenv question
Date Tue, 05 Jun 2012 11:35:52 GMT

Dear list,

I have come here with a gitweb issue which is related with apache setenv .

I have set gitweb with a single project root and it's running fine. The problem
arise when multiple root come into picture. Following the git documentation, I have defined
the separate gitweb.conf in the apache configuration ( not vhost ) as

`````````````````````````
SetEnv  GITWEB_CONFIG  /home/git/gitweb.conf
``````````````````````````

the complete config file is as below

``````````````````````````
SetEnv  GITWEB_CONFIG  /home/git/gitweb.conf

Alias /git /usr/share/gitweb
<Directory /usr/share/gitweb>
Options FollowSymLinks +ExecCGI
AddHandler cgi-script .cgi
</Directory>
`````````````````````````````````

If I now add one more config with a different gitweb.conf using setenv,
gitweb still shows the first one. It seems apache always read the first setenv
and ignoring the rest. What am I missing here ? 

Thanks and regards.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message