October 13th, 2008
打开httpd.conf,把下面这行前面的#去掉。
1
| #LoadModule rewrite_module modules/mod_rewrite.so |
再修改
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
| <directory "/usr/local/www">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#opt...
# for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</directory> |
将AllowOverride None改为AllowOverride All
重启Apache,搞定!
Tags:apache, rewrite.
October 6th, 2008
在安装好symfony框架后,执行symfony命令时,提示“没有找到php_mbstring.dll”的解决方法是:将php.ini中的扩展部分,把extension=php_mbstring.dll移到extension=php_exif.dll的前面即可。
Tags:php, symfony.
September 9th, 2008
我准备回家了,9月11号晚上的飞机,准备回去耍一个月,到10月份的时候再回来,这一个月博客应该不会有更新了。谢谢大家来访问我的博客!
Tags:日记.