|
|
|
@ -34,7 +34,7 @@ Recommended Apache Configuration
|
|
|
|
|
-------------------------------- |
|
|
|
|
|
|
|
|
|
Yii is ready to work with a default Apache web server configuration. |
|
|
|
|
The `.htaccess` files in Yii framework and application folders restrict |
|
|
|
|
The `.htaccess` files in Yii framework and application folders deny |
|
|
|
|
access to the restricted resources. To hide the bootstrap file (usually `index.php`) |
|
|
|
|
in your URLs you can add `mod_rewrite` instructions to the `.htaccess` file |
|
|
|
|
in your document root or to the virtual host configuration: |
|
|
|
@ -108,4 +108,5 @@ server {
|
|
|
|
|
} |
|
|
|
|
~~~ |
|
|
|
|
|
|
|
|
|
Using this configuration you can set `cgi.fix_pathinfo=0` in php.ini to avoid many unnecessary system stat() calls. |
|
|
|
|
Using this configuration you can set `cgi.fix_pathinfo=0` in php.ini to avoid |
|
|
|
|
many unnecessary system `stat()` calls. |
|
|
|
|