==================================================================
Please DO NOT REPLY to this mail or send email to the developers
about this bug. Please follow-up to Bugzilla using this link:
http://bugs.contribs.org/show_bug.cgi?id=9202
Have you checked the Frequently Asked Questions (FAQ)?
http://wiki.contribs.org/SME_Server:Documentation:FAQ
Please also take the time to read the following useful guide:
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================
Bug ID: 9202
Summary: Cannot access gitweb remotely / incorrect redirect
Classification: Contribs
Product: SME Contribs
Version: 8.2
Hardware: ---
OS: ---
Status: CONFIRMED
Severity: normal
Priority: P3
Component: smeserver-gitweb
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
I have gitweb installed on a server and have noticed a couple of issues I
cannot figure out.
All repos have Allowfrom : Internet
The server can be connected to via either a VPN or from the world at large.
If I connect via its Local IP
10.0.0.1/git
it redirects to
https://10.0.0.1/git
Error : 404 - No projects found
The page displays a link to the server using the full domain name e.g.
https://esmith.mydomain.com/git
If I then click this link I get
Forbidden
You don't have permission to access /git on this server.
I then get this in httpd/error_log
[client my.remote.ip] client denied by server configuration: /usr/share/gitweb,
referer: https://10.0.0.1/git/
I think the link in the page should stay as the local IP and not the domain
name.
If I then change
config setprop git gitweb_access_from internet (which is not documented)
I get
https://10.0.0.1/git
https://esmith.mydomain.com/git
"Not Found at..." for both
Nothing in the error logs.
If I try to access the repo from the server-manager panel I get a password
prompt but after entering the correct username and password I get
[error] [client my.remote.ip] File does not exist:
/usr/share/gitweb/CampaignOpportunitiesReport.git, referer:
https://10.0.0.1/server-manager/cgi-bin/git
I can see that GIT_PROJECT_ROOT is set to in httpd.conf
SetEnv GIT_PROJECT_ROOT /home/e-smith/files/git
But this seems to be overruled somewhere and I can't figure it out !
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam/