subrion
subrion copied to clipboard
sbrcms 404
在本地架设网站,架设起SBRCMS,然后使用IP,如http://192.168.31.2/,访问SBRCMS网站,或者使用 域名访问 网站,找不到 index ,显示404,引起404的错误。
我无法得知原因,不过这个问题一直存在。
希望SBR团队检查一下,并告诉我如何解决。
In the local erection of the site, erected SBRCMS, and then use IP, such as http://192.168.31.2/, access to the SBRCMS site, or use domain name access to the site, can not find index, display 404, causing 404 errors.
I don't know why, but it's always there.
I hope the SBR team will check it and tell me how to solve it.
Hi,
Subrion should only be linked to one installation. It cannot be available through two URLs as it's base url is written to the database. So when you install the software, and use your IP for URL it will use that IP as baseurl and won't be available via domain name until it's changed in DB. It will provide 404 error when you try to open by domain.
So if you install using IP and then want to link to a domain, you need to update config called 'baseurl' using phpMyAdmin. Once you change the baseurl value, you need to delete everything in tmp/cache/ folder.
That's all. Please recheck and confirm.
Thanks