Use Gitlab together with Apache Userdir Enabled

Our server (Centos 7) server Apache Userdir is enabled and developers were able to host a web applications in their home directory. However this changed when Gitlab 7 was installed on the server using the existing Apache not Nginx. Developers can no longer access their web applications on the browser. Any url of the form is redirected to - Gitlab sign-in page.

gitlab.conf content:
<VirtualHost *:80>
ServerName localhost
ServerSignature Off

ProxyPreserveHost On

Order deny,allow Allow from all

ProxyPassReverse []
ProxyPassReverse []

RewriteEngine on
RewriteRule .* []%{REQUEST_URI} [P,QSA]

needed for downloading attachments
DocumentRoot /opt/gitlab/embedded/service/gitlab-rails/public

ErrorLog /var/log/httpd/error_log
CustomLog /var/log/httpd/access_log combined env=!dontlog
We have also tried to use AliasMatch after disabling UserDir like shown below but still is not working

AliasMatch ^/~([a-z]+)/(.*) /home/$1/public_html/$2

AliasMatch ^/~([a-z]+)$ /home/$1/public_html/

The community out there any assistance on this will be greatly appreciated.