<html lang="en">
        <head>
            <title>Welcome to Rocket Sites Install</title>
            <!--STYLESHEETS-->

            <link href="/virteom/CEAD/opensource/js/jquery/notice/notice.css" rel="stylesheet" type="text/css" />
            <!-- Material Dashboard -->
            <meta charset="utf-8">
            <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
            <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
            <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Roboto+Slab:400,700|Material+Icons" />
            <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css" />
            <link rel="stylesheet" href="https://rocketsitesprod.blob.core.windows.net/rocketsitesv1/cead/libraries/material-dashboard-pro-html-v2.0.1/assets/css/material-dashboard.css">
            <!--Material Dashboard -->
            <script type="text/javascript" src="https://rocketsitesprod.blob.core.windows.net/rocketsitesv1/cead/libraries/material-dashboard-pro-html-v2.0.1/assets/js/core/jquery.min.js"></script>
            <script src="https://rocketsitesprod.blob.core.windows.net/rocketsitesv1/cead/libraries/material-dashboard-pro-html-v2.0.1/assets/js/core/popper.min.js"></script>
            <script src="https://rocketsitesprod.blob.core.windows.net/rocketsitesv1/cead/libraries/material-dashboard-pro-html-v2.0.1/assets/js/plugins/moment.min.js"></script>
            <script src="https://rocketsitesprod.blob.core.windows.net/rocketsitesv1/cead/libraries/material-dashboard-pro-html-v2.0.1/assets/js/plugins/bootstrap-selectpicker.js"></script>
            <script src="https://rocketsitesprod.blob.core.windows.net/rocketsitesv1/cead/libraries/material-dashboard-pro-html-v2.0.1/assets/js/plugins/bootstrap-tagsinput.js"></script>

            <script src="https://rocketsitesprod.blob.core.windows.net/rocketsitesv1/cead/libraries/material-dashboard-pro-html-v2.0.1/assets/js/plugins/jquery.flexisel.js"></script>
            <script src="https://rocketsitesprod.blob.core.windows.net/rocketsitesv1/cead/libraries/material-dashboard-pro-html-v2.0.1/assets/js/plugins/arrive.min.js" type="text/javascript"></script>
            <script src="https://rocketsitesprod.blob.core.windows.net/rocketsitesv1/cead/libraries/material-dashboard-pro-html-v2.0.1/assets/js/plugins/jquery.validate.min.js"></script>
            <script src="https://rocketsitesprod.blob.core.windows.net/rocketsitesv1/cead/libraries/material-dashboard-pro-html-v2.0.1/assets/js/plugins/chartist.min.js"></script>
            <script src="https://rocketsitesprod.blob.core.windows.net/rocketsitesv1/cead/libraries/material-dashboard-pro-html-v2.0.1/assets/js/plugins/jquery.bootstrap-wizard.js"></script>
            <script src="https://rocketsitesprod.blob.core.windows.net/rocketsitesv1/cead/libraries/material-dashboard-pro-html-v2.0.1/assets/js/plugins/bootstrap-notify.js"></script>
            <script src="https://rocketsitesprod.blob.core.windows.net/rocketsitesv1/cead/libraries/material-dashboard-pro-html-v2.0.1/assets/js/plugins/jquery-jvectormap.js"></script>
            <script src="https://rocketsitesprod.blob.core.windows.net/rocketsitesv1/cead/libraries/material-dashboard-pro-html-v2.0.1/assets/js/plugins/nouislider.min.js"></script>
            <script src="https://rocketsitesprod.blob.core.windows.net/rocketsitesv1/cead/libraries/material-dashboard-pro-html-v2.0.1/assets/js/plugins/jquery.select-bootstrap.js"></script>
            <script src="https://rocketsitesprod.blob.core.windows.net/rocketsitesv1/cead/libraries/material-dashboard-pro-html-v2.0.1/assets/js/plugins/jquery.datatables.js"></script>
            <script src="https://rocketsitesprod.blob.core.windows.net/rocketsitesv1/cead/libraries/material-dashboard-pro-html-v2.0.1/assets/js/plugins/sweetalert2.js"></script>
            <script src="https://rocketsitesprod.blob.core.windows.net/rocketsitesv1/cead/libraries/material-dashboard-pro-html-v2.0.1/assets/js/plugins/jasny-bootstrap.min.js"></script>
            <script src="https://rocketsitesprod.blob.core.windows.net/rocketsitesv1/cead/libraries/material-dashboard-pro-html-v2.0.1/assets/js/plugins/fullcalendar.min.js"></script>
            <script src="https://rocketsitesprod.blob.core.windows.net/rocketsitesv1/cead/libraries/material-dashboard-pro-html-v2.0.1/assets/js/plugins/bootstrap-datetimepicker.min.js"></script>
            <script src="https://rocketsitesprod.blob.core.windows.net/rocketsitesv1/cead/libraries/material-dashboard-pro-html-v2.0.1/assets/js/plugins/jasny-bootstrap.min.js"></script>
            <script src="https://rocketsitesprod.blob.core.windows.net/rocketsitesv1/cead/libraries/material-dashboard-pro-html-v2.0.1/assets/js/bootstrap-material-design.min.js"></script>
            <script src="https://rocketsitesprod.blob.core.windows.net/rocketsitesv1/cead/libraries/material-dashboard-pro-html-v2.0.1/assets/js/plugins/perfect-scrollbar.jquery.min.js"></script>
            <script src="https://rocketsitesprod.blob.core.windows.net/rocketsitesv1/cead/libraries/material-dashboard-pro-html-v2.0.1/assets/js/material-dashboard.js?v=2.0.1"></script>
            <style>
              div.loading_circles div.loading_circle_1 {
                background-color: rgba(0,0,0,0);
                border: 2px solid rgba(191, 191, 191, 0.9);
                opacity: .9;
                border-right: 2px solid rgba(0,0,0,0);
                border-left: 2px solid rgba(0,0,0,0);
                border-radius: 50px;
                /* box-shadow: 0 0 35px #2187e7; */
                width: 40px;
                height: 40px;
                margin: 0 auto;
                -moz-animation: spinPulse 1s infinite ease-in-out;
                -webkit-animation: spinPulse 1.5s infinite linear;
                animation: spinPulse 1.5s infinite linear;
                mix-blend-mode: exclusion;
            }
            div.loading_circles div.loading_circle_2 {
                background-color: rgba(0,0,0,0);
                border: 1px solid rgba(191, 191, 191, 0.9);
                opacity: .9;
                border-left: 1px solid rgba(0,0,0,0);
                border-right: 1px solid rgba(0,0,0,0);
                border-radius: 20px;
                /* box-shadow: 0 0 15px #2187e7; */
                width: 20px;
                height: 20px;
                margin: 0 auto;
                position: relative;
                top: -30px;
                -moz-animation: spinoffPulse 2s infinite linear;
                -webkit-animation: spinoffPulse 2s infinite linear;
                animation: spinoffPulse 2s infinite linear;
                mix-blend-mode: exclusion;
            }
            @-moz-keyframes spinPulse {
              0% { -moz-transform:rotate(160deg); opacity:0; }
              50% { -moz-transform:rotate(145deg); opacity:1; }
              100% { -moz-transform:rotate(-320deg); opacity:0; }
            }
            @-moz-keyframes spinoffPulse {
              0% { -moz-transform:rotate(0deg); }
              15% { opacity:1;  }
              85% { opacity:1;  }
              100% { -moz-transform:rotate(720deg);  }
            }
            @-webkit-keyframes spinPulse {
              0% { -webkit-transform:rotate(160deg); opacity:0; }
              50% { -webkit-transform:rotate(145deg); opacity:1;}
              100% { -webkit-transform:rotate(-320deg); opacity:0; }
            }
            @-webkit-keyframes spinoffPulse {
              0% { -webkit-transform:rotate(0deg); opacity:0;}
              15% { opacity:1;}
              85% { opacity:1;}
              100% { -webkit-transform:rotate(720deg); opacity:0; }
            }
            @keyframes spinPulse {
              0% { -webkit-transform:rotate(160deg); opacity:0; }
              50% { -webkit-transform:rotate(145deg); opacity:1;}
              100% { -webkit-transform:rotate(-320deg); opacity:0; }
            }
            @keyframes spinoffPulse {
              0% { -webkit-transform:rotate(0deg); opacity:0;}
              15% { opacity:1;}
              85% { opacity:1;}
              100% { -webkit-transform:rotate(720deg); opacity:0; }
            }
            /*END glmod_forms stylesheet.css*/
              strong { font-weight: 800;text-decoration: underline;}
             input[type='text'] {width: 90%;height: 28px;color: #333333;padding-left: 5px;border: 1px solid #c3c3c3;display: block;margin-bottom: 5px;}
             label {font-size: inherit;line-height: 2em;color: #7d7d7d;font-weight: 400;padding: 0;margin: 0;display: block;height: 24px;padding-left: 4px;}
             .clear {clear:both;}              
            .form-control {background-image:none;}
            </style>
        </head>
        
        <body class='virteom virteomLogin'>
            <div class="modal fade" id="loginModal" tabindex="-1" role="" style='overflow:scroll;' >
                <div class="modal-dialog modal-login" role="document">
                    <div class="modal-content">
                        <div class="card card-signup card-plain">
                            <div class="modal-header">
                                <div class="card-header card-header-primary text-center">
                                    <img src="https://rocketsitesprod.blob.core.windows.net/rocketsitesv1/brand/RocketSites_Logo_Wide.png" width="200px"/>
                                    <h4 class="card-title">Creator</h4>
                                </div>
                            </div>
                            <div class="modal-body">
                                    <div class="card-body installcontent">
																			<p>Welcome!</p>
																			                                       <p>RocketSites is going to install "<strong style='font-weight: 800;text-decoration: underline;'>yournewsite-com.virtstage.com</strong>"</strong> on <strong class='install_location_description' style="font-weight: 800;text-decoration: underline;">this staging server.</strong></p>
                                    <form action='/' method="post">
                                           <!-- <p id='install_options' style='padding-left:5px;'>
                                            </p>-->
                                            <hr /><p>Your .htaccess is <strong style=font-weight:800;'>different</strong> from what RocketSites CMS needs in order to work properly.</p><p>You can compare the current .htaccess file against what RocketSites CMS will install:<br /><a href='#current_server_config' data-toggle='modal' data-target='#current_server_config'>Current .htaccess</a> vs. <a href='#new_server_config' data-toggle='modal' data-target='#new_server_config'>To be Installed .htaccess</a></p><p>You must confirm with one of the options below before proceeding:<br /><label for='serv_config_install_keep_current'><input type='radio' name='serv_config_install' value='keep_current' id='serv_config_install_keep_current'> Keep current .htaccess</label><label for='serv_config_install_new'><input type='radio' name='serv_config_install' id='serv_config_install_new' value='install_new'> Install new .htaccess</label></p>																								                                               <input type="hidden" name="domain_name_base" value='yournewsite-com'>
                                               <input type="hidden" name="domain_name_tld" value='com'>
                                               <input type="hidden" name="install_location" value='LOCAL'>
                                               <input type="hidden" name="install_source" value='LOCAL'>
                                               <input type="hidden" name="install_auth" value='rs_reg_install'>
                                               <input type="hidden" name="install_virtrs_cms" value='yes_install_virtrs_cms'>
                                               <input type="hidden" name="non_local_config" value='true'>
                                               <input type='submit' style='cursor:pointer;width:100%;' id='install_submit' class='btn btn-block btn-primary' value="Install yournewsite-com.virtstage.com">
                                               <!--<br /><br /><a href='#install_details' id='install_detail_info'> Install details</a>-->
                                               <br /><br />
                                              <!-- <div class='install_detail_info_display' style='display:none;'>
                                                 <p>So you're the curious type? Me too! Here is a bit of info:</p>
                                                 <p><strong>For LOCAL Installs:</strong></p>
                                                 <p>- If a <strong style='font-weight: 800;'>database</strong> doesn't exist, one will be created and filled out with some basic info to get your site going! <strong style='font-weight: 800;'>'root' UN and PW will be assumed.</strong></p>
                                                 <p><strong>For STAGING or PRODUCTION Installs:</strong></p>
                                                 <p>- As of right now, no database will be installed. You'll have to do that yourself but the credentials will be written in the configuration file.</p>
                                                 <p><strong>For ALL Installs:</strong></p>
                                                <p>- A default theme will be installed. All themes need to be prefixed with "<strong style='font-weight: 800;'>theme-</strong>" in the folder name. Themes are installed at: <strong style='font-weight: 800;'>/var/www/vhosts/virtstage.com/httpdocs/project/virteom/styles/noStyleFolder/</strong></p>
                                                <p>- A configuration file will also be installed. Here is the name of the file and it's intended install location: <strong style='font-weight: 800;'>/var/www/vhosts/virtstage.com/httpdocs/project/virteom/styles/noStyleFolder/virtrs-config.php</strong></p>
                                                <p>- That's it!</p>
                                               </div>-->
                                            </form>
                                      </div>
                                    <div class="card-body loader" style='display:none;'>
																			 <div style='text-align:center;width:100%;margin:0 auto;padding-left:14px;' class='ajax_rocket_sites_hostingsetup1 registration_step_feedback openAjaxLoader'><div class='loading_circles'><div class='loading_circle_1'></div><div class='loading_circle_2'></div></div><span class='loading_text'>Installing... This will take a bit of time...</span></div>
                                    </div>
                            </div>
                            <div class="modal-footer justify-content-center">
                            </div>
                            <div class="modal-footer justify-content-center">
                                <p>
                                <h8><i>A Virteom LLC Company</i></h8>
                                </p>
                            </div>
                        </div>
                    </div>
                </div>
              
            </div>

    <div class="modal fade" id="current_server_config" tabindex="-1" role="dialog" aria-labelledby="current_server_config_title" aria-hidden="true">
  <div class="modal-dialog" role="document" style='max-width: 800px;width:800px;'>
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="current_server_config_title">Current .htaccess</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <textarea class='form-control' style='width: 100%;height: 400px !important;text-align: left;border: 1px solid #b1b1b1;background-image: none;padding-left: 2px;' contenteditable='false'># 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"

<FilesMatch "\.(ttf|otf|eot|woff|font.css)$">
  <IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"
  </IfModule>
</FilesMatch>


# ----------------------------------------------------------------------
# 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.

<IfModule mod_rewrite.c>
  RewriteEngine On
</IfModule>


# ----------------------------------------------------------------------
# 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"

#<IfModule mod_rewrite.c>
#  RewriteCond %{HTTPS} !=on
#  RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
#  RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
#</IfModule>

# ----------------------------------------------------------------------

# 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.

# <IfModule mod_rewrite.c>
#   RewriteCond %{HTTPS} !=on
#   RewriteCond %{HTTP_HOST} !^www\..+$ [NC]
#   RewriteCond %{HTTP_HOST} (.+)$ [NC]
#   RewriteRule ^(.*)$ http://www.%1/$1 [R=301,L]
# </IfModule>


# ----------------------------------------------------------------------
# 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/CEAD/opensource/fileman/index\.html$ /virteom/CEAD/opensource/fileman/index.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
# -----------------------------------------------------------------------
<FilesMatch "\.(css|jpg|jpeg|png|gif|swf)$">
    Header set Cache-Control "max-age=604800, public"
</FilesMatch>

# -----------------------------------------------------------------------
# This adds Gzip to all files for faster download speeds.
# -----------------------------------------------------------------------
<ifModule mod_gzip.c>
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.*
</ifModule>

# 
# configure mod_expires
# 
# URL: http://httpd.apache.org/docs/2.2/mod/mod_expires.html
# 
<IfModule mod_expires.c>
    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"
</IfModule>

# 
# configure mod_headers
# 
# URL: http://httpd.apache.org/docs/2.2/mod/mod_headers.html
# 
<IfModule mod_headers.c>
    <FilesMatch "\\.(ico|jpe?g|png|gif|swf|css|js)$">
        Header set Cache-Control "max-age=2692000, public"
    </FilesMatch>
    <FilesMatch "\\.(x?html?|php)$">
        Header set Cache-Control "max-age=600, private, must-revalidate"
    </FilesMatch>
    Header unset ETag
    Header unset Last-Modified
</IfModule>

Redirect 204 /autodiscover/autodiscover.xml</textarea>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
      </div>
    </div>
  </div>
</div>
          
  <div class="modal fade" id="new_server_config" tabindex="-1" role="dialog" aria-labelledby="new_server_config_title" aria-hidden="true">
  <div class="modal-dialog" role="document" style='max-width: 800px;width:800px;'>
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" id="new_server_config_title">New .htaccess</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <textarea class='form-control' style='width: 100%;height: 400px !important;text-align: left;border: 1px solid #b1b1b1;background-image: none;padding-left: 2px;' contenteditable='false'># 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"

<FilesMatch "\.(ttf|otf|eot|woff|font.css)$">
  <IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"
  </IfModule>
</FilesMatch>


# ----------------------------------------------------------------------
# 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.

<IfModule mod_rewrite.c>
  RewriteEngine On
</IfModule>


# ----------------------------------------------------------------------
# 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"

#<IfModule mod_rewrite.c>
#  RewriteCond %{HTTPS} !=on
#  RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
#  RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
#</IfModule>

# ----------------------------------------------------------------------

# 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.

# <IfModule mod_rewrite.c>
#   RewriteCond %{HTTPS} !=on
#   RewriteCond %{HTTP_HOST} !^www\..+$ [NC]
#   RewriteCond %{HTTP_HOST} (.+)$ [NC]
#   RewriteRule ^(.*)$ http://www.%1/$1 [R=301,L]
# </IfModule>


# ----------------------------------------------------------------------
# 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
# -----------------------------------------------------------------------
<FilesMatch "\.(css|jpg|jpeg|png|gif|swf)$">
    Header set Cache-Control "max-age=604800, public"
</FilesMatch>

# -----------------------------------------------------------------------
# This adds Gzip to all files for faster download speeds.
# -----------------------------------------------------------------------
<ifModule mod_gzip.c>
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.*
</ifModule>

# 
# configure mod_expires
# 
# URL: http://httpd.apache.org/docs/2.2/mod/mod_expires.html
# 
<IfModule mod_expires.c>
    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"
</IfModule>

# 
# configure mod_headers
# 
# URL: http://httpd.apache.org/docs/2.2/mod/mod_headers.html
# 
<IfModule mod_headers.c>
    <FilesMatch "\\.(ico|jpe?g|png|gif|swf|css|js)$">
        Header set Cache-Control "max-age=2692000, public"
    </FilesMatch>
    <FilesMatch "\\.(x?html?|php)$">
        Header set Cache-Control "max-age=600, private, must-revalidate"
    </FilesMatch>
    Header unset ETag
    Header unset Last-Modified
</IfModule>

Redirect 204 /autodiscover/autodiscover.xml</textarea>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
      </div>
    </div>
  </div>
</div>
  
            <script type="text/javascript">
                $("#loginModal").modal({show: true, backdrop: 'static'});
            </script>
            <!-- ALERT SYSTEM -->
            <div id="questions" class="core_login"></div>
            <div id="questions" class="core_login_validation"></div>
            <div id="questions" class="core_login_remind"></div>
            <div id="questions" class="core_login_remind_validation"></div>
            <!-- END ALERT SYSTEM -->

            <!-- Core System Scripts -->
            <script type="text/javascript" src="/virteom/CEAD/opensource/js/jquery/notice/notice.js"></script>
            <script type="text/javascript" src="/virteom/CEAD/opensource/js/jquery/ui/jquery-ui.php"></script>
            <script type="text/javascript" src="/virteom/CEAD/js/ajax_global.js"></script>
            <script type="text/javascript">$(function () {
              
                    $('.install_location_description').html($("input[name=install_location]:checked").attr('data-description'));
                    $("input[name='install_location']").click(function(e) {
                      var this_descriptor = $(this).attr('data-description');
                      $('.install_location_description').html(this_descriptor);
                    });
                    
                    $('#install_detail_info').click(function(e) {
                      $('.install_detail_info_display').slideToggle(400);
                    });
                  
                    $('#install_submit').click(function(e) {
                      $('.installcontent').fadeOut( 200, function() {
                        //anim complete
                          $('.loader').fadeIn(200);
                        });
                    });
              
                    $('#show_install_options').click(function(e) {
                      e.preventDefault();
                      $('#install_options').slideToggle(200);
                      var show_hide_val = $('#show_install_options span').html();
                      if (show_hide_val == 'Show') {
                        $('#show_install_options span').html('Hide');
                      } else if (show_hide_val == 'Hide') {
                        $('#show_install_options span').html('Show');
                      } 
                      return false;
                    });
                    var server_config_status = "diff";
                    if (server_config_status == 'diff') {
                      $('#install_submit').attr('disabled',true);
                      $("input[name='serv_config_install']").click(function(e) {
                        $('#install_submit').attr('disabled',false);
                      });
                    }

                });</script>

        </body>    </html>