Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

How to use strapdown-zeta with apache proxy? #120

Open
taohonker opened this issue Jul 18, 2018 · 0 comments
Open

How to use strapdown-zeta with apache proxy? #120

taohonker opened this issue Jul 18, 2018 · 0 comments

Comments

@taohonker
Copy link

Hi,
I tested SZ on my Linux node, which is in the same LAN where my laptop is. I use the latest binary release to start up the wiki:

strapdown-zeta -verbose -addr :8000

and then browse http://host-ip:8000, everything is awesome.

Then I want to serve it as a subfolder /wiki on my apache server. This is my virtual host configuration:

<IfDefine DEFAULT_VHOST>
Listen 80
<VirtualHost *:80>
	ServerName doihpc
	Include /etc/apache2/vhosts.d/default_vhost.include

        ProxyPass "/wiki" "http://localhost:8000/"
        ProxyPassReverse "/wiki" "http://localhost:8000/"
</VirtualHost>
</IfDefine>

After I restart the apache server and browse http://host-ip/wiki, I only get a blank page, but its title on the tab bar is what I set for the wiki.

I'm not familiar with apache settings, so can you friendly help me with this? Or show me a way out?

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

1 participant