Sharepoint-Seite im Apache veröffentlicht Donnerstag, 20. Juni 2019 11:06   Heute stand ich vor der Aufgabe, dass unsere interne Sharepoint-Seite im Apache veröffentlicht werden sollte. An sich hätte das kein Problem sein sollen -- war es im Endeffekt aber. Bei uns schaut es schematisch so aus, dass der Apache alle Anfragen anhand des Domain-Namens auf die virtuellen Server weiterreicht bzw. als Proxy fungiert: Internet -\> Apache / DMZ -\> Virtueller Host / Backend Server. Anhand [des Blog-Eintrags von Todd Klint](http://toddklindt.com/blog/Lists/Posts/Post.aspx?ID=39) den Sharepoint-Service so eingerichtet, dass er auf die richtige URL lauscht. Die Konfigurationsdatei des virtuellen Hosts sah dann folgendermaßen aus:

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

<VirtualHost *:443>

SSLEngine On

SSLProxyEngine On

SSLCertificateFile "$CERT_FILE"

SSLCertificateKeyFile "$CERT_KEY_FILE"

SSLProxyCACertificateFile "$CERT_CA_FILE"

ProxyRequests Off

ProxyVia On

 

ServerAdmin admin@sps.mydomain.com

DocumentRoot $VHOST_DIR/sps/web

ServerName sps.mydomain.com:443

ErrorLog "|rotatelogs.exe $VHOST_DIR/sps/logs/%Y%m%d_ssl_error.log 86400"

CustomLog "|rotatelogs.exe $VHOST_DIR/sps/logs/%Y%m%d_ssl_access.log 86400" common

 

# AddDefaultCharset ISO

LogLevel debug

ProxyPreserveHost Off

KeepAlive Off

 

ProxyPass /  http://backend-srv:8080/

ProxyPassReverse /  http://backend-srv:8080/

 

<Proxy *>

Order allow,deny

Allow from all

</Proxy>

 

<Directory "$VHOST_DIR/sps/">

Order allow,deny

Allow from all

</Directory>

</VirtualHost>

  Aus \<\>     Gute Anleitung :     LetsEncrypt on Debian 9 and Apache