Re: Newbie Q.: Difference between local- and ISP-page?

Discussion in 'HTML' started by Toby A Inkster, Jul 18, 2003.

  1. On Fri, 18 Jul 2003 08:19:44 +0200, Torsten Beekhuis wrote:

    > Content for "news" for example:
    >
    > torsten@pc-1:/srv/www/htdocs/news> ll
    > -rw-r--r-- 1 torsten users 6058 2003-07-17 08:31 Arbeiten.html
    > -rw-r--r-- 1 torsten users 28830 2003-07-17 08:30 anleitungen.htm
    > -rw-r--r-- 1 torsten users 3758 2003-05-12 20:02 arbeitsbefreiung.htm
    >
    > A part of the "index"-file:
    >
    > <A HREF="./news" >NEWS</A><br>


    What happens if you link like this?

    <a href="./news/Arbeiten.html">Work</a>

    --
    Toby A Inkster BSc (Hons) ARCS | mailto: | pgp:0x6A2A7D39
    aim:inka80 | icq:6622880 | yahoo:tobyink | jabber:
    http://www.goddamn.co.uk/tobyink/ | "You've got spam!"
    playing://(nothing)
     
    Toby A Inkster, Jul 18, 2003
    #1
    1. Advertising

  2. Hi Toby !

    Thanks for your reply!

    > What happens if you link like this?
    > <a href="./news/Arbeiten.html">Work</a>


    Mmh - it works fine! Locally and from the Net.

    But it shows only the named file (of course). What to do to see all
    the files in the named/linked directory?
    A simple output like a directory-listing

    "Index of /news
    Name Last modified [......]
    [......]
    "

    would be OK for me...


    Regards, Torsten

    --
    - Today is the past of tomorrow
    - Linux is like a Wigwam: No Windows, no Gates - but Apache inside!
    - registered Linux user #194586 (http://counter.li.org)
     
    Torsten Beekhuis, Jul 18, 2003
    #2
    1. Advertising

  3. In article <>,
    says...
    > Hi Toby !
    >
    > Thanks for your reply!
    >
    > > What happens if you link like this?
    > > <a href="./news/Arbeiten.html">Work</a>

    >
    > Mmh - it works fine! Locally and from the Net.
    >
    > But it shows only the named file (of course). What to do to see all
    > the files in the named/linked directory?
    > A simple output like a directory-listing
    >

    Try this:

    create/edit a file in the root directory called '.htaccess' (exactly
    that) and put this in it:

    Options +Indexes

    This opens up directory listing to everyone (assuming there isn't an
    index.html or similar file in the directory). I'm also assuming you're
    service provider is using acrobat.

    See:
    http://javascriptkit.com/howto/htaccess.shtml
     
    Jacqui or (maybe) Pete, Jul 18, 2003
    #3
  4. Hi Jacqui or (maybe) Pete !

    > Try this:
    > create/edit a file in the root directory called '.htaccess' (exactly
    > that) and put this in it:
    > Options +Indexes


    I put the line "Options +Indexes" in it, as mentioned, but it didn't
    work as it should.
    After that I followed your hint and read the text
    "http://javascriptkit.com/howto/htaccess.shtml", twice. And I found
    that there is another syntax in use.
    After putting "Options Indexes FollowSymLinks Includes" (note, that
    there are no "+" signs) everything works fine, now.

    Many thanks for pointing me to the right direction. To you and the
    other guys, who helped me - Thank You!

    BTW:
    1)
    Is there a short explanation, why I saw these two different behaviours
    (local page vs. web-page)?
    2)
    Do you know a really(!) good tutorial for creating Webpages (maybe a
    step-by-step-guide with examples)?


    Best Regards, Torsten

    --
    - Today is the past of tomorrow
    - Linux is like a Wigwam: No Windows, no Gates - but Apache inside!
    - registered Linux user #194586 (http://counter.li.org)
     
    Torsten Beekhuis, Jul 18, 2003
    #4
  5. On Fri, 18 Jul 2003 11:25:15 +0100, Jacqui or Pete wrote:

    > This opens up directory listing to everyone (assuming there isn't an
    > index.html or similar file in the directory). I'm also assuming you're
    > service provider is using acrobat.


    Really? I was assuming Apache. :)

    --
    Toby A Inkster BSc (Hons) ARCS | mailto: | pgp:0x6A2A7D39
    aim:inka80 | icq:6622880 | yahoo:tobyink | jabber:
    http://www.goddamn.co.uk/tobyink/ | "You've got spam!"
    playing://(nothing)
     
    Toby A Inkster, Jul 18, 2003
    #5
  6. In article <>,
    says...
    > On Fri, 18 Jul 2003 11:25:15 +0100, Jacqui or Pete wrote:
    >
    > > This opens up directory listing to everyone (assuming there isn't an
    > > index.html or similar file in the directory). I'm also assuming you're
    > > service provider is using acrobat.

    >
    > Really? I was assuming Apache. :)
    >

    Well, yes, that too...
     
    Jacqui or (maybe) Pete, Jul 19, 2003
    #6
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. jakk
    Replies:
    4
    Views:
    12,277
  2. juxstapose
    Replies:
    0
    Views:
    304
    juxstapose
    May 1, 2006
  3. Lee Falataco

    Newbie needs help getting ODBC on ISP setup

    Lee Falataco, May 4, 2004, in forum: ASP General
    Replies:
    3
    Views:
    139
    Steven Burn
    May 4, 2004
  4. PerlFAQ Server
    Replies:
    0
    Views:
    367
    PerlFAQ Server
    Jan 6, 2011
  5. PerlFAQ Server
    Replies:
    0
    Views:
    272
    PerlFAQ Server
    Apr 15, 2011
Loading...

Share This Page