ITPub博客

首页 > IT基础架构 > 网络安全 > apache/tomcat虚拟主机配置

apache/tomcat虚拟主机配置

原创 网络安全 作者:realji 时间:2007-01-22 10:11:12 0 删除 编辑

1、修改apache 的httpd.conf,增加



ServerAdmin pyron_18@hotmail.com
DocumentRoot /jadite/new_ydzj
ServerName
ErrorLog logs/-error_log
CustomLog logs/-access_log common
DirectoryIndex index.html index.html.var index.jsp index.htm

2、修改tomcat 的server.xml

增加:


debug="1" appBase="/路径" autoDeploy="true">
directory="logs" prefix="_log." suffix=".txt" timestamp="true"/>

3、在tomcat的/conf/Catalina下建立 ,文件夹,

4、重起apachetomcat

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7425608/viewspace-892287/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-01-09

  • 博文量
    55
  • 访问量
    161932