cpbtechnology/newd/master/.htaccess - Htaccess File

cpbtechnology/newd/master/.htaccess

<IfModule mod_rewrite.c>
    RewriteEngine on

#################################################################################
#    If mod_cache on apache 2.2.x is unavailable, you can use cacheReplace.php
#    Replace YOUR_CACHEREPLACEPHP_IP with the origin IP so that it won't receive
#    the cached copy. Please see docs for more details.
#
#    RewriteCond %{REMOTE_ADDR} !YOUR_CACHEREPLACEPHP_IP
#    RewriteCond %{DOCUMENT_ROOT}/webroot/cache/$1/index.html -f
#    RewriteRule ^(.*)$ /webroot/cache/$1/index.html [L]
#################################################################################

    RewriteRule    ^$    webroot/    [L]
    RewriteRule    (.*) webroot/$1    [L]
 </IfModule>

On Github License

Files

Download PDF of Htaccess file
CACHE, DOCUMENT_ROOT, REMOTE_ADDR

Comments

Apache