首页 > IT基础架构 > 网络安全 > apache/tomcat虚拟主机配置
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
增加:
3、在tomcat的/conf/Catalina下建立 ,文件夹,
4、重起apachetomcat
[@more@]
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7425608/viewspace-892287/ ,如需转载,请注明出处,否则将追究法律责任。