现在我正在使用 Apache 做一些非常简单的文件服务。我们还有一个 JBoss 4.2.3 实例来执行我们所有的应用程序服务。我只想使用 JBoss 来处理所有事情。在 Apache 中,我在 httpd.conf 文件中执行以下操作以执行文件服务:
Alias /reports "C:/driveReports/"
<Directory "C:/driveReports/*">
AllowOverride All
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
我可以在 JBoss 中做一些等效的事情来完成同样的事情吗?这看起来很容易,但我还没有找到任何让我相信存在不涉及将 Apache 链接到 JBoss 的 Tomcat 的解决方案。
我知道我可以轻松地将文件从“C:/driveReports”位置移动到 JBoss 网络部署程序位置,但我宁愿不必这样做。谢谢。
最佳答案
尝试从关于 static file serving 的维基页面获得帮助.
关于apache - JBoss 4.2.3 中的文件服务?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4829663/