Click to See Complete Forum and Search --> : Intranet file viewing
doofus
07-05-2006, 10:13 AM
Hi everyone
Im creating an intranet for my company, I have saved the files on the server on the D drive. On one of the pages Im trying to create a link to a different part of the D:. so to get to it through windows it would be d blah/blah/blah etc.
Now I can view the file if I look at the webpage directly on the D, but if I try to view the page via the web browser FF and IE and http://intranet, I get page cannot be found.
I have started off with <a href="../data/etc
Any help would be appreciated as Im going slightly bananas!
Thank you
The Little Guy
07-05-2006, 10:18 AM
When you were viewing it off the D drive, Were you viewing it like this:
file:///D:/page/index.html
If you are trying to view it as an http://www.url.com, you will need to upload the files to a server of some sort.
doofus
07-05-2006, 10:23 AM
Its an intranet, so am not going to an external server.
The intranet is on the root of the shared drive, the files I need to link to are on a separate folder, but also on the share drive which everyone has access to.
So I have <a href="../data/cantsay/wontsay/etc/etcl/Blank.html"> Test </a>
To get to the intranet via a browser its http://intranet.
To view via the shared drive its just d:\intranet which is where all the files are stored.
Thank you
ray326
07-05-2006, 11:01 AM
Forget what the file system references look like. The content must be visible to the web server and the references to the content must be relative to the web server's mappings.
skilled1
07-05-2006, 01:26 PM
and just to let you know, i have already tackled this issue with one of my clients, after designing an intranet page, FireFox will NOT WORK. It is a web browser, not a file browser, and will NOT display the folders you are trying to access, and mozilla / netscape has expressed that they will NOT be coding this feature into FireFox. So your target audience, must be running IE, or those links / references will not work properly.
doofus
07-06-2006, 02:44 AM
Hi Skilled1
You say "and just to let you know, i have already tackled this issue with one of my clients, after designing an intranet page, FireFox will NOT WORK. It is a web browser, not a file browser, and will NOT display the folders you are trying to access, and mozilla / netscape has expressed that they will NOT be coding this feature into FireFox. So your target audience, must be running IE, or those links / references will not work properly."
I run Firefox and within the browser window I have links to open files in this case .pdf's. Is this what you are getting at or are you talking about using FF to actually browse folders? If the first, it works here and this is what I need, all beit through the http: link not directly from the shared drive which is the problem I am having. I cannot open files when I use the http:, or if I try to browse from IIS, but if I browse directly from the intranet folder the links work and I can open the .pdf's. Also to let you know, Its not working in IE either.
Hope this makes some sense!
the tree
07-06-2006, 03:48 AM
Its an intranet, so am not going to an external server.Are you running a websever for this at all? You might find that nessersary.
doofus
07-06-2006, 04:01 AM
Its running through IIS on the PDC (which I know isnt exactly the way its run now but I still like to call it such).
Kevey
07-06-2006, 04:04 AM
and just to let you know, i have already tackled this issue with one of my clients, after designing an intranet page, FireFox will NOT WORK. It is a web browser, not a file browser...
I use FF for the same thing (if I understand you correctly). My browser acts as a browser version of My Computer...screenshot attached. I can move through directories, open movies, text files etc.
To give everyone access to the html files on your shared drive try this:
<a href="file:///D|/data/cantsay/wontsay/etc/etcl/Blank.html">Link</a>
This is what I do and it works for me.
doofus
07-06-2006, 04:25 AM
Hi
Im not trying to browse the folder itself as there are controlled documents in there, Im trying to have links to open the files within the folder. Everyone has access rights to this folder so permissions are not a problem.
Kevey
07-06-2006, 04:32 AM
What I typed above will open the html file in their browser the same as if they were cruising the internet as long as you have the absolute url correct in your code. You mentioned d:/intranet...so if intranet is a folder you would have to add that into the code I put up in the last post. The stuff about My Computer functionality was just a response to skilled1 in case it would help his situation.
doofus
07-06-2006, 05:21 AM
Ive spotted also that in IIS Directory browsing needs to be ticked to allow users to view a list of files and sub directories within the directories you define.
Still dosent resolve my problem though.
skilled1
07-06-2006, 12:43 PM
I use FF for the same thing (if I understand you correctly). My browser acts as a browser version of My Computer...screenshot attached. I can move through directories, open movies, text files etc.
To give everyone access to the html files on your shared drive try this:
<a href="file:///D|/data/cantsay/wontsay/etc/etcl/Blank.html">Link</a>
This is what I do and it works for me.
yes you can browse files offline, but if you are looking at a shared drive, or a network drive, it will come up blank eg.
only works in IE
file:///network/computer/folder/
will work in firefox and IE
file:///network/computer/folder/file.doc
doofus
07-11-2006, 02:37 AM
I resolved this myself.
Within the Directory on IIS I had to create a virtual directory with the home directory being the Drive share I needed to get to. Then redo the links so not to go back to root but to the share drive and all working... for now!
Thanks to all for trying to help!
ray326
07-11-2006, 11:27 PM
The content must be visible to the web server and the references to the content must be relative to the web server's mappings.;)