advance apache configuration

i have a web server installed on vmware. on that vm i got 2 hard drive that come from my equalogic san.

hd 1 = c:\  ( with the os installed and the apache)
hd 2 = e:\

i want to put all my picture inside the hd2 and able to access it with my web browser
how can i configure apache to read in the hd2

GCI_SUPPORTAsked:
Who is Participating?
 
zicevaCommented:
you could do one of 2 things:

- map the network drive like Z: for example
- install Apache on the second server so the images are available from the first server like, for example, http://192.168.1.10/images and in the first server use mod_proxy like this:

ProxyPass /images http://192.168.1.10/images

More info here: http://httpd.apache.org/docs/2.2/mod/mod_proxy.html
0
 
zicevaCommented:
Hi,

This can be easily done with a single configuration directive:

Alias /images "E:\complete\path\to\the\folder"

You will have to activate mod_alias; More info here http://httpd.apache.org/docs/2.2/mod/mod_alias.html
0
 
GCI_SUPPORTAuthor Commented:
ok its working,

my next question is how can do the same thing with a network directory
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.