你的位置:首页 > 网站技术 >正文
05
三月
分类:网站技术 | 评论数:43 | 点击数:44317 | 发表日期时间:2012-03-05 14:23:09

分享到:


本文导读:

  APMServ对于做基于LAMP的开发有很大的帮助,该软件已在以前介绍过。因为今天要做公司官网《广州网站建设》,需要APMServ支持伪静态,而APMServ默认是不支持伪静态的,需要以下的设置才成功。

正文

APMServ对于做基于LAMP的开发有很大的帮助,该软件已在以前介绍过,参看《如何快速搭建本地LAMP/LNMP平台》。因为今天要做公司官网《广州网站建设》,需要APMServ支持伪静态,而APMServ默认是不支持伪静态的,需要以下的设置才成功。

点击软件的【apache设置】-【修改配置文件】。找到以下这一段:
NameVirtualHost *:80

 ServerName *
 DocumentRoot "D:/APMServ5.2.6/APMServ5.2.6/www/htdocs"

 Options FollowSymLinks IncludesNOEXEC Indexes
 DirectoryIndex index.html index.htm default.htm index.php default.php index.cgi default.cgi index.pl default.pl index.shtml
 AllowOverride None
 Order Deny,Allow
 Allow from all


把其中的“AllowOverride None ”注释掉,换成以下内容:

AllowOverride options fileinfo

再重启一次服务即可。

本文标签:
apache
猜你喜欢:
评论:

43楼   紫砂杯  2012-6-13 9:03:59  回复该评论

非常好的文章啊,谢谢分享哦


Fatal error: Uncaught Error: Call to undefined function mysql_num_rows() in C:\wwwroot\v2.ni-blog.com\public\web\info_show.php:308 Stack trace: #0 {main} thrown in C:\wwwroot\v2.ni-blog.com\public\web\info_show.php on line 308