nanofelix/sample-app2/master/.htaccess - Htaccess File

nanofelix/sample-app2/master/.htaccess

AddDefaultCharset UTF-8
php_flag display_errors on

ErrorDocument 401 "Sorry, our site crashed. Oh dear, 1wait.."
ErrorDocument 403 "No-no-no!"
ErrorDocument 404 "Page not found"
ErrorDocument 500 "Sorry, internal blah-blah.."

<IfModule mod_rewrite.c>
  RewriteEngine on
        #RewriteBase /
        #RewriteRule ^admin34(.*)$ /app_admin/public/ [L]

  RewriteRule ^admin34$ app_admin/public/ [L]
  RewriteRule admin34(.*) app_admin/public/$1 [L]

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

On Github License

Files

Download PDF of Htaccess file

Comments

Apache