Shadow-Here


Server : Apache
System : Linux methusalix2 3.16.0-11-amd64 #1 SMP Debian 3.16.84-1 (2020-06-09) x86_64
User : hios ( 1437)
PHP Version : 5.6.40-0+deb8u12
Disable Function : proc_close,proc_open,dl,shell_exec,passthru
Directory :  /home/fandr/yin/web/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :
Current File : /home/fandr/yin/web/.htaccess
#ErrorDocument 404 /http-404.html

#Redirect 301 /21.html http://www.fandr.ro/services/index.html
#Redirect 301 /22.html http://www.fandr.ro/services/index.html
#Redirect 301 /23.html http://www.fandr.ro/services/index.html
#Redirect 301 /24.html http://www.fandr.ro/services/index.html
#Redirect 301 /25.html http://www.fandr.ro/services/index.html
#Redirect 301 /contactus.html  http://www.fandr.ro/contact/index.html
#Redirect 301 /markets.html http://www.fandr.ro/markets/index.html
#Redirect 301 /newsroom.html http://www.fandr.ro/index.html
#Redirect 301 /services.html http://www.fandr.ro/services/index.html

RewriteEngine On
RewriteBase /

# Custom rewrites 
#RewriteCond %{QUERY_STRING} ^$
#RewriteRule ^veroeffentlichungen/ https://www.mara-lang.com/buecher/? [NC,R=301,L]

# Rewrite www.domain.com -> domain.com -- used with SEO Strict URLs plugin
#RewriteCond %{HTTP_HOST} .
#RewriteCond %{HTTP_HOST} !^example-domain-please-change\.com [NC]
#RewriteRule (.*) http://example-domain-please-change.com/$1 [R=301,L]

#
# or for the opposite domain.com -> www.domain.com use the following
# DO NOT USE BOTH
#
#RewriteCond %{HTTP_HOST} .
#RewriteCond %{HTTP_HOST} !^www\.example-domain-please-change\.com [NC]
#RewriteRule (.*) http://www.example-domain-please-change.com/$1 [R=301,L]

RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www\.fandr\.ro [NC]
RewriteRule (.*) https://www.fandr.ro/$1 [R=301,L]


#
# SSL begin
#


# see https://wiki.apache.org/httpd/RewriteHTTPToHTTPS

#RewriteEngine On
# This will enable the Rewrite capabilities

RewriteCond %{HTTPS} !=on
# This checks to make sure the connection is not already HTTPS

RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
# This rule will redirect users from their original location, to the same location but using HTTPS.
# i.e.  http://www.example.com/foo/ to https://www.example.com/foo/
# The leading slash is made optional so that this will work either in httpd.conf
# or .htaccess context

#
# SSL end
#



Samx