[quote:86aa1696c9="ise"]我记得在apache的配置文件里有关于cgi-bin文件家的定义.要是你真的想把php放到这个目录下的话,那就要改以下了.scripalias /cgi-bin/ /.......(记不清了)不好意思.[/quote]
[code:1]#
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
# Alias.
#
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
[/code:1]