[GH-ISSUE #812] [QUESTION] apache2 proxy for subpath breaks layout #510

Closed
opened 2026-02-25 20:35:55 +03:00 by kerem · 1 comment
Owner

Originally created by @Sailing74 on GitHub (Jul 11, 2022).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/812

I am trying to use the path /search on my existing apache as a proxy for Whoogle:

ProxyRequests Off ProxyPreserveHost On ProxyPass /search http://whoogle.example:5000/ ProxyPassReverse /search http://whoogle.example:5000/

Config menu is always shown, Whoogle-logo stretches across the entire breadth of the page, etc. I suppose the config cannot be read in such instance.

Any idea how to get this working? I tried setting WHOOGLE_CONFIG_URL to https://www.example.com/search, but this didn't help.

Originally created by @Sailing74 on GitHub (Jul 11, 2022). Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/812 I am trying to use the path /search on my existing apache as a proxy for Whoogle: ` ProxyRequests Off ProxyPreserveHost On ProxyPass /search http://whoogle.example:5000/ ProxyPassReverse /search http://whoogle.example:5000/` Config menu is always shown, Whoogle-logo stretches across the entire breadth of the page, etc. I suppose the config cannot be read in such instance. Any idea how to get this working? I tried setting WHOOGLE_CONFIG_URL to https://www.example.com/search, but this didn't help.
kerem 2026-02-25 20:35:55 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@inittux111 commented on GitHub (Dec 6, 2022):

I think you want to use this variable for a sub path/url, this worked for me.

WHOOGLE_URL_PREFIX | The URL prefix to use for the whoogle instance (i.e. "/whoogle")

<!-- gh-comment-id:1339835552 --> @inittux111 commented on GitHub (Dec 6, 2022): I think you want to use this [variable](https://github.com/benbusby/whoogle-search#environment-variables) for a sub path/url, this worked for me. **WHOOGLE_URL_PREFIX** | The URL prefix to use for the whoogle instance (i.e. "/whoogle")
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whoogle-search#510
No description provided.