Quantcast
Channel: VPS资源站 - 网络资源分享,程序源码分享 - apache
Browsing all 7 articles
Browse latest View live

让apache支持.htaccess反向代理网站实现proxy-pass

    相信搜索引擎过来的,一定已经对反向代理有所了解,本文就不做介绍了,请初次涉及的朋友点击这里:反向代理wiki 下面进入正题:    在常见的我们能申请到的apache虚拟主机中都默认支持了.htaccess文件的配置,在这种主机中只需要将.htaccess文件放入网站根目录,在.htaccess文件中写入:RewriteEngine OnRewriteBase /RewriteRule...

View Article



Apache Status (whm-server-status) in cPanel WebHost Manager Returns Blank Page

When webmaster uses WebHost Manager (WHM) to manage a cPanel-based web hosting package, he or she may encounters the problem that the Apache Status under the section of Server Status returns black...

View Article

关于Apache的日志

本文分五个部分:访问日志、错误日志、定制日志、日志分析、其他用法。 Apche日志系列(1):访问日志   想要知道什么人在什么时候浏览了网站的哪些内容吗?查看Apache的访问日志就可以知道。访问日志是Apache的标准日志,本文详细解释了访问日志的内容以及相关选项的配置。  一、访问日志的格式...

View Article

如何在Apache和Nginx服务器下禁止访问*.txt文件

...

View Article

Centos上Apache重启,mysql重启,nginx重启方法

  Centos上Apache重启,mysql重启, nginx 重启方法  1.重启 apache  service httpd restrat  /etc/init.d/httpd stop  /etc/init.d/httpd start  2.重启 mysql  service mysql restart  /etc/init.d/mysqld stop...

View Article


Discuz! X3.0/X3.1/X3.2通用 Apache伪静态规则

1.在后台“全局》SEO设置》URL 静态化”相关复选框全部勾选,点“提交”按钮。2.下载附件.htaccess直接用FTP上传到论坛根目录即可,不要修改文件名,就是.htaccess其他目录的话修改第2行“RewriteBase /discuz” 把discuz换成目录名,如在bbs目录则改为:RewriteBase /bbs...

View Article

apache下.htaccess文件缓存图片的配置方法

Apache服务器上的网站,可以通过编辑根目录下的.htaccess文件来激活图片缓存功能,下面我就简单的给大家介绍一下配置方法,希望文章对大家会有所帮助。浏览器能够简单读取.htaccess文件的缓存控制头,而缓存头会要求浏览器将图片或其它任何媒体保留2周时间(或者更久),这样浏览器就能够随时调用图片,直到图片过期。 两周后浏览器重新将过期的图片存入缓存。...

View Article
Browsing all 7 articles
Browse latest View live




Latest Images