debian apache2 cgi-bin location
时间:2006-07-27 来源:nothing9
Createa /var/www/cgi-bin/:
Open httpd.conf:
Append following code:
Restart apache and test it
mkdir -p /var/www/cgi-bin/ |
Open httpd.conf:
vi httpd.conf |
Append following code:
<IfModule mod_alias.c> ScriptAlias /cgi-bin/ /var/www/cgi-bin/ <Directory /var/www/cgi-bin/> AllowOverride None Options ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory> </IfModule> |
Restart apache and test it
相关阅读 更多 +