fbpixel
Powered by phpBB® Forum Software © phpBB Group
1#RewriteEngine On #RewriteRule ^/phpBB2/ /maintenance.htm # https://billing.nephoscale.net/admin/supportmgr/ticket_view.php?ticket=196565 RewriteEngine On RewriteCond %{HTTP_HOST} ^tester\. [OR] RewriteCond %{HTTP_HOST} ^www\.tester\. RewriteRule ^/?(.*) http://tester.naturescapes.net/$1 [R=301,L] #####RewriteEngine On #####RewriteCond %{HTTP_HOST} !^www\.naturescapes\.net$ #####RewriteCond %{REQUEST_URI} /store/ [OR] #####RewriteCond %{REQUEST_URI} /phpBB3/ [OR] #####RewriteCond %{REQUEST_URI} /docs/ #####RewriteRule ^(.*)$ http://www.naturescapes.net$1 [R=301,L] #####RewriteEngine On #RewriteLog "/app/nsn/logs/rewrite_log" #RewriteLogLevel 5 #####RewriteCond %{HTTP_HOST} !^tester\.naturescapes\.net #####RewriteCond %{HTTP_HOST} !^www\.naturescapes\.net #####RewriteCond %{HTTP_HOST} !^nsnvb\.naturescapes\.net #####RewriteCond %{HTTP_HOST} !^naturescapes\.net #####RewriteCond %{REQUEST_URI} /$ #####RewriteRule ^(.+) %{HTTP_HOST}$1 [C] # RewriteRule ^([^.]+)\.naturescapes\.net /portfolios/portfolios.php?photographer=$1 #RewriteRule ^([^.]+)\.naturescapes\.net /jpons.php?photographer=$1 RewriteEngine On RewriteCond %{REQUEST_FILENAME} .*jpg$|.*gif$|.*png$ [NC] RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !naturescapes\.net [NC] RewriteCond %{HTTP_REFERER} !facebook\.com [NC] RewriteCond %{REQUEST_URI} !/nsn_logo_250.jpg [NC] RewriteCond %{REQUEST_URI} !/nsn_logo_250.gif [NC] RewriteCond %{REQUEST_URI} !/nsn_logo_200.jpg [NC] RewriteCond %{REQUEST_URI} !/nsn_logo_350.jpg [NC] RewriteCond %{REQUEST_URI} !/Banner3.gif [NC] RewriteCond %{REQUEST_URI} !/Banner2.gif [NC] RewriteCond %{REQUEST_URI} !/retail/ [NC] RewriteCond %{REQUEST_URI} !/newsletter/ [NC] RewriteCond %{REQUEST_URI} !/ws/ [NC] RewriteCond %{REQUEST_URI} !/events/ [NC] RewriteCond %{REQUEST_URI} !/docs/ [NC] RewriteCond %{REQUEST_URI} !/banners/ [NC] RewriteCond %{REQUEST_URI} !/featured/ [NC] RewriteCond %{REQUEST_URI} !/images-newsletter/ [NC] RewriteCond %{REQUEST_URI} !/iow/ [NC] RewriteCond %{REQUEST_URI} !/forums/images/thumbnails/ [NC] #RewriteCond %{REQUEST_URI} !/covers/ [NC] RewriteRule (.*) /no-hotlinking.bmp [NC,L] # redirect users while we upgrade #Juan's Home IP #RewriteCond %{REMOTE_HOST} !71.0.29.140 [NC] #Steve's Home IP #RewriteCond %{REMOTE_HOST} !24.163.80.4 [NC] #Steves Work IP #RewriteCond %{REMOTE_HOST} !65.15.231.202 [NC] #nicholas IP #RewriteCond %{REMOTE_HOST} !67.173.109.213 [NC] #Heather's IP #RewriteCond %{REMOTE_HOST} !75.69.29.221 [NC] #RewriteCond %{REQUEST_URI} !/upgrading [NC] #RewriteRule (.*) http://www.naturescapes.net/upgrading/ # rewrite urls like this: # http://larrykaufman.naturescapes.net/store/product.php?productid=288 # to this: # http://www.naturescapes.net/store/product.php?productid=288 # and this: # http://larrykaufman.naturescapes.net/store/home.php?cat=14 # to this: # http://www.naturescapes.net/store/home.php?cat=14 #####RewriteCond %{HTTP_HOST} !^www\.naturescapes\.net #####RewriteCond %{REQUEST_URI} /store/(.*) #####RewriteRule ^/(.*) http://www.naturescapes.net/$1