Toggle navigation
Sloths Framework
Documentation
Getting Started
Installation
System Requirements
Application
Application Structure
Server Configuration
Routing
Request
Response
View
Helpers
Custom Helpers
Database
Connection
Query Builder
ORM
Defining Models
Model Interaction
Overview
Model
Collection
Relationship
Overview
Has One
Has Many
Belongs To
Has Many Through
Server Configuration
Nginx
listen 80; server_name my-application.dev; root
/public; index index.php index.html index.htm; location / { try_files $uri $uri/ /index.php$is_args$args; } location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param APPLICATION_ENV development; fastcgi_param SCRIPT_FILENAME
/public$fastcgi_script_name; include fastcgi_params; }
Apache
.htaccess
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [QSA,L]
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus