Tâche #32940
Scénario #32897: eole-fog configuration
Ajouter le paramètre allow_url_fopen à la configuration apache
Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
Start date:
07/07/2021
Due date:
% Done:
100%
Remaining (hours):
0.0
Associated revisions
ajout allow_url_fopen à la conf apache ref #32940
Move php_admin_flag in <Directory> tag
Ref: #32940
History
#1 Updated by Matthieu Lamalle over 1 year ago
- Status changed from Nouveau to En cours
#2 Updated by Matthieu Lamalle over 1 year ago
- Subject changed from Ajouter le template à la configuration apache to Ajouter le paramètre allow_url_fopen à la configuration apache
#3 Updated by Matthieu Lamalle over 1 year ago
- Status changed from En cours to À valider
#4 Updated by Ludwig Seys over 1 year ago
- Status changed from À valider to Résolu
#5 Updated by Joël Cuissinat over 1 year ago
- Assigned To set to Matthieu Lamalle
- % Done changed from 0 to 100
~/git/eole-fog$ git branch -r --contains e46323d2 origin/2.8.0/master origin/HEAD -> origin/master origin/dist/eole/2.8.0/master origin/dist/eole/2.8.1/master origin/master
#6 Updated by Joël Cuissinat over 1 year ago
root@eolebase:~# cat /etc/apache2/sites-enabled/001-fog.conf <VirtualHost *:80> <FilesMatch "\.php$"> SetHandler "proxy:fcgi://127.0.0.1:9000/" </FilesMatch> ServerName 192.168.0.24 ServerAlias eolebase.ac-test.fr php_admin_flag allow_url_fopen On DocumentRoot /var/www/ KeepAlive Off <Directory /var/www/fog/> DirectoryIndex index.php index.html index.htm </Directory> RewriteEngine On RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) RewriteRule .* - [F] RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-d RewriteRule ^/fog/(.*)$ /fog/api/index.php [QSA,L] </VirtualHost>
#7 Updated by Joël Cuissinat over 1 year ago
- Status changed from Résolu to Fermé
- Remaining (hours) set to 0.0
Avec le nouveau paquet eole-fog 2.8.0-11, ça donne :
root@eolebase:~# cat /etc/apache2/sites-enabled/001-fog.conf <VirtualHost *:80> <FilesMatch "\.php$"> SetHandler "proxy:fcgi://127.0.0.1:9000/" </FilesMatch> ServerName 192.168.0.24 ServerAlias eolebase.ac-test.fr DocumentRoot /var/www/ KeepAlive Off <Directory /var/www/fog/> DirectoryIndex index.php index.html index.htm php_admin_flag allow_url_fopen On </Directory> RewriteEngine On RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) RewriteRule .* - [F] RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-d RewriteRule ^/fog/(.*)$ /fog/api/index.php [QSA,L] </VirtualHost>