View Full Version : different extension than .asp
Mhtml
11-01-2002, 01:04 AM
I have seen and know that you can specify different extensions for .php files, what I would like to know is if that same functiuality shared by asp?
BigDaddy
11-01-2002, 03:27 AM
.NET offers that, but to my knowledge, ASP does not. I could be wrong, though...
Mhtml
11-01-2002, 03:52 AM
.NET seems to be significantly better than ASP in areas, you are more than likely right though. I just wanted to make sure coz I'd like to have a different extension.
Roy Sinclair
11-01-2002, 03:00 PM
You can run ASP files with any extension you want as long as you can control the IIS web server. ASP is handled by an ISAPI extension and you simply have to add the new extension and point it to the same ISAPI extension that currently handles ASP pages.
Mhtml
11-01-2002, 10:48 PM
Yeah I though that would work but that always works, I really only wanted to be able to do it the php way.
whammy
11-01-2002, 11:57 PM
FYI, you can include files with any file extension pretty much (i.e. .inc or .txt), but you're better off using an .asp extension for those anyway...
Mhtml
11-02-2002, 01:46 AM
Cool, didn't know that any extension worked.
I think that different extensions just make the site complete lol, check out www.redlotus.com.au they .rld pages...
whammy
11-02-2002, 02:00 AM
What does the extension matter anyway? I don't get it. :)
As long as the page shows up in the browser, is there an issue? Perhaps if you want something like .cool :confused:
I would post a really cool extension here, but I won't do that due to respect for kids that might frequent the forums... hehehe. ;)
P.S. how does .rld help the site in any way ?!? It must be an aussie thing?
BigDaddy
11-02-2002, 02:05 AM
Some companies don't necessarily want people to know what they use for their scripting language.
Maybe it's because certain types of servers are more easily hacked than others, I don't know.
whammy
11-02-2002, 02:08 AM
That may be a very valid point.
Obviously someone like Microsoft with a history of security vulnerabilities has brand names like ".asp".
... but I guess I'll leave that up to the security experts (and I'm not one).
But if you're really worried about that, then like roy Sinclair said, you can change the ISAPI extension in IIS, but I still doubt somehow that would stop a hacker from determinining what server software is being run. :D
oracleguy
11-02-2002, 08:27 AM
Originally posted by BigDaddy
Some companies don't necessarily want people to know what they use for their scripting language.
Maybe it's because certain types of servers are more easily hacked than others, I don't know.
Thats what I would guess. And if someone really wanted to throw the hackers off, you can use Apache::ASP and run ASP scripting with Apache. :)
Also another reason to change the default .asp extenstion is that if you wanted to start applying a server-side language on a static html site, you could make .htm/.html files processed for asp. So then you wouldn't have to worry about changing links and paths.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.