# HexPHP **Repository Path**: hongwenwu/hexphp ## Basic Information - **Project Name**: HexPHP - **Description**: 魔方PHP - **Primary Language**: CSS - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2013-05-24 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 项目入口 ============================== 路由 config 配置 URL_MODE =2 支持path_info 模式 ======================== 开启apache 的URL 重写模式 隐藏index.php入口文件的方法 在项目根目录下放置.htaccess文件 .htaccess #content config RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f #虚拟目录 RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] #根目录 #RewriteRule ^(.*)$ /index.php/$1 [QSA,PT,L]