{"thread":{"id":"30699","subject":"gitweb with multiple projectroot ???","startedAt":"2012-06-04T13:37:37Z","lastAt":"2012-06-04T13:37:37Z","messageCount":1,"participants":["J. Bakshi"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"192801","messageId":"20120604190737.4f357a16@shiva.selfip.org","threadId":"30699","inReplyTo":null,"subject":"gitweb with multiple projectroot ???","fromName":"J. Bakshi","fromEmail":"joydeep.bakshi@infoservices.in","sentAt":"2012-06-04T13:37:37Z","receivedAt":"2012-06-04T13:37:37Z","isPatch":false,"sender":{"key":"joydeep.bakshi@infoservices.in","avatar":null},"body":"Dear list,\n\nMy gitweb has been running since long with a single project root, which\nhas been defined at the /etc/gitweb.conf through $projectroot variable.\n\nI need one more project root for gitweb, hence I have added this apache config\n( not a vhost, but just calling by alias)\n\n````````````````````\n \nSetEnv GIT_PROJECT_ROOT /home/newgit/\nSetEnv GIT_HTTP_EXPORT_ALL\nSetEnv  GITWEB_CONFIG  /home/newgit/gitweb.conf\n#git is strict about the authenticated SSL certificate only\n#disable the strict CA certificate check\nSetEnv GIT_SSL_NO_VERIFY \n\nAliasMatch ^/newgit/(.*/objects/[0-9a-f]{2}/[0-9a-f]{38})$       /home/newgit/$1\nAliasMatch ^/newgit/(.*/objects/pack/pack-[0-9a-f]{40}.(pack|idx))$ /home/newgit/$1\nScriptAliasMatch \\\n        \"(?x)^/newgit/(.*/(HEAD | \\\n                        info/refs | \\\n                        objects/info/[^/]+ | \\\n                        git-(upload|receive)-pack))$\" \\\n        /usr/lib/git-core/git-http-backend/$1\n\n#same location for gitweb\nAlias /newgit /usr/share/gitweb\n<Directory /usr/share/gitweb>\nOptions FollowSymLinks +ExecCGI\nAddHandler cgi-script .cgi\n</Directory>\n\n#force https and authentication\n<LocationMatch \"/newgit\">\n# Require SSL connection for password protection.\nSSLRequireSSL\nAuthType Basic\n# Message to give to the committer\nAuthName \"access requires a password\"\n# File listing users with write (commit) access\nAuthUserFile /home/newgit/PASSWD\nRequire valid-user\n</LocationMatch>\n\n`````````````````````````````````````````SetEnv\n\nBut \"SetEnv  GITWEB_CONFIG\" as well as other SetEnv ( like SetEnv GIT_SSL_NO_VERIFY )\nis not been taken and as an effect the gitweb processing the default /etc/gitweb.conf and going to the\nold projectroot.\n\nWhat am I missing here ? any clue ?\n\nThanks\n"}]}