您的位置:首页 > 运维架构 > Apache

php apache mysql服务器搭建学习笔记

2015-11-11 16:44 696 查看
2015.11.11
http://www.cnblogs.com/homezzm/archive/2012/08/01/2618062.html
下载所需都在scdn下载历史记录里了,除了apache httpd-2.2.25-win32-x86-openssl-0.9.8y.msi

如果apache无法启动,可以如下命令查看原因

cmd--命令端--切换到apache的bin目录,执行如下命令:httpd.exe -w -n "apache2.2" -k start;
http://jingyan.baidu.com/article/ceb9fb10d909c48cac2ba06c.html
2015.11.12
Lighttpd(Palapa web server)配置url 重写
http://www.chnfree.com/rewrite-apache-to-lighttpd/
url.rewrite-once = (
"<regex1>" => "<relative-uri1>",
"<regex2>" => "<relative-uri2>"
)
regex1是用户输入的网址,relative-uri1是实际跳转到的网址
regex1是正则表达式,relative-uri1中$1代表正则表达式中第一个括号的内容,$2是第二个括号,$3...

附正则表达式: http://www.oschina.net/question/12_9507
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: