Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #10725

Re: Apache + php + directory browsing + reader for TXT files

Path csiph.com!usenet.pasdenom.info!aioe.org!newsfeed1.swip.net!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Date Fri, 06 Sep 2013 19:22:14 +0200
From Luuk <luuk@invalid.lan>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-Version 1.0
Newsgroups comp.lang.php
Subject Re: Apache + php + directory browsing + reader for TXT files
References <52272b3b$0$2211$426a74cc@news.free.fr> <l07hm2$1s7g$1@news.tokachu.com>
In-Reply-To <l07hm2$1s7g$1@news.tokachu.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Message-ID <1jfpfa-14l.ln1@luuk.invalid.lan> (permalink)
Lines 22
NNTP-Posting-Host 2001:980:9089:1:15ad:7c90:cc90:35eb
X-Trace 1378488601 news.xs4all.nl 15883 [2001:980:9089:1:15ad:7c90:cc90:35eb]:58081
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.php:10725

Show key headers only | View raw


On 04-09-2013 16:56, Salvatore wrote:
> On 2013-09-04, G. <grumsk@grumsk.tz> wrote:
>> Hi, I have a bunch of *.txt files. I would like to put them on my server
>> (I already have a running apache2 with PHP5 and Mysql) and allow my students
>> to browse directories and read the TXT files.
>>
>> I spent some time yesterday on applying a CSS to apache's "directory browsing"
>> ability.
>>
>> Now, I would like to go a further step: applying a minimal style to my TXT
>> documents with a few rules. (font, size, margins, background color, color, etc.)
>> and dynamically producing links from my http://... strings.
>
> I believe that this is as simple as creating a file called HEADER.html
> (make sure you use uppercase lettersi for the word "HEADER") and include
> some <style> tags.
>

see: http://httpd.apache.org/docs/2.2/mod/mod_autoindex.html#headername

it does not need to be UPPERCASE, if i read the story on above link......

Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Apache + php + directory browsing + reader for TXT files "G." <grumsk@grumsk.tz> - 2013-09-04 12:44 +0000
  Re: Apache + php + directory browsing + reader for TXT files Salvatore <sal@yojimbo.hack.invalid> - 2013-09-04 14:56 +0000
    Re: Apache + php + directory browsing + reader for TXT files The Natural Philosopher <tnp@invalid.invalid> - 2013-09-04 16:17 +0100
    Re: Apache + php + directory browsing + reader for TXT files Luuk <luuk@invalid.lan> - 2013-09-06 19:22 +0200

csiph-web