Solved with edits to the virtual host conf 
(/etc/apache2/sites-available/<main-site> :

<VirtualHost *:80>

ServerAdmin [email protected]
ServerName main-site.com
DocumentRoot /home/main-site/public_html
ErrorLog /home/main-site/logs/error.log
CustomLog /home/main-site/logs/access.log combined
AddType application/x-httpd-php .htm .html
Addhandler application/x-httpd-php .html .php

<Directory /home/main-site/public_html/>
Options -Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>

Alias /code /home/main-site/gitlab/public
DocumentRoot /home/main-site/gitlab/public
<Directory /home/main-site/gitlab/public>
Options -Multiviews +FollowSymLinks
PassengerResolveSymlinksInDocumentRoot on
SetEnv RAILS_RELATIVE_URL_ROOT "/gitlab"
PassengerAppRoot "/home/main-site/gitlab"
</Directory>

</VirtualHost>

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/d4be2c6a-a4df-404c-a917-0c5bdf4960f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to