一、日志默认路径
(1) apache+Linux日志默认路径
/etc/httpd/logs/access_log
或者
/var/log/httpd/access_log
(2) apache+win2003日志默认路径
D:\xampp\apache\logs\access.log
D:\xampp\apache\logs\error.log
(3) IIS6.0+win2003默认日志文件
C:\WINDOWS\system32\Logfiles
(4) IIS7.0+win2003 默认日志文件
%SystemDrive%\inetpub\logs\LogFiles
(5) nginx 日志文件
日志文件在用户安装目录logs目录下
以我的安装路径为例/usr/local/nginx,
那我的日志目录就是在/usr/local/nginx/logs里
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
二、web中间件默认配置
(1) apache+linux 默认配置文件
/etc/httpd/conf/httpd.conf
或者
index.php?page=/etc/init.d/httpd
(2) IIS6.0+win2003 配置文件
C:/Windows/system32/inetsrv/metabase.xml
(3) IIS7.0+WIN 配置文件
C:\Windows\System32\inetsrv\config\applicationHost.config
默认日志和配置文件路径
推荐阅读
- web.xml 中的listener、filter、servlet 加载顺序及其【配置详解】
- json字符串转json对象的方法
- SpringBoot 配置项解析 && @PropertySource 注解的处理
- Spring 配置项解析: @Value vs @ConfigurationProperties
- js 生成 yyyy-mm-dd 格式的逼格姿势
- IntelliJ IDEA使用记录
- 过滤器(servlet.filter)和拦截器(springmvc.interceptor)区别
- 排序算法总结
- CheckStyle:unable to parse configuration stream - Element type "message" must be declared
- spring常见异常