Deploying redmine on apache server on centos Virtual Machine
Added by Shivam Barthwal over 5 years ago
I have redmine up and running on my virtual machine which is centos. I have installed apache. I am wondering if I could mention the server name as the IP of my virtual machine in my apache virtual host. My objective is to access the redmine on browser with the IP address of my centos VM, therefore I tried putting in the IP address of my VM in apache virtual host as shown below
LoadModule passenger_module /root/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/passenger-6.0.5/buildout/apache2/mod_passenger.$
<IfModule mod_passenger.c>
PassengerRoot /root/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/passenger-6.0.5
PassengerDefaultRuby /root/.rbenv/versions/2.6.6/bin/ruby
PassengerInstanceRegistryDir /var/run/passenger-instreg
</IfModule>
<VirtualHost *:80>
ServerName 10.XX.XXX.XXX
DocumentRoot "/var/www/redmine/public"
<Directory "/var/www/redmine/public">
Options Indexes ExecCGI FollowSymLinks
Allow from all
AllowOverride all
Require all granted
</Directory>
</VirtualHost>
I tried above, but when I browse the IP of my VM on browser, I see the apache test server page instead of redmine welcome page. Am I missing something