# cola **Repository Path**: kyomini/cola ## Basic Information - **Project Name**: cola - **Description**: colaCMS是一个轻量级的开源CMS系统, 也可以作为一个通用的后台管理框架使用。 COLA 的未来需要大家的扶持与迭代,我们一起来参与开发吧!感谢所有对COLA关注的朋友! - **Primary Language**: PHP - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2020-07-10 - **Last Updated**: 2024-10-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README  常用路径 安装路径: http://您的网站域名/install.php 前台登陆: http://您的网站域名 【注】必备条件 开启伪静态 (url路由) Nginx: 在 server { } 大括号里面添加下面的代码: location / { if (-f $request_filename/index.html){ rewrite (.*) $1/index.html break; } if (-f $request_filename/index.php){ rewrite (.*) $1/index.php; } if (!-f $request_filename){ rewrite (.*) /index.php; } } 然后重新启动 nginx: service nginx restart Apache: vim /etc/httpd/conf/httpd.conf Options FollowSymLinks ExecCGI Indexes AllowOverride all Order deny,allow Allow from all Satisfy all NameVirtualHost *:80 Apache .htaccess 如果Appache 支持 .htaccess,那么可以编辑 .htaccess 文件放置于根目录下: RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f #RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1] #RewriteRule ^(.*)$ index.php?/$1 [L] RewriteRule ^(.*)$ index.php [L,QSA] 联系 Email:edikud(at)163.com QQ群:464430963