-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🚚 Enable mod_rewrite and simplify Apache config
- Loading branch information
1 parent
313b089
commit 17bc2ca
Showing
2 changed files
with
5 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,9 @@ | ||
<VirtualHost *:80> | ||
|
||
DocumentRoot /var/www/html/public | ||
|
||
<Directory /var/www/html/public> | ||
AllowOverride AuthConfig FileInfo Indexes Limit Options=ExecCGI,Includes,Indexes,SymLinksIfOwnerMatch,MultiViews | ||
Options -Indexes -MultiViews +SymLinksIfOwnerMatch | ||
|
||
LimitRequestBody 10485760 | ||
|
||
</Directory> | ||
|
||
<Directory /var/www/html/public/.well-known> | ||
Require all granted | ||
AllowOverride All | ||
</Directory> | ||
|
||
SetEnv APP_ENV dev | ||
|
||
<IfModule fcgid_module> | ||
AddHandler fcgid-script .php | ||
FCGIWrapper /var/www/users.example.org/php-fcgi/php-fcgi-starter .php | ||
|
||
IPCConnectTimeout 20 | ||
IPCCommTimeout 60 | ||
FcgidBusyTimeout 60 | ||
MaxRequestLen 10485760 | ||
|
||
<Directory /var/www/html/public> | ||
Options +ExecCGI | ||
</Directory> | ||
</IfModule> | ||
|
||
ErrorLog "|/usr/bin/logger -t apache -p local0.error" | ||
|
||
Protocols h2 http/1.1 | ||
</VirtualHost> |