problem: Debian apache2 + php4-cgi + attachments

Moritz Bunkus <[email protected]> Sun, 4 Jan 2004 23:55:25 +0100
Newsgroups gmane.comp.bug-tracking.anthill.devel
Message-ID <[email protected]>
Heya,

I use Debian on my server along with apache2. The problem is that
Debian, due to some obscur threading problems, does not provide php4
packets with apache2 support, so the only way of using php4 with apache2
is php4-cgi. This in turn poses problems with the new 'view attachment'
syntax using a complete path,
e.g. https://www.bunkus.org/anthill/showattachment.php/21/a.txt
On this installation I only get 404 in my logs and the text "No input
file specified." is sent to the web browser.

Any chance you could re-think this please? Is there a good reason for
not doing it the 'usual' way? Perhaps you don't have to protect against
path traversing attacks that way, dunno...

Thanks ;)

Mosu

-- 
If Darl McBride was in charge, he'd probably make marriage
unconstitutional too, since clearly it de-emphasizes the commercial
nature of normal human interaction, and probably is a major impediment
to the commercial growth of prostitution. - Linus Torvalds

_______________________________________________
Anthill-workers mailing list
Anthill-workers-+mQDA36h6dWw5LPnMra/[email protected]
http://vmlinuz.ca/mailman/listinfo/anthill-workers
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/+JncTJ9OsraNuaERAvmsAJoC8uYtOsut2QgTAZv4Dbwmo21qdQCfUNPP
B7DkvOFiym3fCCf4plxUHJ4=
=HZml
-----END PGP SIGNATURE-----