HEX
Server: LiteSpeed
System: Linux de-fra-web1696.main-hosting.eu 5.14.0-503.38.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 18 08:52:10 EDT 2025 x86_64
User: u217165591 (217165591)
PHP: 8.2.28
Disabled: system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Upload Files
File: /home/u217165591/domains/ruyaanahtari.com/public_html/.htaccess
# BEGIN LSCACHE
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
<IfModule LiteSpeed>
RewriteEngine on
CacheLookup on
RewriteRule .* - [E=Cache-Control:no-autoflush]
RewriteRule litespeed/debug/.*\.log$ - [F,L]
RewriteRule \.litespeed_conf\.dat - [F,L]

### marker ASYNC start ###
RewriteCond %{REQUEST_URI} /wp-admin/admin-ajax\.php
RewriteCond %{QUERY_STRING} action=async_litespeed
RewriteRule .* - [E=noabort:1]
### marker ASYNC end ###

### marker DROPQS start ###
CacheKeyModify -qs:fbclid
CacheKeyModify -qs:gclid
CacheKeyModify -qs:utm*
CacheKeyModify -qs:_ga
### marker DROPQS end ###

</IfModule>
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
# END LSCACHE
# BEGIN NON_LSCACHE
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
# END NON_LSCACHE
# ----------------------------------------------------------------------
# Basic security & hygiene
# ----------------------------------------------------------------------
# Disable directory listings
Options -Indexes

# Prevent access to hidden files (.git, .env, etc.)
<FilesMatch "^\.">
  Require all denied
  # Apache 2.2 fallback:
  # Order allow,deny
  # Deny from all
</FilesMatch>

# Block sensitive WP files
<FilesMatch "(^readme\.html$|^license\.txt$|^wp-config\.php$|^php\.ini$|^error_log$)">
  Require all denied
  # Apache 2.2 fallback:
  # Order allow,deny
  # Deny from all
</FilesMatch>

# Limit HTTP methods to the usual suspects
<LimitExcept GET POST HEAD>
  Require all denied
  # Apache 2.2 fallback:
  # Order allow,deny
  # Deny from all
</LimitExcept>

# (Optional) Disable XML-RPC if you don't use Jetpack/app publishing
#<Files "xmlrpc.php">
#  Require all denied
#</Files>

# ----------------------------------------------------------------------
# WordPress core permalinks (do not edit between WP markers)
# ----------------------------------------------------------------------
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]

# If the requested file or directory exists, serve it.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# Otherwise, route to index.php
RewriteRule . /index.php [L]
</IfModule>
# END WordPress