httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject RE: Weird mozilla,lynx,IE + apache + php problem
Date Thu, 06 Dec 2001 16:32:48 GMT

> From: Rodrigo Hidalgo [mailto:rodde@linux-friends.org]

> If you have a swap file like "www.site.com/index.php~", you can via
> mozilla/lynx(havent tried opera) see the php source by writing
> "www.site.com/index".

The best advice is to turn off Multiviews unless you really need it.  It has
been turned on in the default httpd.conf for a while to let the
multi-language "it worked" page function, but that was probably a mistake.

There were also several changes in 1.3.22 to the Multiviews code that may
have changed this behaviour, and a complete rewrite in 2.0.  I don't
recommend using Multiviews in 1.3.22 at all, however, because it trashes the
query string.

I don't know exactly what is happening in your case (these negotiation
things are very difficult to figure out), but it has to do with apache
negotiating between different versions of a file, and then favouring the one
that has no attributes attached to it (because the .php~ extension is
unrecognized).

Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message