Skip to content

Commit

Permalink
docs indentation for src
Browse files Browse the repository at this point in the history
  • Loading branch information
jcheron committed Apr 16, 2017
1 parent 30f43ff commit 215d263
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions docs/confproject.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ The main configuration of a project is localised in the ``app/conf/config.php``
"user"=>"%user%",
"password"=>"%password%"
],
"sessionToken"=>"%temporaryToken%",
"namespaces"=>[],
"templateEngine"=>'micro\views\engine\Twig',
"templateEngineOptions"=>array("cache"=>false),
Expand Down Expand Up @@ -58,21 +57,21 @@ The framework ships with an **.htaccess** file that is used to allow URLs withou
If the .htaccess file that ships with Laravel does not work with your Apache installation, try this one:

::
AddDefaultCharset UTF-8

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
AddDefaultCharset UTF-8
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{HTTP_ACCEPT} !(.*images.*)
RewriteRule ^(.*)$ index.php?c=$1 [L,QSA]
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{HTTP_ACCEPT} !(.*images.*)
RewriteRule ^(.*)$ index.php?c=$1 [L,QSA]
</IfModule>

Nginx
^^^^^
On Nginx, the following directive in your site configuration will allow "pretty" URLs:

location / {
try_files $uri $uri/ /index.php?c=$query_string;
}
::
location / {
try_files $uri $uri/ /index.php?c=$query_string;
}

0 comments on commit 215d263

Please sign in to comment.