When it comes to accessing images, files and other media through internet, There are many solutions especially when using ORACLE APEX.
But when using Oracle 10g it's bit hard, so I used Apache Tomcat.
Steps to share folder and access it using http:// :
But when using Oracle 10g it's bit hard, so I used Apache Tomcat.
Steps to share folder and access it using http:// :
- Downlaod and install Java6 Update 20 from here: https://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase6-419409.html
- Download and install Apache Tomact from here: http://tomcat.apache.org/
- Remember well the PORT : 8080 or any other one
- Remember well the user: ADMIN
- Remember well the user Password: ******
- Suppose you have installed Apache Tomcat in the following path: C:\Program Files\Apache Software Foundation\ :
- Go to : C:\Program Files\Apache Software Foundation\Tomcat 7.0\conf\
- Edit web.xml <param-name>listings</param-name> <param-value>false</param-value>
- Change false to true :
<param-name>listings</param-name> <param-value>true</param-value> - Go to : C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\ROOT
- Remove all contents
- Place here all your folders, files to make it shareable
- Restart Apache Tomcat
- Open Browser and Go to : http://127.0.0.1:8080/
- you're done
UPDATE : To share any folder without copying it to ROOT folder :
- Go to C:\Program Files\Apache Software Foundation\Tomcat 7.0\conf
- Edit server.xml
- Add the following line :
<Context docBase="c:\insight_dsk" path="/images" reloadable="true" source="c:\insight_dsk"/>
c:\insight_dsk : Folder you want to share it
images : Alias appears on the web page
4. Restart Apache Tomcat
To Display folder files goto: http://127.0.0.1:8080/images
No comments:
Post a Comment