[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[gopher] Re: Gopher Markup



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Tue, Aug 11, 2009 at 11:42:36PM +0200, Freddy Cruger wrote:
> ...
> Is it possible to have both at the same time in any way - chroot and gopher
> homepages stored in users home folders' subdirectories?  And is it possible
> with Apache, if I may ask?

No. A chrooted server can't server data from outside of the chroot. You could
work around this by:

1. Periodically copying all data from the users home directory to within the
chroot. This can be confusing for users because modifications take time to
propagate.

2. Put the public_gopher directory inside the gopher chroot and make symbolic
links in the users home directories: $USER/public_gopher -> /var/gopher/$USER.

> Second, did I understand it correctly that links on a server always
> begin with the type of the target as kind of parent directory, kind of
> "server.tld/type/paht"?

Yes{1}. Gopher URI's can be confusing. Keep in mind that the 'paht' [sic] is
not a path per se but just a selector string that identifies a resource. No
hierarchy is implied. 

{1} Although you could leave it out in which case it defaults to type '1'
(gopher menu).

For more information you I recommend RFC's 1436[1] and 4266[2].

[1]: http://tools.ietf.org/html/rfc1436
[2]: http://tools.ietf.org/html/rfc4266

Regards,
- -- 
Jeroen Schot <schot@a-eskwadraat.nl>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)

iIwEAREIADQFAkqClwgtGGh0dHA6Ly9zY2hvdC5hLWVza3dhZHJhYXQubmwvb3Bl
bnBncC9rZXkuYXNjAAoJEJbU8MDXM4Lx9LIA/jzfsigY7Nrpmv9RL2it4rmMiTPA
kEMeF6LTm7EOSgK+AQCWvyA55IhVMlA1dvZYfxSC2WxDb4sC/HuUW/DZvl4x8g==
=YFy7
-----END PGP SIGNATURE-----



Reply to: