ChristianSiegert/sunlightphp/master/app/.htaccess - Htaccess File

ChristianSiegert/sunlightphp/master/app/.htaccess

<IfModule mod_rewrite.c>
  # Replace "sunlightphp" with your app's directory name.
  # Replace "127.0.0.1" with your server's ip address.

  RewriteEngine On
  
  RewriteCond %{DOCUMENT_ROOT}/sunlightphp/maintenance_mode_on -f
  RewriteCond %{REMOTE_ADDR} !^127.0.0.1$
  RewriteRule .* ../maintenance/down.php [last]
    
  RewriteRule (.*) webroot/$1 [last]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
DOCUMENT_ROOT, REMOTE_ADDR

Comments

Apache