I am trying to set up fiduswriter on my server as subdirectory. Currently I have another app running on the same server that can be accessed on http://(my-ip)/redmine/. I would like to use same IP and access Fiduswriter on http://(my-ip)/fiduswriter/.
I am using the following settings:
<VirtualHost *:80>
ServerAdmin admin@example.com
DocumentRoot /var/www/html/
<Location /redmine>
RailsEnv production
RackBaseURI /redmine
</Location>
RewriteEngine on
RewriteCond %{REQUEST_URI} ^/ws [NC,OR]
RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC,OR]
RewriteCond %{HTTP:CONNECTION} ^Upgrade$ [NC]
RewriteRule .* ws://127.0.0.1:4386%{REQUEST_URI} [P,QSA,L]
# Fiduswriter
ProxyPass /fiduswriter/ http://localhost:4386/
ProxyPassReverse /fiduswriter/ http://localhost:4386/
RedirectMatch permanent ^/fiduswriter$ /fiduswriter/
RewriteRule ^/fiduswriter/(images|javascripts|stylesheets)(.*) /fiduswriter/$1$2
</VirtualHost>
While Redmine still works, when I open Fiduswriter I get this:
I tried with fiduswriter snap, but also running fiduswriter from virtualenv.
Am I missing something?