-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 31 December 2001 14:39, Dave Watts wrote: : > I using Apache/1.3.19 and CF5 on SuSE Linux 7.3. Let's say I : > have a file called delete.cfm. If I goto http://servername/delete.cfm, : > all is well, and the broswer shows me what I need to know. : > But if I goto http://servername/delete , it shows me the CODE : > of delete.cfm. I've successfully done this on several templates. : > And I've also found that it only does it on this one virtual : > host, but not the other ones on the same box. I just can't : > figure out what it is that I've done with this one that's so : > different as to allow that kind of thing... : > : > Anyone else seen this, or know what I'm talking about? I : > know there's a way to fix it... : : I haven't run into this problem myself, but I suspect that it has something : to do with either (a) your file permissions for that directory or, more : likely, (b) something different in your vhosts section of httpd.conf for : that particular virtual host. If you want to post some or all of your : httpd.conf, that might be helpful. : : Dave Watts, CTO, Fig Leaf Software
OK, I've found that the files that are showing are all files that have a "VIM/~" copy in that directory (temp file from VIMming the file on the server). i.e., there is delete.cfm and delete.cfm~ in the directory. So if I type http://myserver.com/delete, I get the code from delete.cfm~ displayed in the browser. When I delete the ~ file, the server just kinda adds the ".cfm" and shows the delete.cfm page (the way delete.cfm is supposed to show). Even that, tho, is a tad annoying. I don't want http://myserver.com/delete pulling up http://myserver.com/delete.cfm - IMHO, it should be trying to pull from the /delete directory, of which in this case, is non-existant, and should error. Did that make sense? TIA George -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8MPT46lWSWPFnGFARAgNgAJ4uLPULIJecPEqH2dQL1SpKAbxhtgCfQgFy 1ihejtz/pDSpxu0Cpg+RAz4= =tPTK ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm ------------------------------------------------------------------------------ To unsubscribe, send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body or visit the list page at www.houseoffusion.com
