Category Archives: apache
2014.06.22
apache 多域名配置 已关闭评论
apache
统计:1374次浏览
← Continue Reading
首先,开启apache的vhost模块
找到配置文件httpd.conf中的下面两行
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
...
#Include conf/extra/httpd-vhosts.conf
去掉前面的注释#
打开httpd-vhosts.conf文件,添加内容 (直接复制前面的VirtualHost...
← Continue Reading
今天在测试一个php程序的时候,发现这个问题:
Forbidden
You don't have permission to access / on this server.
开始的时候我是用http://localhost/test.php进行的测试,没有发现问题,后来要在内网测试一下就要用IP地址进行那个访问了,如:http://10.10.50.195/test.php,就出现了这个问题。
...
← Continue Reading
在Windows下,我们一般使用的是Administrator账号,所以启用这两项非常简单:
在[Apache安装目录]/conf/httpd.conf中找到
#LoadModule rewrite_module modules/mod_rewrite.so
,去掉前面的注释符号#。如果没有这行,请添加。并确认apache安装目录下的modules文件夹中是否有
mod_rewrite.so
这个...
← Continue Reading
[导读] 关于apache与CGI在这里就不解释了.1、apache下载地址:http: www apache org,下面以2 0 63为例介绍运行CGI程序的配置。2、下载Windows下的Perl解释器ActivePerl,官方网站:http: www activestate com ,最新版
关于apache与CGI在这里就不解释了.
1、apache下载地址:http://w...