Skip to content
This repository has been archived by the owner on Feb 21, 2022. It is now read-only.

Reverse proxy using apache2 (httpd) does not allow creation of pages #233

Open
o-k-a-y opened this issue Jul 27, 2019 · 0 comments
Open
Assignees

Comments

@o-k-a-y
Copy link

o-k-a-y commented Jul 27, 2019

I'm trying to run wikijs on wiki.domain.com but am encountering errors when running and attempting to create/update my home page.

When I run the page, it seems incomplete to begin with (broken images, broken links).
If i go to wiki.domain.com:3000/create/home, I get as html

DiscardSave Document
<!-- TITLE: Home -->
<!-- SUBTITLE: A quick summary of Home -->

# Header
Powered by Wiki.js.

    Home
    Return to top

The DiscardSave I'm assuming are supposed to be two separate buttons but it's just one html string I can't click or do anything with.

In my config.yml for wikijs I have

host: 'localhost'
port: 3000

My apache2 conf for subdomain

<VirtualHost *:80>

        ServerName wiki.craftmine.org
        ServerAlias www.wiki.domain.com

        ServerAdmin webmaster@localhost
        #referring the user to the recipes application
        DocumentRoot /var/www/html/wiki

         <Directory /var/www/html/wiki/public>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
                # Uncomment this directive is you want to see apache2's
                # default start page (in /apache2-default) when you go to /
                #RedirectMatch ^/$ /apache2-default/
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

        ProxyRequests on
        ProxyPass / http://localhost:3000
</VirtualHost>
@NGPixel NGPixel transferred this issue from requarks/wiki Aug 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants