requarks / wiki-v1

Legacy version (1.x) of Wiki.js
https://wiki.js.org
GNU Affero General Public License v3.0
101 stars 75 forks source link

Not running on IIS with current folder structure #25

Open mtannersigma opened 6 years ago

mtannersigma commented 6 years ago

Actual behavior

running under IIS wiki\server does not allow config.yml usage as it in the parent directory.

Expected behavior

Site to load correctly.

Steps to reproduce the behavior

Create IIS site, point to wiki\server folder , start the site , browse to the site and view the error output.

NGPixel commented 6 years ago

Why do you point to wiki\server? The root is where the config.yml file is...

mtannersigma commented 6 years ago

I did move the path back to just \wiki instead of the subfolder of \wiki\server, the issue that happened prior is still with the 403 errors regardless of permissions set on the wiki folder. I am leaning toward this not being wiki.js and more of there not being any information available on hosting it on IIS systems. I may just have to wait until someone gets it working on IIS and provides some information on how to do that properly.

mtannersigma commented 6 years ago

Update: After some digging I chose to just run wiki.js outside of IIS and use a blank side with a webconfig file using Proxy rewrites to point to the apps local address / port. That has works so far on the main wiki page, Although now enabling google auth breaks the GoogleID button with Entry o/oauth2/v2/auth does not exist!, not sure if that should be a separate discussion.

NGPixel commented 6 years ago

How do you get this error message? When you click on Google ID to login, what happens?

codehtmai commented 6 years ago

@matthew-tanner Would you be able to share your IIS rewrite rules? I've been trying to reverse proxy through IIS with no luck.