RewriteEngine on
#
# Uncomment the statement below if you want to make use of
# HTTP authentication and it does not already work.
# This could be required if you are for example using PHP via Apache CGI.
#
#<IfModule mod_rewrite.c>
#RewriteEngine on
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#</IfModule>
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
#Lines prefixed with "####" have been disabled on your behalf by A2 Hosting Support.
####RewriteCond %{HTTP_HOST} ^tribunemicael.net$ [OR]
RewriteCond %{HTTP_HOST} ^www.tribunemicael.net$
RewriteCond %{REQUEST_URI} !^/[0-9]+..+.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}.txt(?: Comodo DCV)?$
RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/[0-9a-zA-Z_-]+$
####RewriteRule ^/?$ "http://tribunem.wwwss23.a2hosted.com/" [R=301,L]
RewriteRule ^/?$ "http://tribunem.wwwmi3-ss3.a2hosted.com/" [R=301,L]
برچسب:
نویسنده: آیلین رضوانی