This commit is contained in:
2026-02-06 09:23:15 +01:00
parent 8a35cceefa
commit 8ff96d2583
4 changed files with 237 additions and 1 deletions

View File

@@ -47,6 +47,20 @@ Options -Indexes
php_value error_reporting E_ALL & ~E_DEPRECATED & ~E_STRICT
</IfModule>
# Handle PHP files if mod_php is not available
<Files "*.php">
SetHandler application/x-httpd-php
</Files>
# Alternative PHP handler for different server configurations
<IfModule mod_fcgid.c>
AddHandler fcgid-script .php
</IfModule>
<IfModule mod_cgi.c>
AddHandler cgi-script .php
</IfModule>
# Force HTTPS (uncomment if you have SSL certificate)
# RewriteEngine On
# RewriteCond %{HTTPS} off