Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

TGM/basic_micro_framework

Open more actions menu

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

Contributors 2

  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.