我有一个使用Java的查询,可以通过.htaccess文件在PHP中轻松维护,例如: 我背后的主要问题是如何在java中明确允许/禁止不同文件类型的缓存? 我可以轻松地在PHP使用.htaccess几行代码 我目前在Windows 7上使用JDK 7,Apache Tomcat 7.0.22和NetBeans 7.1 IDE。
I have a query in working with Java that are easily maintained in PHP through .htaccess file such as: My main problem behind it is How can I explicitly allow/disallow caching of different files types differently in java ? which I can easily do in PHP with few line of code in .htaccess I am currently using JDK 7, Apache Tomcat 7.0.22 with NetBeans 7.1 IDE on Windows 7.
最满意答案
.htaccess实际上是由你的网络服务器读取的,在这种情况下是apache。 您应该查看您的Web服务器支持的内容。 也许,你可以发布你正在使用的服务器,有人可以提出建议
.htaccess is actually read by your webserver, in this case apache. You should be looking at what your web server supports. Perhaps, you can post what server you are using and someone can make a suggestion
更多推荐
发布评论