Page 1 of 1

[SOLVED] Showing images on a different drive...

Posted: Sun Jan 23, 2005 4:27 pm
by Todd_Z
My server runs on the C drive, but i want to display images from the F drive... how do i do this?

Posted: Sun Jan 23, 2005 4:34 pm
by timvw
map the F-drive to a public folder, in apache this is done with alias directive

Posted: Sun Jan 23, 2005 4:42 pm
by Todd_Z
ah yea.... how would someone do that exactly...

Posted: Sun Jan 23, 2005 4:48 pm
by timvw
ah from httpd.conf

Code: Select all

Alias /icons/ "F:/icons/"

<Directory "F:/icons">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

Posted: Sun Jan 23, 2005 4:55 pm
by Todd_Z
How do I use that exactly...

<img src="/AlbumArt/file.jpg"> ?

Edit -> That is the right syntax... got it to work -> Thanks guys!