Samba and web pages
Robert Krawitz
rlk at alum.mit.edu
Sat Mar 8 10:31:40 EST 2008
Date: Sat, 08 Mar 2008 02:03:22 -0500
From: MBR <mbr at arlsoft.com>
Assuming I understand you correctly, you're just typing a directory path
into your browser's address bar, and you'd like some server along the
way to do the right magic so the index page is returned to the browser.
I don't believe this is possible. Here's why.
I think that what Jerry's asking for is that if you browse a directory
that contains an index.html file that the browser open that file
rather than provide a directory listing.
For example, if there is a file /home/rlk/index.html, and I type
file:///home/rlk
into the browser, the browser should actually provide
/home/rlk/index.html.
This doesn't need any server involvement or anything. Whatever the
merits or otherwise of this, it's something a browser could do on its own.
Jerry Feldman 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.
--
Robert Krawitz <rlk at alum.mit.edu>
Tall Clubs International -- http://www.tall.org/ or 1-888-IM-TALL-2
Member of the League for Programming Freedom -- mail lpf at uunet.uu.net
Project lead for Gutenprint -- http://gimp-print.sourceforge.net
"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Discuss
mailing list