laravel框架实现去掉URL中index.php的方法
1、将框架根目录下的server.php文件重命名为index.php 2、将框架根目录下的文件夹public下的.htaccess文件复制到框架根目录下,与index.php处于同一目录 3、修改Apache的httpd.conf文件 1、httpd.conf文件所在路径\bin\apache\apache2.4.23\conf\httpd.conf,例如,我的电脑中httpd.conf路径为:D:\wamp\bin\apache\apache2.4.23\conf\httpd.conf 找到httpd.conf文件之后,我们就来修改他吧! 2、在154
下载地址
用户评论