From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,NICE_REPLY_A, RCVD_IN_DNSWL_LOW autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 13806 invoked from network); 13 Aug 2021 21:21:33 -0000 Received: from lists.zx2c4.com (165.227.139.114) by inbox.vuxu.org with ESMTPUTF8; 13 Aug 2021 21:21:33 -0000 Received: by lists.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 9d90e568; Fri, 13 Aug 2021 21:21:21 +0000 (UTC) Return-Path: Received: from mout.web.de (mout.web.de [212.227.15.3]) by lists.zx2c4.com (ZX2C4 Mail Server) with ESMTPS id bd38d1db (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Fri, 13 Aug 2021 21:21:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1628889678; bh=4q++s1jkpkt+uXgLESoBItPjXrKRZpsjqNSFWV2QeHk=; h=X-UI-Sender-Class:Date:From:To:Subject:In-Reply-To:References; b=VstiLxVnS4cJRxfJEsSyNSSJeptHRoOSsyVDoki2mADJChxZo4IrmvBc8fjM4kxEh xLOY79GWkezgKNag7/USK55npX9+w9ZuGJkiVty4LzS4yNBTs77kZ1tZneGVTwlr9e nL1Abs70z95Aw2lI9y3VXUODeK5W/Wmm7qg0vROU= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from tdkuehnel3.localhost ([87.176.40.180]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1M28SL-1mH8eS47bN-002HoK for ; Fri, 13 Aug 2021 23:21:18 +0200 Date: Fri, 13 Aug 2021 23:22:06 +0200 From: Torsten Kuehnel To: cgit@lists.zx2c4.com Subject: Re: cannot get cgit display anything except the repo listing page Message-Id: <20210813232206.2f4c9af7fa15f21a0bfe8b8d@web.de> In-Reply-To: <20210813091205.cc14dd7486d1b757f2081fa2@web.de> References: <20210813091205.cc14dd7486d1b757f2081fa2@web.de> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; x86_64-slackware-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:Pxx/cvXhBUdcp5urD31iUheDa4BDu9FjZZyOX3jhuSh2y7DMZi2 HRSqKrPqyKYnfEkuf85WgmsKGF+UTgHqH/ez42Y+SSpvN6L9iunvAaPilRvz5BwiPNEGHH1 7ImgUa1jxlVtb6VLOGBOGzH8v12sdBI2wWu/xzg5ekPjHPqEjIyRWIRX6RCisSgWgyJmbjQ PaT+oqf333BA1+XV8LKlA== X-UI-Out-Filterresults: notjunk:1;V03:K0:zvXThUkI6lQ=:4i3KMav0NZFFyBNq0OUQKV slphJPhIMNWOQAtNLLKo5qjPPK7GI8PSV/5zASQnZIZGqG3Qjo6FZanJdjHntwtcIkSeOg35V eCNmOkzyeaYW2JUIXrMPKipdOH3GV4khv5Yrl+9ab9YDS6lki97z+GtNCPYcvlFmgvqIl+Drj r99MrvQGpLsTeVOORHZACBA+Qs657r9C3fce+yb/egSqNFsql0JKEbd1ZVmBkziAySUymHSHj /n1vmO8Zd22CO9Pmqeh2IZXv5mj/yiZv0ddNOr3NSp4P0hfBXfGnZQ8nrE0hCkFeI21SrIh7U lvlJ7Q3F/puuQO7DWGBGbVGquXra01JG+0iA5LjOVyhBhSguxBGxKI1RW/Qg1Oj+hdWgIpJCj 9n1SJjJ7rOhkfyZ/kz4tKHI5G8touyo2eSmrgsb8qkS9Q8Lutz4/trDTzaGimFrXp+LtRICn+ LGfaPTnCLxye98XZqTxGPSjCQWbZDUYYc6ahC9BG3eMV2Tl+xcx367Ccv4ag3/RQunMaxNQum y9Hs1mZyZxPB6KyJYsiOleXo/HArSg36WseWHakLGLKiqSKLqBc61OWKYVCQYyXfARKWBY7p5 N+nZW2LB04xC+nuknn6mNBLl+SHTpecxWPeU+xXI13gucVZ+5tzbPoy5n5rlWIfiHLfcswl+D GH9+x+WRzOznPd5/umz4PmR8Q97rAb0eaoHkKToxsS5Gi5liXtcCiqda6Wqp1uL0PKJUND9Ko OVTa96gPZl4d82vt+IpHa/kfPBvzlGq7wxwY5ztQIjnKh9XQpd1kIT+BTaraYHH2o53wxu1fi KYm6l9mh537vLfCDBFFFi79pGMR60czUCZlwsRMXHPMEuRTSVNGMVaOXQYxhECJmVIBMTTSLs 7DsJfNbI3b5nH41Fq+z2/k+Chz3YkL4f0FMvQTSg/9JJHSuatSSZk4mX40qn98Qfs0AH6Mnui hxe6ziWlRWLoSdTAmVXnR1rj88gQi/GEDhmOHi9+uzZ8q8zPl5BbeK+myXsvDKI0NQ5PITluW ch09GrxYfSG9+uPmjI4KzHN2eEzRbmpI8HrrbThF1VTYhdCJs70x0P/LNMIXEQSprlKpNHvDl JejrV/KmRZGGihl72fY4zh/8cI83yXXGwGTMSgV0ZrR2ixHzelIg8BnOQ== X-BeenThere: cgit@lists.zx2c4.com X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: List for cgit developers and users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: cgit-bounces@lists.zx2c4.com Sender: "CGit" On Fri, 13 Aug 2021 09:12:05 +0200 Torsten Kuehnel wrote: Switching to uwsgi to connect nginx with cgit works out. Looks like fcgiwr= ap messes things up. Don't ask me for the exact reason. > Dear cgit developer, > > i have a problem getting cgit display useful information. > i compiled and installed cgit-1.2.3 like it is decribed in the README fi= le and set it up via nginx fastcgi fcgiwrap > > nginx config: > > server { > listen 85.17.xx.xx:443 ssl; > server_name my.domain.com; > root /var/www/htdocs/cgit; > > access_log /var/log/cgit/access.log; > error_log /var/log/cgit/error.log; > > ssl_certificate /etc/letsencrypt/live/my.domain.com/fullchain.pe= m; > ssl_certificate_key /etc/letsencrypt/live/my.domain.com/privkey.= pem; > include /etc/letsencrypt/options-ssl-nginx.conf; > ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; > try_files $uri @cgit; > > location ~* ^.+\.(css|png|ico)$ { > expires 0; > } > > location @cgit { > include fastcgi_params; > fastcgi_param SCRIPT_FILENAME /var/www/htdocs/cgit/cgi= t.cgi; > fastcgi_pass unix:/var/run/fcgiwrap.socket; > fastcgi_param PATH_INFO $uri; > fastcgi_param HTTP_HOST $server_name; > fastcgi_param QUERY_STRING $args; > } > } > > > /etc/cgitrc: > > root-title=3DGit Verzeichnisse > css=3D/cgit.css > logo=3D/cgit.png > snapshots=3Dtar.gz tar.bz2 > > scan-path=3D/tmp/ > > virtual-root=3D/ > enable-index-links=3D1 > enable-log-filecount=3D1 > enable-log-linecount=3D1 > enable-commit-graph=3D1 > > In the /tmp/ directory is a git repository "repo01" with one commit in i= t, owned completely by www-data, the user nginx is run with. > > The result ist displaying the proper cgit "welcome" page with the one re= po listed, Idle for 8 minutes. But the problem is, following any of the pr= esented links like "summary", "log", or "tree", results in displaying the = same entry page which lists the repo, but shows no content. > > Spent to days on playing around with the nginx and cgitrc config, but no= thing useful happens. The permissions on the repo are fully set to the www= -data user. The url changes when i choose a link, but the displayed result= is always the same, displaying the overview page of available repos. > > Thanks for any help in advance. > > Torsten Dieter Kuehnel > -- > Torsten Kuehnel =2D- Torsten Kuehnel