| TOP |  | BACK |

 ・/usr/local/apache2/conf/httpd.conf の主な設


 ServerRoot "
/usr/local/apache2"

 Listen
8080

 User
www
 
Group www

 ServerAdmin
makino@makino.mydns.jp
 ServerName
www.makino.mydns.jp:8080
 

 DocumentRoot "
/usr/local/apache2/htdocs"

 <Directory "
/usr/local/apache2/htdocs">
  Options FollowSymLinks MultiViews
  AllowOverride None
  Order allow,deny
  Allow from all
 </Directory>

 <IfModule mod_dir.c>
  DirectoryIndex
index.html index.cgi index.htm index.pl
 </IfModule>

 <IfModule alias_module>
  ScriptAlias
/cgi-bin/ "/usr/local/apache2/cgi-bin/"
 </IfModule>

 <Directory "
/usr/local/apache2/cgi-bin">
  AllowOverride None
  Options None
  Order allow,deny
  Allow from all
 </Directory>


 <IfModule mime_module>
  
AddHandler cgi-script .cgi
 </IfModule>

 # User home directories
 
Include conf/extra/httpd-userdir.conf

 # Secure (SSL/TLS) connections
 
Include conf/extra/httpd-ssl.conf