Showing results for 
Show  only  | Search instead for 
Did you mean: 
New Member

Canvas route to Index page instead of default page

Hello everyone,

I quite new to canvas, I tried to follow the Prod installation guide here.

No issue happen, I started:

  • Redis
  • Postgresql
  • Canvas_init
  • Apache2

But when I point to the server, it displays the index, not the default page.

I tried to search on Internet but no luck. Someone told that it's because passenger doesn't work.

Could anyone help me with this? Thank you

Below are my conf files:


LoadModule passenger_module /usr/lib/apache2/modules/
PassengerRoot /usr/lib/ruby/vendor_ruby/phusion_passenger/location.ini
PassengerRuby /usr/bin/ruby
PassengerDefaultUser canvasuser


<IfModule mod_passenger.c>
   PassengerRoot /usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini
   PassengerDefaultRuby /usr/bin/ruby
   PassengerDefaultUser canvasuser
   Options -MultiViews
   PassengerResolveSymlinksInDocumentRoot on
   #Set this to whatever environment you'll be running in
   RailsEnv production


<VirtualHost *:80>
   DocumentRoot /var/canvas/public
   RewriteEngine On
   RewriteCond %{HTTP:X-Forwarded-Proto} !=https
   RewriteCond %{REQUEST_URI} !^/health_check
   RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L]
   ErrorLog /var/log/apache2/canvas_errors.log
   LogLevel warn
   CustomLog /var/log/apache2/canvas_access.log combined
   SetEnv RAILS_ENV production
   <Directory /var/canvas/public>
      PassengerEnabled on
      Options All
      AllowOverride All
      Require all granted
      PassengerResolveSymlinksInDocumentRoot on


5 Replies
Community Coach
Community Coach

Hello  @nguyenduy574 ‌...

I am not sure of an answer for you, but I wanted to let you know that I am going to share your question with both the‌ and‌ groups here in the Canvas Community in hopes that your question will get some additional exposure.  I hope this is okay with you, Duy.  Good luck!

Hi again,  @nguyenduy574 ‌...

I wanted to check in with you again because we have not heard from you since you first posted this question on March 5th.  It appears as though you may have stumped members of the Canvas Community with your question.  Have you been able to come up with any solutions to your question since you first posted this question?  If so, would you be willing to share back here on this thread?  Or, if you are still seeking assistance with your question, please let us know that, too.  In checking in with you, this will also bump your topic up so that, hopefully, someone may be able to assist you.  Thanks, and looking forward to hearing from you soon, Duy!

Hello  @nguyenduy574 ‌...

Since we have not heard from you for quite some time, I am going to go ahead and mark your question as "Assumed Answered" in hopes that you've been able to find a solution since you first posted this question on March 5th.  If you've not found an answer yet and are still looking for assistance, by all means, please come back to this thread to post a follow-up message.  Thanks!

New Member

Hello Chris Holder

Like Duy Nguyen, I am new to canvas. I followed the same guide and when I navigate to the installation, I get the index page and not the login page. Did anyone find an answer for this?

0 Kudos

I know this is old but i am having the same issue after following the guide -

I have gone through it twice with the same result running on Ubuntu 20.04 and from what i can see there is no default document set it /vat/canvas/public

0 Kudos