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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
GCI_SUPPORTAuthor Commented:
ok its working,

my next question is how can do the same thing with a network directory
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Telecommunications

From novice to tech pro — start learning today.