/var/www/vhosts/nabawater
Edit: /var/www/vhosts/nabawater/.htaccess (1444B)
# HTTPS redirect Rules
RewriteEngine on
RewriteRule subscriptionlog.txt subscriptionlog.txt [L]
RewriteRule /.well-known/apple-developer-merchantid-domain-association.txt /.well-known/apple-developer-merchantid-domain-association.txt [L]
RewriteRule google43eccc0a238614f1.html google43eccc0a238614f1.html [L]
# ############################################
# Redirecting to HTTPS if the Host does't have
#
# @author: A Vijay
# ############################################
# Skip if the request from Local
RewriteCond %{HTTP_HOST} !^192.168.*$ [NC]
RewriteCond %{HTTP_HOST} !^34.225.*$ [NC]
RewriteCond %{HTTP_HOST} !^157.175.161.*$ [NC]
RewriteCond %{HTTP_HOST} !^local.* [NC]
RewriteCond %{HTTP_HOST} !^vj.* [NC]
RewriteCond %{HTTP_HOST} !^localhost* [NC]
RewriteCond %{HTTP_HOST} !^nabawater.duceapps.com* [NC]
# Skip if the SSL has been disabled
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# Preventing Redirect loop
RewriteRule ^(frontend|backend)/web/ - [L]
RewriteRule ^(common)/web/ - [L]
RewriteCond %{REQUEST_URI} !^/api
RewriteCond %{REQUEST_URI} !^/admin
RewriteCond %{REQUEST_URI} !^/app
RewriteCond %{REQUEST_URI} !^/backend
RewriteCond %{REQUEST_URI} !^/uploads
RewriteCond %{REQUEST_URI} !^/.well-known
#RewriteRule ^(.*)$ /frontend/web/comingsoon/index.html
RewriteRule ^(.*)$ /frontend/web/index.php/$1 [L]