|
|
|
02-02-1999, 02:18 AM
|
Postid: 37984
|
|
Registered User
Join Date: Jan 1999
Location: Kissimmee, FL
Posts: 3,672
|
Just to confirm, you are right. I have been meaning to do that to mine, too, so I just did it. Works good.
|
|
|
02-02-1999, 02:32 AM
|
Postid: 37985
|
|
Registered User
Join Date: Jan 1999
Location: Kissimmee, FL
Posts: 3,672
|
Quote:
|
Only if an application developer spends extra effort, time, money, etc. will the Open/Save dialogs allow this type of file name.
|
Just for information, it is good Windows programming practice to use the Common Dialog control, which is a part of Explorer, for your Open/Save/Print dialogs. There are several reasons for this, one being that when the user upgrades to a higher version of Windows, your program will take on the newer look seamlessly. For example: Windows 2000, a.k.a. NT 5.0, will have auto-complete features, as well as "Most recently used folders" in the common dialog, and if an older, Win9x app ends up looking like a 9x app, it will be left in the dust. Remember those 3.x apps that didn't look right when you upgraded to 95? The one's with white-background windows (instead of using system colors)?
Common Dialog is a part of Explorer, which comprises the desktop, control panel - anything that is a window and is part of Windows is Explorer.
Another thing about the Common Dialog is that it takes on all settings, like mapped drives, etc., automatically, things that a programmer may not be able to predict when designing an app. Besides, the whole common look and feel associated with Windows apps is a good thing IMHO. Learn one program, the rest feel the same.
And the common dialog doesn't support a .foo type of filename. I really don't see it as a big deal either - just rename it.
One other point: DOS doesn't natively support .foo filenames either. Only when running with Windows will it do that - the actual DOS filename becomes FOO~1 with no extention. I just tried it.
Justin
|
|
|
02-02-1999, 04:09 AM
|
Postid: 37986
|
|
Registered User
Join Date: Dec 1998
Location: NC, USA
Posts: 478
|
Thanks, Jacob, it works great. Mighty stern looking FORBIDDEN message it shoots out too!
|
|
|
02-02-1999, 04:22 AM
|
Postid: 37987
|
|
Registered User
Join Date: Jan 1999
Location: Kissimmee, FL
Posts: 3,672
|
Oops - the Windows Common Dialog does support .foo filenames. I thought I was going to have a problem experimenting with .htaccess locally, but my own text editor (CheapPad) does, in fact, support .foo filenames (same DOS rules, FOO~1, though). It uses the Common Dialog. Windows Explorer will allow the filename, but it will not let you name a file like that from within Explorer.
Weird, huh?
But anyway, I guess Notepad itself doesn't support these filenames - so I would assume that a programmer would have to put in more effort, time, and money in order to NOT allow a .foo filename
BTW, the Forbidden message can be changed too:
ErrorDocument 403 /Go_Away.html
Mine's 403.shtml.
I'm wondering, what happens if you include a file within itself:
<!--#include file="test.shtml" -->
within test.shtml? I'm not going to try it on FQ, but I might try it locally...
-- ten seconds later --
Quote:
|
[an error occurred while processing this directive]
|
Had to try...
Justin
-- Good thing I'm not a cat --
|
|
|
02-02-1999, 06:29 AM
|
Postid: 37988
|
|
Registered User
Join Date: Nov 1998
Location: San Bernardino, CA, USA
Posts: 367
|
For 'the definitive word' (or something) on ErrorDocument redirects, check out http://www.apache.org/docs/custom-error.html That's straight from Apache on how to customize your errors.
When you're all done reading that, poke around the rest of their manual too. There's a lot of neat stuff in there! A good page to start with is http://www.apache.org/docs/mod/directives.html . Just remember that not everything listed there is available via .htaccess though, only the ones that specificly say they are.
------------------
Del
www.downinit.com
da da da
|
|
|
02-04-1999, 04:31 AM
|
Postid: 37989
|
|
CTO FutureQuest, Inc.
Join Date: Jun 1998
Location: Z'ha'dum
Posts: 8,108
|
OFF Topic: 3 messages snipped...
--Terra
|
|
|
02-05-1999, 01:29 AM
|
Postid: 37990
|
|
Registered User
Join Date: Jan 1999
Location: Kissimmee, FL
Posts: 3,672
|
Ok, I get bored and made a small tutorial on .htaccess on the FQ server, if anyone wants to critique it. http://www.vdj.net/htaccess/
Remember, this is my first attempt at a tutorial, and I plan to add to it if anyone likes it. It's just to kill time, I guess, so let me know what you all think
Sorry for going too far off topic earlier
Justin
-- Back on track --
|
|
|
02-17-1999, 07:05 PM
|
Postid: 37991
|
|
Registered User
Join Date: Jan 1999
Location: Kissimmee, FL
Posts: 3,672
|
|
|
|
02-18-1999, 07:11 AM
|
Postid: 37992
|
|
Registered User
Join Date: Nov 1998
Location: Albuquerque, New Mexico
Posts: 813
|
I've read the tutorial and the messages here, but have a question.Can you turn off indexing only certain directories. Would like to turn off indexing on certain directories but not all.
<Suppose I could just create a redirecting page instead titled index.html for those I don't want indexed as an alternative if not possible>
**heading over to the Apache documentation might be a good idea huh?**
------------------
Armand (aka Joe)
joe@arcanumcafe.com
www.arcanumcafe.com
[This message has been edited by Armand (edited 02-18-99).]
|
|
|
02-18-1999, 07:20 AM
|
Postid: 37993
|
|
Registered User
Join Date: Nov 1998
Location: San Bernardino, CA, USA
Posts: 367
|
You can put an .htaccess file in every directory if you really want to. If htaccess supported the <Directory> stuff we wouldn't need to, but it doesn't (probably not very secure methinks).
Del
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 visitors)
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 12:24 AM.
|
| |
|
|
|