Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung |
tachtler:phpldapadmin_archlinux [2023/01/23 09:18] – [Voraussetzungen] klaus | tachtler:phpldapadmin_archlinux [2023/10/13 11:15] (aktuell) – [/etc/httpd/conf/vhosts/phpldapadmin.conf] klaus |
---|
* [[tachtler:ldap_archlinux#anonymous_bind_deaktivierenetc_openldap_ldifd_config_anonymous_bindldif|LDAP Archlinux - "Anonymous bind" deaktivieren: /etc/openldap/ldif.d/config_anonymous_bind.ldif]] | * [[tachtler:ldap_archlinux#anonymous_bind_deaktivierenetc_openldap_ldifd_config_anonymous_bindldif|LDAP Archlinux - "Anonymous bind" deaktivieren: /etc/openldap/ldif.d/config_anonymous_bind.ldif]] |
| |
===== PHP7-FPM ===== | ===== PHP74-FPM ===== |
| |
Aktuell ist die [[https://www.php.net/|PHP Net]] Installation in der **Version 7.x** noch in Verwendung, welche als PHP7-FPM zur Interpretation von PHP-Code verwendet wird. | Aktuell ist die [[https://www.php.net/|PHP Net]] Installation in der **Version 7.x** noch in Verwendung, welche als PHP7-FPM zur Interpretation von PHP-Code verwendet wird. |
| |
* Siehe auch den internen Link [[tachtler:apache_http_server_archlinux_-_php7-fpm_-_alternativer_php-interpreter|Apache HTTP Server ArchLinux - php7-fpm - Alternativer PHP-Interpreter]] | * Siehe auch den internen Link [[tachtler:apache_http_server_archlinux_-_php74-fpm_-_alternativer_php-interpreter|Apache HTTP Server ArchLinux - php74-fpm - Alternativer PHP-Interpreter]] |
| |
==== /etc/php7/php.ini ==== | ==== /etc/php7/php.ini ==== |
# ---------------------------------------------------------- | # ---------------------------------------------------------- |
<IfModule log_config_module> | <IfModule log_config_module> |
ErrorLog /var/log/httpd/repository.tachtler.net_error.log | ErrorLog /var/log/httpd/phpldapadmin.tachtler.net_error.log |
SetEnvIF User-Agent "HAProxy" dontlog=yes | SetEnvIF User-Agent "HAProxy" dontlog=yes |
SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" forwarded=yes | SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" forwarded=yes |
<IfModule logio_module> | <IfModule logio_module> |
CustomLog /var/log/httpd/repository.tachtler.net_access.log combined_deflate_ssl "expr=(reqenv('forwarded') != 'yes' && reqenv('dontlog') != 'yes')" | CustomLog /var/log/httpd/phpldapadmin.tachtler.net_access.log combined_deflate_ssl "expr=(reqenv('forwarded') != 'yes' && reqenv('dontlog') != 'yes')" |
CustomLog /var/log/httpd/repository.tachtler.net_access.log combined_deflate_proxypass_ssl "expr=(reqenv('forwarded') == 'yes' && reqenv('dontlog') != 'yes')" | CustomLog /var/log/httpd/phpldapadmin.tachtler.net_access.log combined_deflate_proxypass_ssl "expr=(reqenv('forwarded') == 'yes' && reqenv('dontlog') != 'yes')" |
</IfModule> | </IfModule> |
</IfModule> | </IfModule> |
# ---------------------------------------------------------- | # ---------------------------------------------------------- |
<IfModule alias_module> | <IfModule alias_module> |
Alias / "/usr/share/webapps/phpldapadmin" | Alias / "/usr/share/webapps/phpldapadmin/" |
</IfModule> | </IfModule> |
| |
AllowOverride None | AllowOverride None |
Require all granted | Require all granted |
| |
| <FilesMatch \.php$> |
| SetHandler "proxy:unix:/run/php-fpm/php-fpm.sock|fcgi://localhost" |
| </FilesMatch> |
| |
</Directory> | </Directory> |
| |
# ---------------------------------------------------------- | # ---------------------------------------------------------- |
<IfModule log_config_module> | <IfModule log_config_module> |
ErrorLog /var/log/httpd/repository.tachtler.net_error.log | ErrorLog /var/log/httpd/phpldapadmin.tachtler.net_error.log |
SetEnvIF User-Agent "HAProxy" dontlog=yes | SetEnvIF User-Agent "HAProxy" dontlog=yes |
SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" forwarded=yes | SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" forwarded=yes |
<IfModule logio_module> | <IfModule logio_module> |
CustomLog /var/log/httpd/repository.tachtler.net_access.log combined_deflate_ssl "expr=(reqenv('forwarded') != 'yes' && reqenv('dontlog') != 'yes')" | CustomLog /var/log/httpd/phpldapadmin.tachtler.net_access.log combined_deflate_ssl "expr=(reqenv('forwarded') != 'yes' && reqenv('dontlog') != 'yes')" |
CustomLog /var/log/httpd/repository.tachtler.net_access.log combined_deflate_proxypass_ssl "expr=(reqenv('forwarded') == 'yes' && reqenv('dontlog') != 'yes')" | CustomLog /var/log/httpd/phpldapadmin.tachtler.net_access.log combined_deflate_proxypass_ssl "expr=(reqenv('forwarded') == 'yes' && reqenv('dontlog') != 'yes')" |
</IfModule> | </IfModule> |
</IfModule> | </IfModule> |