Creator
Welcome!
RocketSites is going to install "
spooner.virtstage.com
" on
this staging server.
Installing... This will take a bit of time...
Current .htaccess
×
# Apache configuration file # httpd.apache.org/docs/2.2/mod/quickreference.html # ---------------------------------------------------------------------- # Webfont access # ---------------------------------------------------------------------- # allow access from all domains for webfonts # alternatively you could only whitelist # your subdomains like "sub.domain.com"
Header set Access-Control-Allow-Origin "*"
# ---------------------------------------------------------------------- # Proper MIME type for all files # ---------------------------------------------------------------------- # audio AddType audio/ogg oga ogg # video AddType video/ogg ogv AddType video/mp4 mp4 AddType video/webm webm # Proper svg serving. Required for svg webfonts on iPad # twitter.com/FontSquirrel/status/14855840545 AddType image/svg+xml svg svgz AddEncoding gzip svgz # webfonts AddType application/vnd.ms-fontobject eot AddType font/truetype ttf AddType font/opentype otf AddType application/x-font-woff woff # assorted types AddType image/x-icon ico AddType image/webp webp AddType text/cache-manifest appcache manifest AddType text/x-component htc AddType application/x-chrome-extension crx AddType application/x-xpinstall xpi AddType application/octet-stream safariextz # ---------------------------------------------------------------------- # Start rewrite engine # ---------------------------------------------------------------------- # Turning on the rewrite engine is necessary for the following rules and features.
RewriteEngine On
# ---------------------------------------------------------------------- # Suppress or force the "www." at the beginning of URLs # ---------------------------------------------------------------------- # The same content should never be available under two different URLs - especially not with and # without "www." at the beginning, since this can cause SEO problems (duplicate content). # That's why you should choose one of the alternatives and redirect the other one. # By default option 1 (no "www.") is activated. Remember: Shorter URLs are sexier. # no-www.org/faq.php?q=class_b # If you rather want to use option 2, just comment out all option 1 lines # and uncomment option 2. # IMPORTANT: NEVER USE BOTH RULES AT THE SAME TIME! # ---------------------------------------------------------------------- # Option 1: # Rewrite "www.domain.com -> domain.com" #
# RewriteCond %{HTTPS} !=on # RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] # RewriteRule ^(.*)$ https://%1/$1 [R=301,L] #
# ---------------------------------------------------------------------- # Option 2: # To rewrite "domain.com -> www.domain.com" uncomment the following lines. # Be aware that the following rule might not be a good idea if you # use "real" subdomains for certain parts of your website. #
# RewriteCond %{HTTPS} !=on # RewriteCond %{HTTP_HOST} !^www\..+$ [NC] # RewriteCond %{HTTP_HOST} (.+)$ [NC] # RewriteRule ^(.*)$ http://www.%1/$1 [R=301,L] #
# ---------------------------------------------------------------------- # UTF-8 encoding # ---------------------------------------------------------------------- # use utf-8 encoding for anything served text/plain or text/html AddDefaultCharset utf-8 # force utf-8 for a number of file formats AddCharset utf-8 .html .css .js .xml .json .rss # ---------------------------------------------------------------------- # virteom Rules # ---------------------------------------------------------------------- RewriteBase / SetEnv TZ America/New_York # File modified on Mon May 2 15:07:29 2016 by server # For security reasons, mod_php is not used on this server. Use a php.ini file for php directives # php_flag register_globals off Order allow,deny Allow from all # run everything thru the index if its not an existing file/directory RewriteCond %{REQUEST_URI} !^/virteom # RewriteCond %{REQUEST_URI} !^/wp RewriteCond %{REQUEST_URI} !^/sitemap.xml RewriteCond %{REQUEST_URI} !^/launchpad RewriteCond %{REQUEST_URI} !^/dashboard RewriteCond %{REQUEST_URI} !^/rocketsites RewriteCond %{REQUEST_URI} !^/rocketapps #RewriteCond %{REQUEST_URI} !^/virteom/CEAD/js/material-dashboard-pro-html-v2.0.1/assets/* RewriteCond %{REQUEST_URI} !^/node RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .* index.php [L] Options +FollowSymLinks -MultiViews RewriteRule ^launchpad/?(.*)$ /virteom/$1 [L,NC] RewriteRule ^rocketsites/?(.*)$ /virteom/$1 [L,NC] RewriteRule ^dashboard/?(.*)$ /virteom/$1 [L,NC] # File modified on Mon May 2 15:07:38 2016 by server # For security reasons, mod_php is not used on this server. Use a php.ini file for php directives # ----------------------------------------------------------------------- # The following js/css files are really php files for gzip compression. They appear as .js/.css files so browser properly caches them. # ----------------------------------------------------------------------- RewriteRule ^virteom/styles/([^/]+)/js/javascripts\.js$ virteom/styles/$1/js/javascripts.php [L] RewriteRule ^virteom/styles/([^/]+)/([^/]+)/js/javascripts\.js$ virteom/styles/$1/$2/js/javascripts.php [L] RewriteRule ^virteom/CEAD/opensource/js/jquery/jquery\.js$ virteom/CEAD/opensource/js/jquery/jquery.php [L] RewriteRule ^virteom/styles/([^/]+)/css/css\.css$ virteom/styles/$1/css/css.php [L] RewriteRule ^virteom/styles/([^/]+)/([^/]+)/css/css\.css$ virteom/styles/$1/$2/css/css.php [L] RewriteRule ^virteom/CEAD/opensource/js/jquery/ui/jquery-ui\.js$ virteom/CEAD/opensource/js/jquery/ui/jquery-ui.php [L] RewriteRule ^virteom/styles/([^/]+)/css/jquery-ui\.css$ virteom/styles/$1/css/jquery-ui.php [L] RewriteRule ^virteom/styles/([^/]+)/([^/]+)/css/jquery-ui\.css$ virteom/styles/$1/$2/css/jquery-ui.php [L] RewriteRule ^sitemap.xml$ sitemap.php [L] # ----------------------------------------------------------------------- # Cache images to expire a week after use to speed up the site # -----------------------------------------------------------------------
Header set Cache-Control "max-age=604800, public"
# ----------------------------------------------------------------------- # This adds Gzip to all files for faster download speeds. # -----------------------------------------------------------------------
mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file .(html?|txt|css|js|php)$ mod_gzip_item_include handler ^cgi-script$ mod_gzip_item_include mime ^text/.* mod_gzip_item_include mime ^application/x-javascript.* mod_gzip_item_exclude mime ^image/.* mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
# # configure mod_expires # # URL: http://httpd.apache.org/docs/2.2/mod/mod_expires.html #
ExpiresActive On ExpiresDefault "access plus 1 seconds" ExpiresByType image/x-icon "access plus 2692000 seconds" ExpiresByType image/jpeg "access plus 2692000 seconds" ExpiresByType image/png "access plus 2692000 seconds" ExpiresByType image/gif "access plus 2692000 seconds" ExpiresByType application/x-shockwave-flash "access plus 2692000 seconds" ExpiresByType text/css "access plus 2692000 seconds" ExpiresByType text/javascript "access plus 2692000 seconds" ExpiresByType application/x-javascript "access plus 2692000 seconds" ExpiresByType text/html "access plus 600 seconds" ExpiresByType application/xhtml+xml "access plus 600 seconds"
# # configure mod_headers # # URL: http://httpd.apache.org/docs/2.2/mod/mod_headers.html #
Header set Cache-Control "max-age=2692000, public"
Header set Cache-Control "max-age=600, private, must-revalidate"
Header unset ETag Header unset Last-Modified
Redirect 204 /autodiscover/autodiscover.xml
New .htaccess
×
# Apache configuration file # httpd.apache.org/docs/2.2/mod/quickreference.html # ---------------------------------------------------------------------- # Webfont access # ---------------------------------------------------------------------- # allow access from all domains for webfonts # alternatively you could only whitelist # your subdomains like "sub.domain.com"
Header set Access-Control-Allow-Origin "*"
# ---------------------------------------------------------------------- # Proper MIME type for all files # ---------------------------------------------------------------------- # audio AddType audio/ogg oga ogg # video AddType video/ogg ogv AddType video/mp4 mp4 AddType video/webm webm # Proper svg serving. Required for svg webfonts on iPad # twitter.com/FontSquirrel/status/14855840545 AddType image/svg+xml svg svgz AddEncoding gzip svgz # webfonts AddType application/vnd.ms-fontobject eot AddType font/truetype ttf AddType font/opentype otf AddType application/x-font-woff woff # assorted types AddType image/x-icon ico AddType image/webp webp AddType text/cache-manifest appcache manifest AddType text/x-component htc AddType application/x-chrome-extension crx AddType application/x-xpinstall xpi AddType application/octet-stream safariextz # ---------------------------------------------------------------------- # Start rewrite engine # ---------------------------------------------------------------------- # Turning on the rewrite engine is necessary for the following rules and features.
RewriteEngine On
# ---------------------------------------------------------------------- # Suppress or force the "www." at the beginning of URLs # ---------------------------------------------------------------------- # The same content should never be available under two different URLs - especially not with and # without "www." at the beginning, since this can cause SEO problems (duplicate content). # That's why you should choose one of the alternatives and redirect the other one. # By default option 1 (no "www.") is activated. Remember: Shorter URLs are sexier. # no-www.org/faq.php?q=class_b # If you rather want to use option 2, just comment out all option 1 lines # and uncomment option 2. # IMPORTANT: NEVER USE BOTH RULES AT THE SAME TIME! # ---------------------------------------------------------------------- # Option 1: # Rewrite "www.domain.com -> domain.com" #
# RewriteCond %{HTTPS} !=on # RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] # RewriteRule ^(.*)$ https://%1/$1 [R=301,L] #
# ---------------------------------------------------------------------- # Option 2: # To rewrite "domain.com -> www.domain.com" uncomment the following lines. # Be aware that the following rule might not be a good idea if you # use "real" subdomains for certain parts of your website. #
# RewriteCond %{HTTPS} !=on # RewriteCond %{HTTP_HOST} !^www\..+$ [NC] # RewriteCond %{HTTP_HOST} (.+)$ [NC] # RewriteRule ^(.*)$ http://www.%1/$1 [R=301,L] #
# ---------------------------------------------------------------------- # UTF-8 encoding # ---------------------------------------------------------------------- # use utf-8 encoding for anything served text/plain or text/html AddDefaultCharset utf-8 # force utf-8 for a number of file formats AddCharset utf-8 .html .css .js .xml .json .rss # ---------------------------------------------------------------------- # virteom Rules # ---------------------------------------------------------------------- RewriteBase / SetEnv TZ America/New_York # File modified on Mon May 2 15:07:29 2016 by server # For security reasons, mod_php is not used on this server. Use a php.ini file for php directives # php_flag register_globals off Order allow,deny Allow from all # run everything thru the index if its not an existing file/directory RewriteCond %{REQUEST_URI} !^/virteom # RewriteCond %{REQUEST_URI} !^/wp RewriteCond %{REQUEST_URI} !^/sitemap.xml RewriteCond %{REQUEST_URI} !^/launchpad RewriteCond %{REQUEST_URI} !^/dashboard RewriteCond %{REQUEST_URI} !^/rocketsites RewriteCond %{REQUEST_URI} !^/rocketapps #RewriteCond %{REQUEST_URI} !^/virteom/CEAD/js/material-dashboard-pro-html-v2.0.1/assets/* RewriteCond %{REQUEST_URI} !^/node RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .* index.php [L] Options +FollowSymLinks -MultiViews RewriteRule ^launchpad/?(.*)$ /virteom/$1 [L,NC] RewriteRule ^rocketsites/?(.*)$ /virteom/$1 [L,NC] RewriteRule ^dashboard/?(.*)$ /virteom/$1 [L,NC] # File modified on Mon May 2 15:07:38 2016 by server # For security reasons, mod_php is not used on this server. Use a php.ini file for php directives # ----------------------------------------------------------------------- # The following js/css files are really php files for gzip compression. They appear as .js/.css files so browser properly caches them. # ----------------------------------------------------------------------- RewriteRule ^virteom/styles/([^/]+)/js/javascripts\.js$ virteom/styles/$1/js/javascripts.php [L] RewriteRule ^virteom/styles/([^/]+)/([^/]+)/js/javascripts\.js$ virteom/styles/$1/$2/js/javascripts.php [L] RewriteRule ^virteom/CEAD/opensource/js/jquery/jquery\.js$ virteom/CEAD/opensource/js/jquery/jquery.php [L] RewriteRule ^virteom/styles/([^/]+)/css/css\.css$ virteom/styles/$1/css/css.php [L] RewriteRule ^virteom/styles/([^/]+)/([^/]+)/css/css\.css$ virteom/styles/$1/$2/css/css.php [L] RewriteRule ^virteom/CEAD/opensource/js/jquery/ui/jquery-ui\.js$ virteom/CEAD/opensource/js/jquery/ui/jquery-ui.php [L] RewriteRule ^virteom/styles/([^/]+)/css/jquery-ui\.css$ virteom/styles/$1/css/jquery-ui.php [L] RewriteRule ^virteom/styles/([^/]+)/([^/]+)/css/jquery-ui\.css$ virteom/styles/$1/$2/css/jquery-ui.php [L] RewriteRule ^sitemap.xml$ sitemap.php [L] # ----------------------------------------------------------------------- # Cache images to expire a week after use to speed up the site # -----------------------------------------------------------------------
Header set Cache-Control "max-age=604800, public"
# ----------------------------------------------------------------------- # This adds Gzip to all files for faster download speeds. # -----------------------------------------------------------------------
mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file .(html?|txt|css|js|php)$ mod_gzip_item_include handler ^cgi-script$ mod_gzip_item_include mime ^text/.* mod_gzip_item_include mime ^application/x-javascript.* mod_gzip_item_exclude mime ^image/.* mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
# # configure mod_expires # # URL: http://httpd.apache.org/docs/2.2/mod/mod_expires.html #
ExpiresActive On ExpiresDefault "access plus 1 seconds" ExpiresByType image/x-icon "access plus 2692000 seconds" ExpiresByType image/jpeg "access plus 2692000 seconds" ExpiresByType image/png "access plus 2692000 seconds" ExpiresByType image/gif "access plus 2692000 seconds" ExpiresByType application/x-shockwave-flash "access plus 2692000 seconds" ExpiresByType text/css "access plus 2692000 seconds" ExpiresByType text/javascript "access plus 2692000 seconds" ExpiresByType application/x-javascript "access plus 2692000 seconds" ExpiresByType text/html "access plus 600 seconds" ExpiresByType application/xhtml+xml "access plus 600 seconds"
# # configure mod_headers # # URL: http://httpd.apache.org/docs/2.2/mod/mod_headers.html #
Header set Cache-Control "max-age=2692000, public"
Header set Cache-Control "max-age=600, private, must-revalidate"
Header unset ETag Header unset Last-Modified
Redirect 204 /autodiscover/autodiscover.xml