gitweb and symbolic links

3 messages, 3 authors, 2016-06-15 · open the first message on its own page

gitweb and symbolic links

From: Marco Gualtieri <hidden>
Date: 2016-06-15 22:47:17

Hello,

I am wondering about a possibly easy bug which you may be aware of.

For some reason if I place a symbolic link in a directory under the  
project root,  gitweb is no longer able to find the project.  I was  
looking through the .cgi file but I don't know enough perl to fix the  
problem myself.

Let me know if this makes sense.
Cheers
Marco

Re: gitweb and symbolic links

From: Changsheng Jiang <hidden>
Date: 2016-06-15 22:47:17

Most WEB servers disable following link for security reasons. Check
it's disabled first.

                                                      Changsheng Jiang



On Thu, Aug 20, 2009 at 09:15, Marco Gualtieri[off-list ref] wrote:
Hello,

I am wondering about a possibly easy bug which you may be aware of.

For some reason if I place a symbolic link in a directory under the project
root,  gitweb is no longer able to find the project.  I was looking through
the .cgi file but I don't know enough perl to fix the problem myself.

Let me know if this makes sense.
Cheers
Marco

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Re: gitweb and symbolic links

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:47:17

Marco Gualtieri [off-list ref] writes:
Hello,

I am wondering about a possibly easy bug which you may be aware of.

For some reason if I place a symbolic link in a directory under the
project root,  gitweb is no longer able to find the project.  I was
looking through the .cgi file but I don't know enough perl to fix the
problem myself.

Let me know if this makes sense.
WORKSFORME.  I have gitweb setup so some of repositories are in
$projectroot directory via symlink, either to repository itself, or
with symlinked earlier part of path, and it works correctly and shows
all those repositories.

I suspect that your web server is configured to not follow symbolic
links, or your user account used by web server is not allowed (doesn't
have permissions) to follow symbolic links.

P.S. You should look into source file gitweb/gitweb.perl, not
installed script gitweb.cgi

-- 
Jakub Narebski

Git User's Survey 2009: http://tinyurl.com/GitSurvey2009
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help