Skip to content

TGM/basic_micro_framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bmf

Basic Micro Framework

Description

A basic framework that allows you to build dynamic presentation websites

Instructions

Redirect all requests to index.php since it's a RESTful API.

Apache: Rename all htaccess.txt files to .htaccess and make sure ModRewrite is enabled

Nginx:

# Redirect all URL parameters to index.php
location / {
	try_files $uri $uri/ /index.php?$args;
	# include maintenance.conf;
}

# Deny access to all .htaccess files
location ~ /\.ht {
    deny all;
}

# Deny access to template and libs folder
location ~ /(templates|libs) {
	deny all;
	return 404;
}

About

Basic Micro Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published