Re: Proxy 502 error help.
Posted: Thu Jan 22, 2015 3:39 pm
As requested
<VirtualHost *:80>
ServerName sabnzbdplus
ServerAlias sabnzbdplus.panzer.pw
ProxyPass / http://localhost:25915/sabnzbd/
ProxyPassReverse / http://localhost:25915/sabnzbd/
#Alternate access method: Comment out above 2 lines and uncomment the 3 below
#RewriteEngine On
#RewriteCond %{SERVER_PORT} 80
#RewriteRule (.*) http://%{HTTP_HOST}:25915/sabnzbd/ [R,L]
DocumentRoot /var/hda/web-apps/sabnzbdplus/html
<Directory "/var/hda/web-apps/sabnzbdplus/html">
Options Indexes FollowSymLinks MultiViews
<If "-s '/var/hda/web-apps/sabnzbdplus/htpasswd'">
AuthType Basic
AuthName "User Login Required for This Area"
AuthUserFile /var/hda/web-apps/sabnzbdplus/htpasswd
Require valid-user
</If>
<Else>
AllowOverride AuthConfig
Require all granted
</Else>
</Directory>
ErrorLog /var/hda/web-apps/sabnzbdplus/logs/error_log
CustomLog /var/hda/web-apps/sabnzbdplus/logs/access_log combined env=!dontlog
</VirtualHost>
[ Post made via Android ]
<VirtualHost *:80>
ServerName sabnzbdplus
ServerAlias sabnzbdplus.panzer.pw
ProxyPass / http://localhost:25915/sabnzbd/
ProxyPassReverse / http://localhost:25915/sabnzbd/
#Alternate access method: Comment out above 2 lines and uncomment the 3 below
#RewriteEngine On
#RewriteCond %{SERVER_PORT} 80
#RewriteRule (.*) http://%{HTTP_HOST}:25915/sabnzbd/ [R,L]
DocumentRoot /var/hda/web-apps/sabnzbdplus/html
<Directory "/var/hda/web-apps/sabnzbdplus/html">
Options Indexes FollowSymLinks MultiViews
<If "-s '/var/hda/web-apps/sabnzbdplus/htpasswd'">
AuthType Basic
AuthName "User Login Required for This Area"
AuthUserFile /var/hda/web-apps/sabnzbdplus/htpasswd
Require valid-user
</If>
<Else>
AllowOverride AuthConfig
Require all granted
</Else>
</Directory>
ErrorLog /var/hda/web-apps/sabnzbdplus/logs/error_log
CustomLog /var/hda/web-apps/sabnzbdplus/logs/access_log combined env=!dontlog
</VirtualHost>
[ Post made via Android ]