Francis Daly
November 13, 2013 05:10PM
On Wed, Nov 13, 2013 at 10:56:28PM +0100, georg@riseup.net wrote:
> On 13-11-13 21:45:46, Jonathan Matthews wrote:
> > On 13 November 2013 21:35, georg@riseup.net <georg@riseup.net> wrote:

Hi there,

> > Looks to me like you want to use frames and write yourself some pretty
> > basic HTML. I don't know of anything that's that application-a-like
> > that comes /inside/ nginx itself, however.
>
> Yeah, I tought so aswell. My question was more like "how do I combine
> html and directory listing at the same time..."?

Can you build a small directory tree, and manually create the files with
the content that you would like to have returned?

For directory listings, do a manual "ls" (or whatever) once to hard-code
the html.

That exercise might make clear to you what content you want nginx to
return in response to different requests -- particularly, which parts
are static and which parts are dynamic. And that in turn might help you
decide whether you want an nginx module, or the plain directory handler,
or something like an index.php that you can drop in each directory.

(I you use frames, you will be making more than one http request, so
nginx will be able to return more than one piece of content.)

Good luck with it,

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

sidebar menu + directory listing

georg@riseup.net November 13, 2013 04:38PM

Re: sidebar menu + directory listing

Jonathan Matthews November 13, 2013 04:46PM

Re: sidebar menu + directory listing

georg@riseup.net November 13, 2013 04:58PM

Re: sidebar menu + directory listing

António P. P. Almeida November 13, 2013 05:10PM

Re: sidebar menu + directory listing

Francis Daly November 13, 2013 05:10PM

Re: sidebar menu + directory listing

georg@riseup.net November 13, 2013 05:54PM

Re: sidebar menu + directory listing

Francis Daly November 13, 2013 06:34PM

Re: sidebar menu + directory listing

georg@riseup.net November 13, 2013 06:40PM

Re: sidebar menu + directory listing

itpp2012 November 14, 2013 03:09AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 263
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready