2017-05-05 58 views
0

我正在使用Oracle ORDS 3.0.9並嘗試啓用目錄瀏覽但仍然收到HTTP 403禁止的錯誤。這是在/單機/ etc文件夾我的碼頭,http.xml配置和運行此命令啓動「Java的罐子ords.war &」:Oracle ORDS目錄瀏覽不起作用

<?xml version="1.0"?> 
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" 
"http://www.eclipse.org/jetty/configure.dtd"> 
<Configure class="org.eclipse.jetty.webapp.WebAppContext"> 

<Call name="setInitParameter"> 
    <Arg>org.eclipse.jetty.servlet.Default.dirAllowed</Arg> 
    <Arg>true</Arg> 
</Call> 
</Configure> 

回答

0

的設置是爲了安全禁用。如果需要這樣做,我的建議是將ORDS部署到tomcat,其中有更多的控制權的網絡服務器。