Apache
worldzhy
感觉
展开
-
Mac OS X配置Apache服务器
1.OS X系统中已经为我们准备好了Apache服务器,直接启动就可以用了。在terminal中执行sudo apachectl start,然后在浏览器中输入“http://localhost”,便看到一个内容为“It works!”的页面,页面的位置在“/Library/WebServer/Documents/index.html.en”,这是Apache的默认路径。2原创 2015-09-10 09:26:52 · 1162 阅读 · 0 评论 -
web 关于http://localhost无法访问的可能原因
http://localhost 无法访问index.php1. /private/var/log/apache2/error_log中发现错误信息:[Thu Feb 04 22:30:52.580099 2016] [autoindex:error] [pid 253] [client ::1:49599] AH01276: Cannot serve directory /Lib原创 2016-02-04 23:01:23 · 31996 阅读 · 0 评论 -
apache httpd.conf 路径配置
DocumentRoot "/Users/worldzhy/Documents/InceptionPad" # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks Sym原创 2016-05-27 17:27:38 · 4205 阅读 · 0 评论 -
apache Setting on ubuntu
打开服务:sudo a2enmod rewrite检查是否打开:apache2ctl -M | grep rewrite重启服务:service apache2 restart原创 2016-06-12 01:26:23 · 325 阅读 · 0 评论