View previous topic :: View next topic |
Author |
Message |
heida11 -
Joined: 26 Oct 2006 Posts: 2
|
Posted: Thu Oct 26, 2006 2:41 am Post subject: Multiple document paths |
|
|
Abyss X1 server.
I am setting up a password protected application that will serve pictures to
family members over the web.
Due to space limitations and current structure of my image files, HTMLs for
albums etc are located in htdocs. However, images are located on another
hard drive.
I have configured a test app with both HTML and images in htdoc and everything is great.
But how do I configure the server to look into two paths. EXAMPLE D:\htdocs and E:\images?
Thanks for any help. |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Thu Oct 26, 2006 2:59 am Post subject: |
|
|
You will need to create an Alias (Virtual Folder) in order to make this work.
Do the following and you should be fine.
Create an Aliases with the following options and you're finished.
Virtual Path: /images
Real Path: E:\images
Now link your images like the following example
Code: | <img src="/images/file_name.jpg"> |
|
|
Back to top |
|
 |
heida11 -
Joined: 26 Oct 2006 Posts: 2
|
Posted: Thu Oct 26, 2006 4:47 am Post subject: |
|
|
Thank you.
That did the trick! |
|
Back to top |
|
 |
|