Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #180578
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: index.html |
| Date | 2017-05-01 18:20 +0200 |
| Message-ID | <tCmdk-2Ui-15@gated-at.bofh.it> (permalink) |
| References | <tC7nX-1Ja-1@gated-at.bofh.it> <tClTY-2yI-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, May 01, 2017 at 11:55:49AM -0400, Tony Baldwin wrote: > If you just want to list the directories contents, try putting in an > index.php with something like this in it: Or remove all of index.php, index.html and index.htm, and make sure you've turned on the "Indexes" option for this directory in the Apache config. Then Apache will simply generate a directory index page for you, and you don't need to write a PHP program.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
index.html Gene Heskett <gheskett@shentel.net> - 2017-05-01 02:30 +0200
Re: index.html Tony Baldwin <tonybaldwin@gmx.com> - 2017-05-01 18:00 +0200
Re: index.html Greg Wooledge <wooledg@eeg.ccf.org> - 2017-05-01 18:20 +0200
Re: index.html <tomas@tuxteam.de> - 2017-05-01 18:30 +0200
Re: index.html Gene Heskett <gheskett@shentel.net> - 2017-05-01 19:20 +0200
csiph-web