Content unavailable! (broken link)https://dynarocks.com/wiki/attach/PageHeader/interSULT-2.002.jpg

This page (revision-14) was last changed on 27-Feb-2018 08:49 by Dieter Käppel

This page was created on 20-Apr-2012 10:16 by Dieter Käppel

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Version Date Modified Size Author Changes ... Change note
14 27-Feb-2018 08:49 3 KB Dieter Käppel to previous
13 27-Feb-2018 08:49 3 KB Dieter Käppel to previous | to last
12 19-Jun-2014 22:07 3 KB Dieter Käppel to previous | to last
11 19-Oct-2013 15:19 2 KB Dieter Käppel to previous | to last
10 16-Aug-2013 16:51 2 KB Dieter Käppel to previous | to last
9 22-Feb-2013 19:05 2 KB Dieter Käppel to previous | to last
8 02-Feb-2013 14:45 2 KB Dieter Käppel to previous | to last
7 20-May-2012 13:14 2 KB Dieter Käppel to previous | to last
6 10-May-2012 05:49 1 KB Dieter Käppel to previous | to last
5 08-May-2012 21:53 1 KB Dieter Käppel to previous | to last
4 20-Apr-2012 10:19 1 KB Dieter Käppel to previous | to last
3 20-Apr-2012 10:17 1 KB Dieter Käppel to previous | to last Apache ==> Apache HTTPD
2 20-Apr-2012 10:17 1 KB Dieter Käppel to previous | to last
1 20-Apr-2012 10:16 234 bytes Dieter Käppel to last
Incoming links Outgoing links

Difference between version and

At line 1 changed one line
Der Server [Apache HTTPD] kann vor allem als HTTP-Frontend von komplexeren Web-Sites verwendet werden. HTTP-Angebote aus mehreren Quellen können so zum einer einheitlichen Zugriff kombiniert werden, bei bedarf auf mehrere Rechner verteilt.
Der Apache HTTPD-Server kann vor allem als HTTP-Frontend von komplexeren Web-Sites verwendet werden.
At line 5 changed one line
!!!Referenz auf interne Web-Server
!Referenz auf interne Web-Server
At line 7 changed 2 lines
ProxyPass /path/ http://localhost:8080/path/
ProxyPass /other-path/ http://localhost:8081/other-path/
ProxyPass /path http://localhost:8080/
ProxyPass /other-path http://localhost:8081/
At line 11 changed 27 lines
__Erklärung:__ Links steht der in der Anfrage zu ersetzende Pfad /path/, der auf '/' endet. Die Endung ist wichtig, damit am Pfad keine doppelten '/' auftreten. Es ist sinnvoll den internen Pfad genauso zu benennen wie den externen, da viele Web-Applikationen absolute Links im HTML-Code herausgeben.
!Header
Durch reines Ersetzen der Anfrage würden die Localhost-URLs mit raus gegeben werden, zum Beispiel bei Redirects. Daher sind Rückwärtsersetzungen sinnvoll:
{{{
RedirectEngine On
ProxyPass /path/ http://localhost:8080/path/
ProxyPassReverse /path/ http://localhost:8080/path/
}}}
__Erklärung:__ In den Headern werden die Localhost-Adressen wieder durch die Adressen der original Anfragen zurück ersetzt, daher auch 'Reverse'.
Zusätzlich können die original Domain-Angaben mit durchgereicht werden, sodass in der Software nicht speziell eine Domain konfiguriert werden braucht:
{{{
ProxyPreserveHost On
}}}
!Redirect
Umleiten des Root-Directory:
{{{
RedirectMatch ^/$ http://www.intersult.com/intersult/
}}}
!!!WebDAV
!WebDAV
At line 46 removed one line
LoadModule auth_digest_module modules/mod_auth_digest.so
At line 77 removed 36 lines
!!Server Status
Wenn das Modul mod_status.so eingefügt wird, kann ein Serverstatus abgerufen werden. Dazu wird innerhalb eines VirtualHost ein Location-Eintrag vorgenommen:
{{{
<Location /server-status>
SetHandler server-status
Order Deny,Allow
Deny from all
Allow from all
AuthType Basic
AuthName "Restricted Files"
AuthBasicProvider file
AuthUserFile "conf/user.passwd"
Require user admin
</Location>
}}}
__Hinweis:__ Im Beispiel ist ein Login mit Passwortschutz konfiguriert. Die Datei user.passwd kann mit dem mitgelieferten Befehl htpasswd erstellt und bearbeitet werden.
!!!PHP installieren
Ein aktuelles PHP-Zip kann heruntergeladen und innerhalb des apache/php entpackt werden. In der httpd.conf braucht man folgende Einträge:
{{{
LoadModule php7_module php/php7apache2_4.dll
PHPIniDir php
AddHandler application/x-httpd-php .php
AddType application/x-httpd-php .php .html
}}}
!!!Fragen und Antworten
!!MSVCR110.dll fehlt
Das [Visual C++ Redistributable for Visual Studio 2012|http://www.microsoft.com/en-us/download/details.aspx?id=30679] installieren.
Bei Windows 8 kann dies unter Umständen nicht klappen. Dort können vier Dateien msvc*110.dll manuell nach C:\Windows\system32 kopiert werden. Das geht allerdings nur, wenn die [Benutzerkontensteuerung|Windows] abgeschaltet wird.
×