git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* gitweb and symbolic links
@ 2009-08-20  1:15 Marco Gualtieri
  2009-08-20  2:32 ` Changsheng Jiang
  2009-08-20 15:03 ` Jakub Narebski
  0 siblings, 2 replies; 3+ messages in thread
From: Marco Gualtieri @ 2009-08-20  1:15 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gitweb and symbolic links
  2009-08-20  1:15 gitweb and symbolic links Marco Gualtieri
@ 2009-08-20  2:32 ` Changsheng Jiang
  2009-08-20 15:03 ` Jakub Narebski
  1 sibling, 0 replies; 3+ messages in thread
From: Changsheng Jiang @ 2009-08-20  2:32 UTC (permalink / raw)
  To: Marco Gualtieri; +Cc: git

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<mgualt@math.utoronto.ca> 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
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gitweb and symbolic links
  2009-08-20  1:15 gitweb and symbolic links Marco Gualtieri
  2009-08-20  2:32 ` Changsheng Jiang
@ 2009-08-20 15:03 ` Jakub Narebski
  1 sibling, 0 replies; 3+ messages in thread
From: Jakub Narebski @ 2009-08-20 15:03 UTC (permalink / raw)
  To: Marco Gualtieri; +Cc: git

Marco Gualtieri <mgualt@math.utoronto.ca> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-08-20 15:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-20  1:15 gitweb and symbolic links Marco Gualtieri
2009-08-20  2:32 ` Changsheng Jiang
2009-08-20 15:03 ` Jakub Narebski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).