{"thread":{"id":"20671","subject":"gitweb and symbolic links","startedAt":"2009-08-20T01:15:10Z","lastAt":"2009-08-20T15:03:09Z","messageCount":3,"participants":["Marco Gualtieri","Changsheng Jiang","Jakub Narebski"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"121307","messageId":"2367E9DF-6FB1-48E6-AC9A-73E84C9D54E1@math.utoronto.ca","threadId":"20671","inReplyTo":null,"subject":"gitweb and symbolic links","fromName":"Marco Gualtieri","fromEmail":"mgualt@math.utoronto.ca","sentAt":"2009-08-20T01:15:10Z","receivedAt":"2009-08-20T01:15:10Z","isPatch":false,"sender":{"key":"mgualt@math.utoronto.ca","avatar":null},"body":"Hello,\n\nI am wondering about a possibly easy bug which you may be aware of.\n\nFor some reason if I place a symbolic link in a directory under the  \nproject root,  gitweb is no longer able to find the project.  I was  \nlooking through the .cgi file but I don't know enough perl to fix the  \nproblem myself.\n\nLet me know if this makes sense.\nCheers\nMarco\n"},{"id":"121311","messageId":"eafc0afe0908191932pd24e6b3y72dbffdc2b2f7361@mail.gmail.com","threadId":"20671","inReplyTo":"2367E9DF-6FB1-48E6-AC9A-73E84C9D54E1@math.utoronto.ca","subject":"Re: gitweb and symbolic links","fromName":"Changsheng Jiang","fromEmail":"jiangzuoyan@gmail.com","sentAt":"2009-08-20T02:32:26Z","receivedAt":"2009-08-20T02:32:26Z","isPatch":false,"sender":{"key":"jiangzuoyan@gmail.com","avatar":"https://gravatar.com/avatar/61eb7704963065c5937698bacbc1412b6083e1d43f2cc9642999fe10b2e582f8?d=mp&s=160"},"body":"Most WEB servers disable following link for security reasons. Check\nit's disabled first.\n\n                                                      Changsheng Jiang\n\n\n\nOn Thu, Aug 20, 2009 at 09:15, Marco Gualtieri<mgualt@math.utoronto.ca> wrote:\n> Hello,\n>\n> I am wondering about a possibly easy bug which you may be aware of.\n>\n> For some reason if I place a symbolic link in a directory under the project\n> root,  gitweb is no longer able to find the project.  I was looking through\n> the .cgi file but I don't know enough perl to fix the problem myself.\n>\n> Let me know if this makes sense.\n> Cheers\n> Marco\n>\n> --\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n>\n"},{"id":"121351","messageId":"m3tz02mssz.fsf@localhost.localdomain","threadId":"20671","inReplyTo":"2367E9DF-6FB1-48E6-AC9A-73E84C9D54E1@math.utoronto.ca","subject":"Re: gitweb and symbolic links","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2009-08-20T15:03:09Z","receivedAt":"2009-08-20T15:03:09Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Marco Gualtieri <mgualt@math.utoronto.ca> writes:\n\n> Hello,\n> \n> I am wondering about a possibly easy bug which you may be aware of.\n> \n> For some reason if I place a symbolic link in a directory under the\n> project root,  gitweb is no longer able to find the project.  I was\n> looking through the .cgi file but I don't know enough perl to fix the\n> problem myself.\n> \n> Let me know if this makes sense.\n\nWORKSFORME.  I have gitweb setup so some of repositories are in\n$projectroot directory via symlink, either to repository itself, or\nwith symlinked earlier part of path, and it works correctly and shows\nall those repositories.\n\nI suspect that your web server is configured to not follow symbolic\nlinks, or your user account used by web server is not allowed (doesn't\nhave permissions) to follow symbolic links.\n\nP.S. You should look into source file gitweb/gitweb.perl, not\ninstalled script gitweb.cgi\n\n-- \nJakub Narebski\n\nGit User's Survey 2009: http://tinyurl.com/GitSurvey2009\n"}]}