错误403-禁止Laravel中的server.php文件


ERROR 403 - FORBIDDEN the server.php file in Laravel

在Laravel 4的beatnikbd.com/fb-apps/nandos-app/目录中,有一个名为server.php的文件。该文件的内容如下:

<?php
/**
 * Laravel - A PHP Framework For Web Artisans
 *
 * @package  Laravel
 * @author   Taylor Otwell <taylorotwell@gmail.com>
 */
$uri = urldecode(
    parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
);
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
// built-in PHP web server. This provides a convenient way to test a Laravel
// application without having installed a "real" web server software here.
if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri))
{
    return true;
}
require_once __DIR__.'/public/index.php';

但它显示错误403-禁止

检查是否将此文件"server.php"的权限设置为755。。。