#设置虚拟主机
<virtualhost *:80>
ServerAdmin www.adddd.com
DocumentRoot E:/tomcat/webapps/root
#您的站点项目所在路径, should be the same as the directory settings in Tomcat
ServerName www.adddd.com
alias/p "F:\\uploadfiles"
<directory "F:\\uploadfiles" >
Options-indexes MultiViews
AllowOverride None
Order Allow,deny
Allow from all
</Directory>
Alias/aaaaaa "F:\\AAAAAA"
<directory "F:\\AAAAAA\ABCC" >
Options-indexes MultiViews
AllowOverride None
Order Allow,deny
Allow from all
</Directory>
DirectoryIndex index.html index.htm index.jsp
ErrorLog Logs/shsc-error_log.txt
Customlog Logs/shsc-access_log.txt Common
jkmount/servlet/* ajp13
#让Apache支持对servlet传送, for Tomcat parsing
Jkmount/*.jsp ajp13
#让Apache支持对jsp传送, for Tomcat parsing
Jkmount/*.do ajp13
#让Apache支持对. Do transfer for Tomcat parsing
</VirtualHost>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.