>You need to scope the SetHandler/AddHandler to just the things that >are actually CGI. Check the manual. If you mean this topic (https://wiki.apache.org/httpd/DirectoryAsScript) , I already have read that. But don’t know how to apply that to my case. Currently, I have <Directory /var/www/html/rocks/7.0> Options FollowSymLinks Indexes ExecCGI AllowOverride None Order allow,deny Allow from all </Directory> <Directory /var/www/html/rocks/7.0/install/rolls> SetHandler cgi-script DirectoryIndex index.cgi Allow from all </Directory> According to that document, I have to replace ScriptAlias with something else. However, I don’t have such thing! So, I changed that to <Directory /var/www/html/rocks/7.0> AddHandler cgi-script cgi py Options FollowSymLinks Indexes ExecCGI AllowOverride None Order allow,deny Allow from all </Directory> <Directory /var/www/html/rocks/7.0/install/rolls> SetHandler cgi-script DirectoryIndex index.cgi Allow from all </Directory> But the error is still present. Please let me know which document do you mean. Regards, Mahmood |