You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Jason A. Dour" <ja...@bcc.louisville.edu> on 1997/01/07 16:59:19 UTC

yuck...need help with suEXEC.

-----BEGIN PGP SIGNED MESSAGE-----

I started coding in my proposed fix to suEXEC this morning...and I had a
nasty realization.

I have machine with multiple VHosts...each with their own UID/GID...*BUT*
what if I had a different UserDir for each.  That means that I have
multiple possiblities as to what ~userdir will translate. 

If I have hosts and userdirs of:

	www.bcc.louisville.edu		www
	www-test.bcc.louisville.edu	www-test
	ftp.bcc.louisville.edu		ftp
	radbio.bcc.louisville.edu	radbio

Suddenly the ~userdir issue becomes *MUCH* more complex.

The only fix I think of would be to have a directory *above* all of these
directories which would be considered the beginning of userdir webspace.
For example, what if I had:

	www.bcc.louisville.edu		www/www
	www-test.bcc.louisville.edu	www/www-test
	ftp.bcc.louisville.edu		www/ftp
	radbio.bcc.louisville.edu	www/radbio

Is there anything in the UserDir code that would prevent such a
translation to a subdirectory?  If not, we should patch this as well...

Jason
# Jason A. Dour <ja...@bcc.louisville.edu>                            1101
# Programmer Analyst II; Department of Radiation Oncology; Univ. of Lou.
# Finger for URLs, PGP public key, geek code, PJ Harvey info, et cetera.


-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBMtJy2po1JaC71RLxAQEdggP/fPuw2gpJUpHF53vg/bN2014E2QI8qzkv
XBJlAk9jfDqVSAzaNB5oPODWF+y9ybYde29v0VY47i+oWs5Rr8GaGiPyiOzJG0De
PY9nX2oXmf6lmcqyOWCKQnLFlDS9Ji6xU26jvesav18RoEfrkU0S1ymU8C1E/f0t
SS/hwB9t8U0=
=8ca3
-----END PGP SIGNATURE-----