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

Date 2013-09-06 19:22 +0200
From Luuk <luuk@invalid.lan>
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>
Message-ID <1jfpfa-14l.ln1@luuk.invalid.lan> (permalink)

Show all headers | 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