Vhost Proxy Example

<VirtualHost *:80>
	ServerName dubnet.ddns.net
	Redirect "/dubnas" "http://dubnet.ddns.net:8080"
	DocumentRoot "c:/webserver/www/dubnet"
	ErrorLog "c:/webserver/logs/dubnet_error.log"
	<Directory  "c:/webserver/www/dubnet/">
		Options +Indexes +Includes +FollowSymLinks +MultiViews
		Order allow,deny
		Require all granted
		Allow from all
	</Directory>
	
	 RewriteEngine on
        RewriteRule ^/emby(.*)    http://192.168.1.15:8096/emby$1 [proxy]
        RewriteRule ^/emby http://192.168.1.15:8096 [proxy]
        RewriteRule ^/embywebsocket(.*)    http://192.168.1.15:8096/embywebsocket$1 [proxy]
        RewriteRule ^/embywebsocket http://192.168.1.15:8096 [proxy]
	
		RewriteRule ^/dubsys(.*)    http://192.168.1.15/phpsysinfo/dubsys$1 [proxy]
        RewriteRule ^/dubsys http://192.168.1.15/phpsysinfo [proxy]
	
        <location /emby>
           ProxyPass  http://192.168.1.15:8096/
           ProxyPassReverse  http://192.168.1.15:8096/
        </location>
        <location /embywebsocket>
           ProxyPass  http://192.168.1.15:8096/
           ProxyPassReverse  http://192.168.1.15:8096/
        </location>
		
		<location /dubsys>
           ProxyPass  http://192.168.1.15/phpsysinfo/
           ProxyPassReverse  http://192.168.1.15/phpsysinfo/
        </location>
		

</VirtualHost>