Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Samba and web pages



 I take all this back.  I just think it is a limitation of some small 
snippet of both server and client code... 



On 3/6/08, Kristian Erik Hermansen <[hidden email]> wrote: 
> From my understanding of Apache, it appears that your request would be 
> intercepted if you had the right config options and return the 
> contents of an index page.  However, smb is not a protocol for showing 
> the contents of files.  You make a request for a file list and you get 
> it back.  I don't believe samba has code to open a file and dump it to 
> your browser for parsing.  Also, while using a smb client, even a 
> browser shell, the app might not handle such a case when it is using 
> smb://.  I have been wronf before though so feel free to educate me! 
> It just seems that the two services offer dissimilar features; one 
> serves files and the other serves directory listings which can then be 
> selected for download.  Apache just happens to have a feature to show 
> directory listings.  Hrmmm, b ut you never know.  I suppose it is 
> possible... 
> 
> 
> 
> On 3/6/08, Jerry Feldman <[hidden email]> wrote: 
> > I'm using Samba to export a number of Linux directories locally. 
> > However, when I open those directories in the browser, I get a 
> > directory, as expected. Is there a way I can configure it such that the 
> > browser brings up the index page? Alternatively, I could achieve what I 
> > want by running Apache, but I don't want to do that. 
> > 
> > -- 
> > -- 
> > Jerry Feldman <[hidden email]> 
> > Boston Linux and Unix 
> > PGP key id: 537C5846 
> > PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846 
> > 
> 
> -- 
> Sent from Gmail for mobile | mobile.google.com 
> 
> Kristian Erik Hermansen 
> -- 
> "It has been just so in all my inventions. The first step is an 
> intuition--and comes with a burst, then difficulties arise. This thing 
> gives out and then that--'Bugs'--as such little faults and 
> difficulties are called--show themselves and months of anxious 
> watching, study and labor are requisite before commercial success--or 
> failure--is certainly reached" -- Thomas Edison in a letter to 
> Theodore Puskas on November 18, 1878 
> 


BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org