gulBAC/gulBAC-oldsite/master/gulbac-final/deploy/.htaccess - Htaccess File

gulBAC/gulBAC-oldsite/master/gulbac-final/deploy/.htaccess

RewriteEngine on
RewriteBase /

###  BEGIN GENERATED REWRITE RULES  ####

RewriteCond %{REQUEST_FILENAME}/listing.html -f
RewriteRule ^(.*) $1/listing.html

RewriteCond %{REQUEST_FILENAME}/index.html -f
RewriteRule ^(.*) $1/index.html

RewriteCond %{REQUEST_FILENAME}/default.html -f
RewriteRule ^(.*) $1/default.html

####  END GENERATED REWRITE RULES  ####

# listing pages whose names are the same as their enclosing folder's
RewriteCond %{REQUEST_FILENAME}/$1.html -f 
RewriteRule ^([^/]*)/$ %{REQUEST_FILENAME}/$1.html

# regular pages
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^.*$ %{REQUEST_FILENAME}.html

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache