Für die AWO Bellheim installiere ich einen eigenen Server:
Ich wählte das Raspbian headless, also ohne GUI. Es basiert auf Debian uns ist so recht kompatibel zu meinem Odroid Woody-Server.
und /etc/dhcpcd.conf anpassen
Hier eine gute Anleitung: http://www.penguintutor.com/linux/light-webserver
apt install lighttpd php7.0-fpm
server.modules = ( "mod_access", "mod_alias", "mod_compress", "mod_redirect", "mod_rewrite", "mod_auth", "mod_fastcgi", ) server.document-root = "/var/www/html" server.upload-dirs = ( "/var/cache/lighttpd/uploads" ) server.errorlog = "/var/log/lighttpd/error.log" server.pid-file = "/var/run/lighttpd.pid" server.username = "www-data" server.groupname = "www-data" server.port = 8080 index-file.names = ( "index.php" ) url.access-deny = ( "~", ".inc" ) static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" ) compress.cache-dir = "/var/cache/lighttpd/compress/" compress.filetype = ( "application/javascript", "text/css", "text/html", "text/plain" ) # default listening port for IPv6 falls back to the IPv4 port include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port include_shell "/usr/share/lighttpd/create-mime.assign.pl" include_shell "/usr/share/lighttpd/include-conf-enabled.pl" ## Encoding ## dir-listing.encoding = "utf-8" server.dir-listing = "disable" ## Fast cgi-php ## fastcgi.server = ( ".php" => (( "socket" => "/var/run/php/php7.0-fpm.sock", "brocken-scriptfilename" => "enable" )) )
Anmelden am Wiki mit: karin:antiii123
Der Webservice des Servers woody dient als Proxy für Anfragen von awo-bellheim.spdns.de. In der Konfig des lighttpd muss als Weiterleitung die IP des awo-Webservers eingetragen werden.