我正试图在Centos 5.7流浪盒中运行码头(它在"真正的"计算机上运行良好;用centos和linux mint测试).这是标题错误:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00002abb2551a8b1, pid=4299, tid=1105414464
#
# JRE version: 6.0_37-b06
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.12-b01 mixed mode linux-amd64 )
# Problematic frame:
# V [libjvm.so+0x87a8b1] YieldingFlexibleWorkGang::start_task(YieldingFlexibleGangTask*)+0x11
#
# An error report file with more information is saved as:
# /usr/local/jetty-7.6.7/bin/hs_err_pid4299.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Aborted …Run Code Online (Sandbox Code Playgroud) 我有一个网址,当你提出要求时,它很容易访问:
http://example.com/2005/01/example.html
or
http://example.com/2005/01/example
(我实际上不知道为什么它没有扩展.但它应该返回通常的404错误.)
但是,当我尝试访问以下网址时:
http://example.com/2005/01/example/
(note the trailing slash)
我收到404 Not found错误,但请求的网址打印为:
http://example.com/2005/01/example.html/
所以,似乎".html"部分是由apache自动添加的.
我的问题是:如何禁用此行为?我需要这样做因为我想添加mod_rewrite规则来隐藏html扩展名,以便我可以访问该URL:
http://example.com/2005/01/example/
我的apache在Ubuntu 8.10上是2.2.9.
谢谢!