Site Tools


informatique:linux:alpine:serveur_web

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
informatique:linux:alpine:serveur_web [2025/10/29 19:49] yahikoinformatique:linux:alpine:serveur_web [2025/10/29 19:52] (current) yahiko
Line 130: Line 130:
 </file> </file>
  
-Sinon ce code peut juste être intégrer dans un vhost.+Sinon ce code peut juste être intégrer dans un vhost, du genre : 
  
 +<file apache test.conf>
 +<VirtualHost *:80>
 + ServerName erreur503.xyz
 + DocumentRoot /var/www/erreur503.xyz
 + <FilesMatch \.php$>
 + SetHandler "proxy:fcgi://127.0.0.1:9000"
 + </FilesMatch>
 + <Directory /var/www/erreur503.xyz>
 + AllowOverride All
 + Require all granted
 + </Directory>
 +</VirtualHost>
 +</file>
 +
 +==== Vérification du fonctionnement ====
 On peut vérifier en créant un fichier ''phpinfo.php'' : On peut vérifier en créant un fichier ''phpinfo.php'' :
  
informatique/linux/alpine/serveur_web.txt · Last modified: by yahiko