FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Complicated Directory Structure

 
Post new topic   Reply to topic     Forum Index -> Web Server - General Support
View previous topic :: View next topic  
Author Message
Dr Dimento



Joined: 05 Oct 2006
Posts: 7

PostPosted: Fri Oct 06, 2006 12:22 am    Post subject: Complicated Directory Structure Reply with quote

I have 4 hard drives in my fileserver. They all have a corresponding drive letter, but i have them all mapped to "C:\Disks\" as well. So for instance...

C:\Disks\Storage = S:\

etc etc

I have C:\Disks\ as my root directory for the webserver. This way i have access to all the hard drives on my system since they are mapped to directories inside of C:\Disks\

Well this works well and good, and when i connect, it shows all 4 of my hard drives...

Storage
Multimedia
Software
Images

Whenever i click on one, it takes me to that drive as if it were a normal directory.......except that there is no "../" to move back up a directory to see all 4 drives. So to go back to root directory, i have to manually change the address in the address bar.... for instance


root is

mywebsite.myhost.com

When i click one of the 4 drives, for instance "images" it takes me to

mywebsite.myhost.com/images/

Since there is no back button (presumably because it's a drive, mapped to another directory, which is my webserver's root directory) i have to manually type mywebsite.myhost.com into the address bar to get back to root.

Any ways to fix this little inconvience?
Back to top
View user's profile Send private message
terraserve



Joined: 03 Oct 2006
Posts: 7

PostPosted: Fri Oct 06, 2006 4:02 am    Post subject: simplify paths Reply with quote

hate to say this but that config would even confuse MS's iiS server.
Just simplify your scheme.here is a example of how i do it.

G:\ = small 5gb partition = my Main site. this has main page and index.htm

H:\ = 100gb rock collection, 26000 files ,indexed and updated by NAWS.
I:\ = 50gb assorted collection , same as above.
J:\ =50 gb classical collection , same as above.

K:\
L:\ both of these are movie drives w/aliases of Kmovie/Amovie,indexed and updated by NAWS.

And here is something you might find useful ... my books /files are
Virtual cd's on M:\ , N:\ , O:\ = aliased to Zip,pdf1 ,pdf2 (110,000 files)
running off Images(single files) on ONE hard drive using fantom cd.(Make a DVD of Files
for backup,create a image of that disk,mount it as a virtual CD drive..,
totally hackproof and VERY FAST.)

Partition your drives,simplify your paths..i.e root only,collect away.
By the way , I have used NAWS for 1year,absolute satisfaction,served 100's of TB's to 5 stations, 0 errors.
Back to top
View user's profile Send private message
Dr Dimento



Joined: 05 Oct 2006
Posts: 7

PostPosted: Fri Oct 06, 2006 12:31 pm    Post subject: Reply with quote

I'm definently sold on NAWS just for the ability to easily customise the file index pages...... Everything else is bonus to me.

As for my problem..........it seems easier to just type it in the address bar than go thru all that, lol.
Back to top
View user's profile Send private message
NetworkActiv
Site Admin


Joined: 27 Jun 2006
Posts: 43
Location: California

PostPosted: Sat Oct 07, 2006 1:37 pm    Post subject: re: simplify paths Reply with quote

There is a solution, though a bit weird and with a possibility of causing problems with certain setups...

Since you can put HTML in the "Server name" field at the lower-right of the main program dialog, you can have a relative 'back' link perhaps under the server name part (at the top of the file listings).

Example text to enter as the server name:

Your_Server_Name_Here<BR><A HREF="../">Up one level</A>

Let me know if this is acceptable for you.
Back to top
View user's profile Send private message Send e-mail
Dr Dimento



Joined: 05 Oct 2006
Posts: 7

PostPosted: Mon Oct 09, 2006 3:20 pm    Post subject: Reply with quote

Nicely done, now that i can do. I'll just have it point to my web page's address so that will always take someone back to the root of my webpage.

Thanks!
Back to top
View user's profile Send private message
NetworkActiv
Site Admin


Joined: 27 Jun 2006
Posts: 43
Location: California

PostPosted: Mon Oct 09, 2006 3:49 pm    Post subject: Reply with quote

Dr Dimento wrote:
Nicely done, now that i can do. I'll just have it point to my web page's address so that will always take someone back to the root of my webpage.


I'm not sure if you are aware, but the link text that I sent ( "../" ) will actually always make it go back one level in the folder structure, and since this link will appear on every file listing page, it would allow one to go back all the way if desired.

Anyway, glad to hear that it works for you in one way or another.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Web Server - General Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group