Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-13-2001, 08:20 AM
|
#1
|
|
Member
Registered: Feb 2001
Posts: 54
Rep:
|
I have samba server running to show my windows info. I have total access to all files on the samba share except html documents. When I copy an html document to the samba share and try and read it from there i get the error message 'Cannot find <filename.html>, make sure the filename is correct...etc...' Any ideas why this would be happening? I'm puzzled as i can access all other file formats without difficulty. I tried opening internet explorer and browsing to the file that way but end up with same results.
|
|
|
|
02-14-2001, 06:16 AM
|
#2
|
|
Guru
Registered: Jan 2001
Posts: 24,128
Rep: 
|
What about viewing the html source, have you tried viewing in a text editor instead of just a browser like IE or Netscape? If so, does it still give you the same error?
|
|
|
|
02-14-2001, 06:41 AM
|
#3
|
|
Member
Registered: Feb 2001
Posts: 54
Original Poster
Rep:
|
I can send it to notepad and view it no problem. But just clicking on it in the directory gives:
"Cannot find the file '\directory\mypage.html'(or one of its components).Make sure the path and filenames are correct and that all required libraries are available."
So its like the path to the file is not right. Very strange. I tried saving another html document into the shared directory using 'save as' from the file menu thinking it might save it differently but it made no difference.
|
|
|
|
02-14-2001, 08:17 AM
|
#4
|
|
Guru
Registered: Jan 2001
Posts: 24,128
Rep: 
|
You know, I get a same type of error when I try to view a HTML document from a floppy, but I then hit ok on the error and it launches the page to view in Netscape okay then.
Have you tried just opening IE or Netscape and then typing in the local address manually?
I know if you type it in manually, it should look something like this in the address field,
file:///C|/whatever the path or file here.html
The line after the C or D, wherever it is stored is a pipe, the thingy above the backslash.
Hope this works possibly.
|
|
|
|
02-14-2001, 03:08 PM
|
#5
|
|
Member
Registered: Feb 2001
Posts: 54
Original Poster
Rep:
|
Nope, no luck. I tried typing it in manually step by step through various folders. It will open and display the the contents of each folder fine in Internet Explorer, then when I give it the html document path in the folder it gives the error. I tried it on another windows machine on the lan here and it gave a different error. Said that security would not allow the opening of the file or something. So now I'm thinking that samba maybe has a flag somewhere set that is reacting to the fact that the document is html.....the plot thickens....
|
|
|
|
02-14-2001, 07:49 PM
|
#6
|
|
Member
Registered: Feb 2001
Posts: 54
Original Poster
Rep:
|
Well I think its a path problem now. When saving the html doc to the share it creates the link in this format: 'file://LOCALHOST/mp3/mydoc.html' but if i manually edit the link to look like: '\\LOCALHOST\mp3\mydoc.html' then it works. So its the way the link is being interpreted or something.
|
|
|
|
02-14-2001, 08:22 PM
|
#7
|
|
Member
Registered: Feb 2001
Posts: 54
Original Poster
Rep:
|
Mapping the samba share drive to another drive letter and working html docs through the mapped drive solved the problem. I don't know why it must be that way but at least it works now.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:48 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|