|
Installing
How to install this framework on an Apache based/Linux based server.
Featured Simple InstallSVN Checkout the most stable release of this framework, Then put it in a place which is readable by the web server. lwMVC uses Apache Rewrite to utilize "pretty url's". The following should be added to the Directory configuration for the directory which will be your web root, or via an htaccess file within your web root directory for this application. RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-zA-Z0-9\-]+)/?$ /index.php?category=$1 [L,QSA]
RewriteRule ^([a-zA-Z0-9\-]+)/([a-zA-Z0-9\-]+)/?$ /index.php?category=$1&page=$2 [L,QSA]
RewriteRule ^([a-zA-Z0-9\-]+)/([a-zA-Z0-9\-]+)/([a-zA-Z0-9\-]+)/?$ /index.php?category=$1&page=$2§ion=$3 [L,QSA]Follow the "Getting Started" wiki page for information on creating an application. Yes, Installing this framework is that easy, all the settings are done within your index.php controller. The Framework directory should not be web accessible! |
► Sign in to add a comment