ich bin neu hier. Befasse mich mit folgendem Problem. Ich habe den Apache2 als Web-Server laufen, der auch im I-Net erreichbar ist. Nun habe ich Geräte die ich gerne über die Weboberfläche verwalten möchte. Aber da die Geräte im lokalem Netz liegen sind die logischerweise nicht erreichbar im I-Net.
Darauf hin habe ich mir den ProxyPass installiert. Allerdings bekomme ich den Fehler 404 oder bei anderen Geräten sind die Seiten unvollständig.
Hier meine Konfiguration:
- Code: Select all
LoadFile /usr/lib/libxml2.so.2
#Include /etc/apache2/mod_proxy_html.conf
LoadModule xml2enc_module /usr/lib/apache2/mod_xml2enc.so
<IfModule mod_proxy.c>
ProxyRequests Off
ProxyVia On
</IfModule>
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin system@mail.casa.red
ServerName xxxxx.de
DocumentRoot /srv/www/htdocs/dwl2100ap
SetOutputFilter proxy-html
ProxyHTMLLogVerbose On
ProxyHTMLExtended On
ProxyPass /dwl2100ap http://dwl2100ap.casa.red
# RewriteEngine On
# RewriteRule /dwl2100ap/(.*) http://dwl2100ap.casa.red/$1 [P]
ProxyHTMLURLMap http://dwl2100ap.casa.red /dwl2100ap
<Location /dwl2100ap/>
ProxyPassReverse /
ProxyHTMLURLMap / /dwl2100ap/
ProxyHTMLURLMap /dwl2100ap /dwl2100ap
RequestHeader unset Accept-Encoding
</Location>
ServerAdmin system@mail.casa.red
ServerName msesis.de
DocumentRoot /srv/www/htdocs/dwl2100ap
SetOutputFilter proxy-html
ProxyHTMLLogVerbose On
ProxyHTMLExtended On
ProxyPass /laserjet3055 http://laserjet3055.casa.red
# RewriteEngine On
# RewriteRule /laserjet3055/(.*) http://dwl2100ap.casa.red/$1 [P]
ProxyHTMLURLMap http://laserjet3055.casa.red /laserjet3055
<Location /laserjet3055/>
ProxyPassReverse /
ProxyHTMLURLMap / /laserjet3055/
ProxyHTMLURLMap /laserjet3055 /laserjet3055
RequestHeader unset Accept-Encoding
</Location>
ProxyPass /mfcj6510 http://mfcj6510.casa.red/
ProxyHTMLURLMap http://mfcj6510.casa.red /mfcj6510
<Location /mfcj6510/>
ProxyPassReverse /
ProxyHTMLURLMap / /mfcj6510/
ProxyHTMLURLMap /mfcj6510 /mfcj6510
RequestHeader unset Accept-Encoding
</Location>
ProxyPass /agfeo http://server.casa.red:5080/
ProxyHTMLURLMap http://server.casa.red:5080 /agfeo
<Location /agfeo/>
ProxyPassReverse /
ProxyHTMLURLMap / /agfeo/
ProxyHTMLURLMap /agfeo /agfeo
RequestHeader unset Accept-Encoding
</Location>
ProxyPass /webmin http://server.casa.red:12178/
ProxyHTMLURLMap http://server.casa.red:12178 /webmin
<Location /webmin/>
ProxyPassReverse /
ProxyHTMLURLMap / /webmin/
ProxyHTMLURLMap /webmin /webmin
RequestHeader unset Accept-Encoding
</Location>
RewriteRule ^/lancom$ /lancom/ [L]
ProxyPass /lancom http://lancom.casa.red/
ProxyHTMLURLMap http://lancom.casa.red:5080 /lancom
<Location /lancom/>
ProxyPassReverse /
ProxyHTMLURLMap / /lancom/
ProxyHTMLURLMap /lancom /lancom
RequestHeader unset Accept-Encoding
</Location>
</VirtualHost>
Hier die Apache2 Version:
- Code: Select all
rpm -qa |grep apache
apache2-mod_perl-devel-2.0.4-40.19
apache2-devel-2.2.12-1.28.1
apache2-2.2.12-1.40.1
apache2-mod_fcgid-2.2-31.21.1
apache2-mod_tidy-0.5.5-32.18
apache2-doc-2.2.12-1.40.1
apache2-mod_php5-5.2.14-0.7.30.48.1
apache2-example-pages-2.2.12-1.40.1
apache2-mod_macro-1.1.8-193.18
apache2-worker-2.2.12-1.40.1
apache2-mod_mono-2.6.3-5.5.114
apache2-mod_scgi-1.12-1.19
apache2-mod_proxy_html-3.1.2-1.1
apache2-utils-2.2.12-1.40.1
apache2-prefork-2.2.12-1.40.1
apache2-mod_auth_ntlm_winbind-0.0.0.lorikeet_svn_682-1.18
apache2-mod_security2-2.5.6-2.10.1
apache2-mod_xml2enc-1.0.3-1.1
apache2-mod_perl-2.0.4-40.19
apache2-mod_apparmor-2.5.1.r1445-55.59.1
Bei den Änderungen habe ich den Apache2 auch neu gestartet. Und die proxy-Module werden auch geladen.
Was mache ich da falsch?
Gruß tiptel170