No file extention...

windows

Guest
Hey all,<br />
<br />
hoping someone here can help me out. I noticed that apple used a format on it's tv add where the url included the root directory, and a file name without an extention. When I typed it in, it appeared that the server added the "/" I thought I was going to have to add. <br />
<br />
Is there a way to set up the server to recognize requests from the user even if they don't add the final "/"?<br />
<br />
I'm imagining I'm going to have to use it soon and was wondering if anyone knows how to make this work?<br />
<br />
Lincoln<!--content-->that is automatic for the browser, it adds it.<!--content-->not true...try this:<br />
<br />
<!-- w --><a class="postlink" href="http://www.etcconnect.com/default2">www.etcconnect.com/default2</a><!-- w --><br />
<br />
vs.<br />
<br />
<!-- w --><a class="postlink" href="http://www.etcconnect.com/default2.asp">www.etcconnect.com/default2.asp</a><!-- w --><!--content-->I am sorry, I thought you were talking about the ending slash after .com<br />
<br />
why would you do that? bad technique as the brower can get confused on it being a folder or a file, not everybody does it so why would you have to sooner or later?<br />
<br />
besides that is still on the server. each server is setup to have a defualt index file, either it being a default.html or index.html. the server admin can change it to be whatever so that is the first place it looks if the user doesn't finish typing the extension. if none found then it looks for a folder.<br />
<br />
again, bad technique if you want to do this.<!--content-->Believe me, I agree with you 100%. It's terrible technique, but the VP of marketing doesn't give a rat's ass about html technique. As a matter of fact I kinda made an -ss of myself by telling him it couldn't be done, and if it did it would only cause problems...he didn't care.<br />
<br />
Sadly he saw the new apple commercial where they have their url without an extention and now I have to cover my butt and make that work on our site as well...<br />
<br />
Thank you scoutt for your prompt resopnses, I know it's an odd and "bad format" topic, but I promise it's only going to be asked about more as time goes on...<br />
<br />
L<!--content-->hey that's no problem. I understand what you are under so I will explain it best I could.<br />
<br />
the main reason you are having so much trouble is because of Netscape. the brwoser is really picky when it comes to urls and extensions.<br />
<br />
depending on the server (Apache or Windows) if it is setup correctly it will have a default file per directory. when you type in <br />
<br />
<!-- w --><a class="postlink" href="http://www.etcconnect.com/default2">www.etcconnect.com/default2</a><!-- w --><br />
<br />
it is looking for directory default2 and the default file in that directory. IE doesn't care about this. it just works huh? NS doesn't like it and usually doesn't go with the standard default file, hence why you are having problems.<br />
<br />
there is nothing really you can do but make sure you have a default file in each folder that the server as designated as the default index file. usually it is index.html or index.php or index.asp, which ever is present.<br />
<br />
being that AOL uses IE it just works huh? :)<br />
<br />
hope that explains a little of it, and if I am straying from the truth somebody will correct me :P<!--content-->a-hah...I think I'm starting to catch on...here's the scenrario as it stands...we're going to be releasing a product called the "SmartPack". I'm going to be asked to add a page for our users to go to that will have all sorts of garbage about it, and that the end user should be able to type in:<br />
<!-- w --><a class="postlink" href="http://www.etcconnect.com/smartpack">www.etcconnect.com/smartpack</a><!-- w --><br />
<br />
and be taken to the page...I'll in turn have to create the file at this location for this to work correctly:<br />
<!-- w --><a class="postlink" href="http://www.etcconnect.com/smartpack/index.asp">www.etcconnect.com/smartpack/index.asp</a><!-- w --><br />
<br />
once that page is created the link should work? God I hope so cause this is a real pain in the butt.<br />
<br />
Agian, thanks for your help : )<br />
<br />
sorry...still in the oldschool smiles...<!--content-->Apple didn't put a file extension on a URL? Hoo-boy! Someone messed up! Even *I* know that just because Macs are smart enough to figure out what kind of a file something is without an extension, doesn't mean that PCs are, and anything that goes on the web is going to have to go through at least one PC-type server - either at your end or at the users end (the ISP) - and that makes file extensions mandatory. Ah, but he's the boss and he knows everything right? (snurffle)<br />
<br />
As for getting the link to work, I'm pretty sure what's you've got will do the trick. I've seen other pages done up like that. Failing that, you could just create a link that calls up the browser, without having the user type in anything. Couldn't you?<br />
<br />
*g* And not to worry about the smilies. I don't use the properly half the time, either.<br />
<br />
Peg<!--content-->Originally posted by ltheiler1 <br />
the VP of marketing ... <br />
<br />
The real problem is that the VP of marketing has no business telling IT how to design a site. Marketing does marking, IT does technology. Tell that shnizer to get his head back up his portfolio where it belongs! ;)<!--content-->didn't you know Doc - everyone's an expert!<br />
<br />
thankfully, I got a boss who, while not understanding everything accepts that me and my colleague know what we're talking about.<br />
<br />
Unfortunately, our MD is another matter, but we can usually talk him out of silly ideas (or fake it).<br />
<br />
Get this - he did not want us to allow people to see our page by simply typing in the company's domain name. Instead, we have to type in the filename as well. Simply done in IIS (remove the default page names) - but pretty pointless.<!--content-->Originally posted by ltheiler1 <br />
<br />
<!-- w --><a class="postlink" href="http://www.etcconnect.com/smartpack">www.etcconnect.com/smartpack</a><!-- w --><br />
<br />
and be taken to the page...I'll in turn have to create the file at this location for this to work correctly:<br />
<!-- w --><a class="postlink" href="http://www.etcconnect.com/smartpack/index.asp">www.etcconnect.com/smartpack/index.asp</a><!-- w --><br />
<br />
<br />
you bet, that should work just fine, in IE ;)<!--content-->fantastic, I'll be giving it a shot when I get back to the office tomorrow. Thanks agian for all the help...<br />
<br />
I'll tell the VP to go back to watching german schiza videos durring work hours and to refrain from actuall thought...that way everyone else can get their jobs done.<!--content-->There is another way of doing the "filename with no extension" thing. <br />
<br />
It needs a lot of server setup. Look on Google for Content Negotiation. There is a recent article at evolt.org to read too.<br />
<br />
You are best off going with the suggestions listed above though.<!--content-->Originally posted by ltheiler1 <br />
I'll tell the VP to go back to watching german schiza videos durring work hours and to refrain from actuall thought...that way everyone else can get their jobs done. Good grief!! They do that? I thought they were like the old radio tubes - vaccuum packed. <br />
<br />
Goes to show what I know, huh? ;)<br />
<br />
Peg<!--content-->
 
Back
Top