Hi I run an up-to-date RL 9 and apache on my https webserver. Working great.
I want to get access to my local Battery Management System (HomeVolt) at 192.168.1.222 with its own (unsecure) http interface through my secure web server via https://myserver/HomeVolt/battery
I tried this, but this doesn’t work (part of httpd.conf of web server):
….
RewriteEngine on
RewriteBase “/HomeVolt/”
RewriteRule “^widget/(.*)$” “http://192.168.1.222/battery/widget/$1” [P]
ProxyPassReverse “/HomeVolt/widget/” “http://192.168.1.222/battery/widget/”
……..
The result is:
[root@server slide_shows]# systemctl status httpd
× httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; preset: disabled)
Drop-In: /etc/systemd/system/httpd.service.d
└─php-fpm.conf
Active: failed (Result: exit-code) since Thu 2026-04-09 12:55:38 CEST; 8s ago
Duration: 1h 5min 19.851s
Docs: man:httpd.service(8)
Process: 2223212 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 2223212 (code=exited, status=1/FAILURE)
Status: “Reading configuration…”
CPU: 17msApr 09 12:55:38 server.hartings.se systemd[1]: Starting The Apache HTTP Server…
Apr 09 12:55:38 server.hartings.se httpd[2223212]: AH00526: Syntax error on line 432 of /etc/httpd/conf/httpd.conf:
Apr 09 12:55:38 server.hartings.se httpd[2223212]: RewriteBase: only valid in per-directory config files
Apr 09 12:55:38 server.hartings.se systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILURE
Apr 09 12:55:38 server.hartings.se systemd[1]: httpd.service: Failed with result ‘exit-code’.
Apr 09 12:55:38 server.hartings.se systemd[1]: Failed to start The Apache HTTP Server.
The Rewrite and ProxyReverse lines I found in the general apache manuals (Using mod_rewrite for Proxying - Apache HTTP Server Version 2.4)
I am not sure about lines with “widget”. Is this a general command or just an example?
Any sugestions on how to route this BMS traffic through /HomeVolt/ directory on my own webserver?
Many thanks for any hints pointing me in the right direction!

