GABS-AddressBookSystem
GABS-AddressBookSystem copied to clipboard
访问不了页面
安装好页面,添加了数据库和修改了数据库配置文件,打开就是这个,请问是怎么回事,我是PHP7.1+Mysql5.6+Nginx+Linux,

依赖apache的htaccess做的路由重写,如果想移植到nginx,可以尝试自行改写htaccess里的路由
我不太会写这个重写规则,大佬能否帮忙写一个nginx的?
nginx 路由重定向规则
location / { rewrite ^/manage$ /src/view/manage.php last; rewrite ^/manage/(.*)$ /src/view/manage/$1.php last; rewrite ^/account$ /src/account.php last; }
代码中,多个控制器中的数据库表名称,一会大写,一会小写,需要全部替换 比如TXL_ZU,txl_zu
我也 出现同样的问题,nginx 请问htaccess路由 怎么 写啊!
我也出现同样的问题,nginx 请问htaccess路由怎么写啊!
rewrite ^/manage$ /src/view/manage.php last;
rewrite ^/manage/([a-zA-Z0-9\-]*)$ /src/view/manage/$1.php last;
rewrite ^/account$ /src/account.php last;
请问你们搞定了吗