apache+tomcat static file map

原创 2013年12月01日 20:38:26
LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
LoadModule proxy_ajp_module /usr/lib/apache2/modules/mod_proxy_ajp.so
LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so
<VirtualHost *:81>
    ServerAdmin admin@myDomain.com
    ServerName myDomain.com
    ServerAlias www.myDomain.com
    AliasMatch  .*/examples/servlets/images/code.gif /home/pwup/workplace/tomcat/webapps/examples/servlets/images/code.gif
    AliasMatch .*/examples/.*/images(.*) /home/pwup/workplace/willie/mysite/media/images/$1
    AliasMatch .*/js(.*) /home/pwup/workplace/willie/mysite/media/js/$1
    AliasMatch .*/other(.*) /home/pwup/workplace/willie/mysite/media/other/$1


    ProxyPass / ajp://localhost:8009/
    ProxyPassReverse / ajp://localhost:8009/
    <Proxy *>
    AllowOverride AuthConfig
    Order allow,deny
    Allow from all
    Options -Indexes
    </Proxy>
</VirtualHost>

相关文章推荐

Unable to load configuration. - action - file:/D:/apache-tomcat-6.0.39/webapps/SSH/WEB- INF/classes

在整合ssh框架时(其他的配置都没有问题) 报错 严重: Exception starting filter struts2 Unable to load configuration. - a...

Unable to load configuration. - action - file:/F:/apache-tomcat-7.0.27/webapps/CRM/WEB-INF/classes/s

............. log4j:WARN Please initialize the log4j system properly. Aug 08, 2012 10:55:24 AM org...
  • Bucklly
  • Bucklly
  • 2012年08月08日 10:59
  • 12427

Unable to load configuration. - action - file:/C:/apache-tomcat-7.0.75/webapps/ROOT/WEB-INF/classes/

IDEA maven管理的Java web项目,使用Struts,报错信息如下:Unable to load configuration. - action - file:/C:/apache-tom...

Unable to load configuration. - bean - jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/golfclub

Unable to load configuration. - bean - jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/T...

导入项目启动报错Unexpectedexception parsing XML document from file[H:\software\apache-tomcat-7.0.77\webapps\

导入项目启动报错Unexpectedexception parsing XML document from file[H:\software\apache-tomcat-7.0.77\webapps\...

Could not parse configuration: file:/D:/apache-tomcat-7.0.55-windows-x64/apache-tomcat-7.0.55/webapp

在做ssh项目时,启动tomcat,出现了以下的错误 严重: Exception sending context initialized event to listener instance of c...

Create_Map_file_from_MapInfo.pdf

  • 2013年01月28日 00:49
  • 121KB
  • 下载

file is universal (3 slices) but does not contain a(n) armv7s slice error for static libraries on iO

http://stackoverflow.com/questions/12402092/file-is-universal-3-slices-but-does-not-contain-an-armv7...

WCF部署:IIS 7.0 - HTTP Error 404.17 - Not Found - Static File

Thread: IIS 7.0 - HTTP Error 404.17 - Not Found - Static File Handler.Last post 02-05-2011 3:52 PM b...
  • rise51
  • rise51
  • 2011年03月04日 13:29
  • 2696

scala-03:Tuple、Array、Map与file文件操作入门实战

一 Tuple 元祖 1,在sclal中有用的容器对象是元祖: Tuple,元组是n个对象的一个聚集(Map是n=2个对象的聚集),与列表一样,元素也是不可变的,但与列表不同,在一个元祖可以包含...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:apache+tomcat static file map
举报原因:
原因补充:

(最多只允许输入30个字)