ScriptAlias /cgi-bin/ "/var/www/html/cgi-bin/" ↑ # # "/var/www/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # ↓ <Directory "/var/www/html/cgi-bin"> AllowOverride None Options ExecCGI Order allow,deny Allow from all </Directory>
> ScriptAlias /cgi-bin/ "/var/www/html/cgi-bin/" > ↑ > # > # "/var/www/cgi-bin" should be changed to whatever your ScriptAliased > # CGI directory exists, if you have that configured. > # > ↓ > <Directory "/var/www/html/cgi-bin"> > AllowOverride None > Options ExecCGI > Order allow,deny > Allow from all > </Directory>
# AddHandler allows you to map certain file extensions to "handlers": # actions unrelated to filetype. These can be either built into the server # or added with the Action directive (see below) # # To use CGI scripts outside of ScriptAliased directories: # (You will also need to add "ExecCGI" to the "Options" directive.) # AddHandler cgi-script .cgi .pl ← この行のみ
# The CGIPath is the URL to your Movable Type directory CGIPath http://example.com/mt-static/http://サーバ名/cgi-bin/mt/
# The StaticWebPath is the URL to your mt-static directory # Note: Check the installation documentation to find out # whether this is required for your environment. If it is not, # simply remove it or comment out the line by prepending a "#". StaticWebPath http://example.com/mt-static/http://サーバ名/mt-static/
#ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" Alias /cgi-bin/ "/var/www/cgi-bin/" ←の様に変更 # # "/var/www/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # <Directory "/var/www/cgi-bin"> AllowOverride All ← noneになっていたので変更 Options ExecCGI Order allow,deny Allow from all </Directory>