pkazimir/guineo/master/.htaccess - Htaccess File

pkazimir/guineo/master/.htaccess

<IfModule mod_rewrite.c>

# Turn on URL rewriting
RewriteEngine On    # Turn on the rewriting engine

RewriteBase /guineo/

# Protect application and system files from being viewed when the index.php is missing
RewriteCond $1 ^(application|system|private|logs)

# Rewrite to index.php/access_denied/URL
RewriteRule ^(.*)$ index.php/access_denied/$1 [PT,L]

# Stop if it's a request to an existing file.
RewriteCond %{REQUEST_FILENAME} -f [NC,OR]
RewriteCond %{REQUEST_FILENAME} -d [NC]

# Allow these directories and files to be displayed directly:
RewriteCond $1 ^(index.php|robots.txt|favicon|public|assets|css|js|img|fonts|uploads)

# No rewriting
RewriteRule ^(.*)$ - [PT,L]

# Rewrite to index.php/URL
RewriteRule ^(.*)$ index.php/$1 [PT,L]

</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache