mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-01-16 19:05:08 -05:00
116 lines
4.0 KiB
ApacheConf
116 lines
4.0 KiB
ApacheConf
<IfModule mod_rewrite.c>
|
|
<IfModule mod_negotiation.c>
|
|
Options -MultiViews -Indexes
|
|
</IfModule>
|
|
|
|
RewriteEngine On
|
|
|
|
# Handle Authorization Header
|
|
RewriteCond %{HTTP:Authorization} .
|
|
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
|
|
|
# Redirect Trailing Slashes If Not A Folder...
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteCond %{REQUEST_URI} (.+)/$
|
|
RewriteRule ^ %1 [L,R=301]
|
|
|
|
# Send Requests To Front Controller...
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteRule ^ index.php [L]
|
|
</IfModule>
|
|
|
|
<IfModule mod_deflate.c>
|
|
AddOutputFilterByType DEFLATE application/javascript
|
|
AddOutputFilterByType DEFLATE application/rss+xml
|
|
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
|
|
AddOutputFilterByType DEFLATE application/x-font
|
|
AddOutputFilterByType DEFLATE application/x-font-opentype
|
|
AddOutputFilterByType DEFLATE application/x-font-otf
|
|
AddOutputFilterByType DEFLATE application/x-font-truetype
|
|
AddOutputFilterByType DEFLATE application/x-font-ttf
|
|
AddOutputFilterByType DEFLATE application/x-javascript
|
|
AddOutputFilterByType DEFLATE application/xhtml+xml
|
|
AddOutputFilterByType DEFLATE application/xml
|
|
AddOutputFilterByType DEFLATE font/opentype
|
|
AddOutputFilterByType DEFLATE font/otf
|
|
AddOutputFilterByType DEFLATE font/ttf
|
|
AddOutputFilterByType DEFLATE image/svg+xml
|
|
AddOutputFilterByType DEFLATE image/x-icon
|
|
AddOutputFilterByType DEFLATE text/css
|
|
AddOutputFilterByType DEFLATE text/html
|
|
AddOutputFilterByType DEFLATE text/javascript
|
|
AddOutputFilterByType DEFLATE text/plain
|
|
AddOutputFilterByType DEFLATE text/xml
|
|
AddOutputFilterByType DEFLATE icon/svg
|
|
</IfModule>
|
|
|
|
## EXPIRES CACHING ##
|
|
<IfModule mod_expires.c>
|
|
ExpiresActive On
|
|
ExpiresByType image/jpg "access plus 1 month"
|
|
ExpiresByType icon/svg "access plus 1 month"
|
|
ExpiresByType image/jpeg "access plus 1 month"
|
|
ExpiresByType image/gif "access plus 1 month"
|
|
ExpiresByType image/png "access plus 1 month"
|
|
ExpiresByType text/css "access plus 1 month"
|
|
ExpiresByType application/pdf "access plus 1 month"
|
|
ExpiresByType text/x-javascript "access plus 1 month"
|
|
ExpiresByType application/x-shockwave-flash "access plus 1 month"
|
|
ExpiresByType image/x-icon "access plus 1 year"
|
|
ExpiresDefault "access plus 2 days"
|
|
</IfModule>
|
|
## EXPIRES CACHING ##
|
|
|
|
<Files .env>
|
|
Order allow,deny
|
|
Deny from all
|
|
</Files>
|
|
|
|
<Files .zip>
|
|
Order allow,deny
|
|
Deny from all
|
|
</Files>
|
|
|
|
<IfModule mod_security.c>
|
|
SecFilterEngine Off
|
|
SecFilterScanPOST Off
|
|
</IfModule>
|
|
|
|
# BEGIN cPanel-generated php ini directives, do not edit
|
|
# Manual editing of this file may result in unexpected behavior.
|
|
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
|
|
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
|
|
<IfModule php8_module>
|
|
php_flag display_errors On
|
|
php_value max_execution_time 1600
|
|
php_value max_input_time 1600
|
|
php_value max_input_vars 1000
|
|
php_value memory_limit 2048M
|
|
php_value post_max_size 6001M
|
|
php_value session.gc_maxlifetime 1440
|
|
php_value session.save_path "/home/studioppls/public_html/studio_temp"
|
|
php_value upload_max_filesize 6000M
|
|
php_flag zlib.output_compression On
|
|
</IfModule>
|
|
<IfModule lsapi_module>
|
|
php_flag display_errors On
|
|
php_value max_execution_time 1600
|
|
php_value max_input_time 1600
|
|
php_value max_input_vars 1000
|
|
php_value memory_limit 2048M
|
|
php_value post_max_size 6001M
|
|
php_value session.gc_maxlifetime 1440
|
|
php_value session.save_path "/home/studioppls/public_html/studio_temp"
|
|
php_value upload_max_filesize 6000M
|
|
php_flag zlib.output_compression On
|
|
</IfModule>
|
|
# END cPanel-generated php ini directives, do not edit
|
|
|
|
# php -- BEGIN cPanel-generated handler, do not edit
|
|
# Set the “alt-php81” package as the default “PHP” programming language.
|
|
<IfModule mime_module>
|
|
AddHandler application/x-httpd-alt-php81___lsphp .php .php8 .phtml
|
|
</IfModule>
|
|
# php -- END cPanel-generated handler, do not edit
|