Hi,
First of all sorry for my english, I’m spanish speaker.
I did installed GitLab 7.11.4 in a Linux Ubuntu 12.04 server with apt method, everything works fine but for login I need to go directly to /users/sign_in, when I go to / (git.mydomain.com) apache redirects to www.mydomain.com.
Here is my apache virtualhost config:
ServerName git.mydomain.com
ServerSignature Off
ProxyPreserveHost On
<Location />
Order deny,allow
Allow from all
ProxyPassReverse http://127.0.0.1:8080
ProxyPassReverse http://git.mydomain.com/
</Location>
RewriteEngine on
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
RewriteRule .* http://127.0.0.1:8080%{REQUEST_URI} [P,QSA]
# needed for downloading attachments
DocumentRoot /var/opt/gitlab/public
#Set up apache error documents, if back end goes down (i.e. 503 error) then a maintenance/deploy page is thrown up.
ErrorDocument 404 /404.html
ErrorDocument 422 /422.html
ErrorDocument 500 /500.html
ErrorDocument 503 /deploy.html
Am I missing something?
Thanks in advance.