Cloudreve安装

  1. vhost里面添加一条
<VirtualHost *:80>

    DocumentRoot "C:\phpStudy\PHPTutorial\WWW\php\bcloud"
    ServerName www._bcloud.com
    ServerAlias _bcloud.com
    ServerAdmin stefan321@qq.com
    ErrorLog "logs\php.com-error.log"
    CustomLog "logs\php.com-access.log" common
    ErrorDocument 404 logs/404.html

    <Directory "C:\phpStudy\PHPTutorial\WWW\php\bcloud">
        Options -Indexes -FollowSymLinks +ExecCGI
        AllowOverride All
        Order allow,deny
        Allow from all
        Require all granted
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
    </Directory>

</VirtualHost>
  1. 启用php扩展php_fileinfo,和apache的mod_rewrite功能
  2. 按照官方文档安装即可

Rel:

  1. apache的虚拟域名rewrite配置以及.htaccess的使用。
    https://blog.csdn.net/zls986992484/article/details/52878482
  2. nginx和apache下的url rewrite
    https://www.cnblogs.com/yiluxiuxing/p/4309347.html
  3. Apache Rewrite url重定向功能的简单配置
    https://www.cnblogs.com/jukan/p/5660736.html
  4. Apache URL重写规则
    https://www.cnblogs.com/phpstudy2015-6/p/6715892.html
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容