14-11-2023
This commit is contained in:
@@ -705,8 +705,36 @@ $ brew services restart httpd
|
||||
|
||||
|
||||
|
||||
### cgi
|
||||
|
||||
```http
|
||||
LoadModule mpm_prefork_module lib/httpd/modules/mod_mpm_prefork.so
|
||||
|
||||
<IfModule mpm_prefork_module>
|
||||
LoadModule cgi_module lib/httpd/modules/mod_cgi.so
|
||||
</IfModule>
|
||||
|
||||
# Options Indexes FollowSymLinks ExecCGI
|
||||
|
||||
ScriptAlias /cgi-bin/ "/opt/homebrew/var/www/cgi-bin/"
|
||||
|
||||
<Directory "/opt/homebrew/var/www/cgi-bin">
|
||||
AllowOverride None
|
||||
Options None
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
# AddHandler cgi-script .cgi .sh
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
### Liens:
|
||||
|
||||
[:fa-link: https://getgrav.org/blog/macos-bigsur-apache-multiple-php-versions](https://getgrav.org/blog/macos-bigsur-apache-multiple-php-versions)
|
||||
|
||||
[:fa-link: https://lukearmstrong.github.io/2016/12/setup-apache-mysql-php-homebrew-macos-sierra/](https://lukearmstrong.github.io/2016/12/setup-apache-mysql-php-homebrew-macos-sierra/)
|
||||
[:fa-link: https://lukearmstrong.github.io/2016/12/setup-apache-mysql-php-homebrew-macos-sierra/](https://lukearmstrong.github.io/2016/12/setup-apache-mysql-php-homebrew-macos-sierra/)
|
||||
|
||||
[:fa-link: https://httpd.apache.org/docs/2.4/howto/cgi.html](https://httpd.apache.org/docs/2.4/howto/cgi.html)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user