WEB服务器配置文件

IIS默认路径
C:\WINDOWS\system32\inetsrv\MetaBase.xml IIS6
C:\WINDOWS\system32\inetsrv\config\applicationHost.config IIS7

Apache常用路径
/etc/httpd/conf/httpd.conf /etc/apache/httpd.conf /etc/apache2/httpd.conf /usr/local/httpd/conf/httpd.conf /usr/local/apache/conf/httpd.conf /usr/local/apache2/conf/httpd.conf /var/local/www/conf/httpd.conf /var/www/conf/httpd.conf /var/httpd/conf/httpd.conf /opt/www/conf/httpd.conf /apache/apache/conf/httpd.conf /apache/apache2/conf/httpd.conf /home/apache/conf/httpd.conf /home/apache2/conf/httpd.conf /www/conf/httpd.conf

Nginx常用路径
/usr/local/nginx/conf/nginx.conf

tomcat
\web-inf\web.xml (JAVA程序默认) \conf\server.xml (前面加上tomcat路径) \Tomcat 5.0\webapps\root\web-inf\struts-config.xml

zhutougg

继续阅读此作者的更多文章