在Drupal中,如果要在Page中用PHP來傳遞參數到當前Script的超鏈接中,需要Enable Clean URLs。
我的情況是修改了httpd.conf以下地方,才能enable clean urls。
1. Comment AllowOverride None(Line 293)
# First, we configure the "default" to be a very restrictive set of
# features.
#
<Directory />
Options FollowSymLinks
# AllowOverride None
</Directory>
2. Modify None to All (Line 327)
# 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 ALL