virtual dirs & aliases
384746Sep 2 2003 — edited Sep 7 2003Trying to add virtual dir/alias to allow output from
sql and 9i reports to be viewed via web.show_document.
I can successfully create & view files placed in std
examples/servlets/ dir
i.e. <myurl>/examples/servlets/temp.doc
I am now wanting to place documents etc in a separate
directory and have been unsuccessful viewing them using the <url>/alias structure
I have created a dir c:\mag_work\attachments\ to place
my documents in
I have set up the following in conf/xml files :-
C:\ora9ias\apache\apache\conf\httpd.conf
Add alias of
Alias /spoolfiles/ “C:\mag_work\attachments/”
C:\ora9ias\forms90\j2ee\orion-web.xml
Add virtual directory
<virtual-directory virtual-path=”spoolfiles”
real-path=”c:\mag_work\attachements” />
c:\ora9ias\j2ee\oracle9ids\config\global-web-application.xml
<virtual-directory virtual-path=”spoolfiles”
real-path=”c:\mag_work\attachements” />
trying <my_url>/spoolfiles/temp.doc always comes up with The page cannot be found
note.
<my_url>/forms90/java/ comes up with you are not authorised to view this page
trying <my_url>/forms90/spoolfiles/temp.doc always comes up with The page cannot be found
What am i doing wrong or are there other files that need
editing ?
Also, i have not seen where examples/servlets is set up
any ideas where so that i can see how it is implemented?
Also, ported onto another app server with similar structure and when i use web.show-document the url address in the browser is pre-fixed with <url>/forms90 and then my construct. Where is the extra pre-fix coming from.
Look forward to any ideas, suggestions
Regards
Ian