Browse Source

Fixes #1381: better description of Apache config required to hide index.php

tags/2.0.0-beta
Alexander Makarov 11 years ago
parent
commit
4839ac22e2
  1. 3
      docs/guide/installation.md

3
docs/guide/installation.md

@ -96,7 +96,8 @@ By default, requests for pages in a Yii-based site go through the bootstrap file
in the application's `web` directory. The result will be URLs in the format `http://hostname/index.php/controller/action/param/value`. in the application's `web` directory. The result will be URLs in the format `http://hostname/index.php/controller/action/param/value`.
To hide the bootstrap file in your URLs, add `mod_rewrite` instructions to the `.htaccess` file in your web document root To hide the bootstrap file in your URLs, add `mod_rewrite` instructions to the `.htaccess` file in your web document root
(or add the instructions to the virtual host configuration in Apache's `httpd.conf` file). The applicable instructions are: (or add the instructions to the virtual host configuration in Apache's `httpd.conf` file, `Directory` section for your webroot).
The applicable instructions are:
~~~ ~~~
RewriteEngine on RewriteEngine on

Loading…
Cancel
Save