Re: Zugriff auf ApEx-Daten (Bilder, CSS, JavaScript) via Dateimanager
geschrieben von:
sprudelkiste (---.wincor-nixdorf.com)
Datum:
Hi,
überprüf mal folgende Einstellungen. WebDav muss natürlich eingeschaltet sein (siehe moddav.conf). Und dann muss nur noch das Image-Verzeichnis korrekt erreichbar sein (dads.conf).
moddav.conf:
LoadModule dav_module /home/oracle/OraHome_Discoverer/Apache/oradav/lib/mod_oradav.so
# DAVLockDB is needed by mod_oradav to manage locks on WebDAV activity against
# a local file system. It contains lock information about all WebDAV
# file resources.
DAVLockDB /home/oracle/OraHome_Discoverer/Apache/oradav/var/DAVLock
# To enable public DAV access to the file system under /dav_public
# change the "DAV off" setting below to "DAV on".
#
# SECURITY NOTE:
# Setting "DAV on" enables read/write access to anyone.
# See HTTP Server Admin Guide on mod_oradav for information on
# how to restrict read-write access to authorized users.
#
Alias /i /home/oracle/OraHome_Discoverer/Apache/Apache/htdocs/apex_images
<Location /i>
DAV on
</Location>
dads.conf:
# ============================================================================
# mod_plsql DAD Configuration File
# ============================================================================
# 1. Please refer to dads.README for a description of this file
# ============================================================================
# Note: This file should typically be included in your plsql.conf file with # the "include" directive.
# Hint: You can look at some sample DADs in the dads.README file
# ============================================================================
Alias /i/ /home/oracle/OraHome_Discoverer/Apache/Apache/htdocs/apex_images/
AddType text/xml xbl
AddType text/x-component htc
<Location /pls/apex>
Order deny,allow
PlsqlDocumentPath docs
AllowOverride None
PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
PlsqlDatabaseConnectString server:port:service ServiceNameFormat
PlsqlNLSLanguage AMERICAN_AMERICA.AL32UTF8
PlsqlAuthenticationMode Basic
SetHandler pls_handler
PlsqlDocumentTablename wwv_flow_file_objects$
PlsqlDatabaseUsername APEX_PUBLIC_USER
PlsqlDefaultPage apex
PlsqlDatabasePassword XXXXXXXXXXX
Allow from all
</Location>
Gruß,
T. Franke