By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,033 Members | 994 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,033 IT Pros & Developers. It's quick & easy.

How to hide the real file name in the URL?

P: n/a
I see u guys talking about url rewriting, and then I came across
www.actioncarting.com, where no page seem to have an extension
like .aspx, .html, .shtml, .asp, .jsp, .php. Is this trick so-called
URL rewriting? I would like to learn this little trick. Thank you.
Jun 27 '08 #1
Share this Question
Share on Google+
7 Replies


P: n/a
"gnewsgroup" <gn********@gmail.comwrote in message
news:35**********************************@24g2000h sh.googlegroups.com...
I see you guys talking about URL rewriting, and then I came across
www.actioncarting.com, where no page seem to have an extension
like .aspx, .html, .shtml, .asp, .jsp, .php. Is this trick so-called
URL rewriting?
No.
I would like to learn this little trick.
No trick. All they're doing is specifying a folder rather than a file. This
way, ASP.NET / IIS will search for a "default" document and use one if it
exists:
http://www.google.co.uk/search?sourc...fault+document
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jun 27 '08 #2

P: n/a
Mark Rae [MVP] wrote:
"gnewsgroup" <gn********@gmail.comwrote in message
news:35**********************************@24g2000h sh.googlegroups.com...
I see you guys talking about URL rewriting, and then I came across
www.actioncarting.com, where no page seem to have an extension
like .aspx, .html, .shtml, .asp, .jsp, .php. Is this trick so-called
URL rewriting?

No.
I would like to learn this little trick.

No trick. All they're doing is specifying a folder rather than a file. This
way, ASP.NET / IIS will search for a "default" document and use one if it
exists:
http://www.google.co.uk/search?sourc...fault+document
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
Thank you. I also thought that they are simply letting the web server
retrieve the pre-defined default file. But, then only one file per
folder will be retrieved. Isn't that too troublesome?

BTW, how do u tell it is not URL rewriting? Thanks again.
Jun 27 '08 #3

P: n/a
"gnewsgroup" <gn********@gmail.comwrote in message
news:93**********************************@t54g2000 hsg.googlegroups.com...
Thank you. I also thought that they are simply letting the web server
retrieve the pre-defined default file. But, then only one file per
folder will be retrieved. Isn't that too troublesome?
Depends on your requirements, I suppose...
BTW, how do u tell it is not URL rewriting?
Experience.
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jun 27 '08 #4

P: n/a
Hello gnewsgroup,

if you look on their site stucture, u will see that they have the different
url for each page, which could means that all pages are just index.aspx or
default.aspx . Actually I checked into Fiddler and it's php pages.

so, if u type /index.php in the end of url in will open you the same page,
but not the index2.php

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
gMark Rae [MVP] wrote:
g>
>"gnewsgroup" <gn********@gmail.comwrote in message
news:35**********************************@24g2000 hsh.googlegroups.com
...
>>I see you guys talking about URL rewriting, and then I came across
www.actioncarting.com, where no page seem to have an extension
like .aspx, .html, .shtml, .asp, .jsp, .php. Is this trick
so-called
URL rewriting?
No.
>>I would like to learn this little trick.
No trick. All they're doing is specifying a folder rather than a
file. This

way, ASP.NET / IIS will search for a "default" document and use one
if it

exists:

http://www.google.co.uk/search?sourc...-GB&ie=UTF-8&r
lz=1T4GZEZ_en-GBGB252GB252&q=IIS+default+document

--
Mark Rae
ASP.NET MVP
http://www.markrae.net
gThank you. I also thought that they are simply letting the web server
gretrieve the pre-defined default file. But, then only one file per
gfolder will be retrieved. Isn't that too troublesome?
g>
gBTW, how do u tell it is not URL rewriting? Thanks again.
g>
Jun 27 '08 #5

P: n/a
Mark Rae [MVP] wrote:
"gnewsgroup" <gn********@gmail.comwrote in message
news:93**********************************@t54g2000 hsg.googlegroups.com...
Thank you. I also thought that they are simply letting the web server
retrieve the pre-defined default file. But, then only one file per
folder will be retrieved. Isn't that too troublesome?

Depends on your requirements, I suppose...
BTW, how do u tell it is not URL rewriting?

Experience.
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
OK. thank you. In any case, I can get the same effect thru url
rewriting, right?
Jun 27 '08 #6

P: n/a
Michael Nemtsev [ MVP ] wrote:
Hello gnewsgroup,

if you look on their site stucture, u will see that they have the different
url for each page, which could means that all pages are just index.aspx or
default.aspx . Actually I checked into Fiddler and it's php pages.

so, if u type /index.php in the end of url in will open you the same page,
but not the index2.php

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
gMark Rae [MVP] wrote:
g>
"gnewsgroup" <gn********@gmail.comwrote in message
news:35**********************************@24g2000h sh.googlegroups.com
...

I see you guys talking about URL rewriting, and then I came across
www.actioncarting.com, where no page seem to have an extension
like .aspx, .html, .shtml, .asp, .jsp, .php. Is this trick
so-called
URL rewriting?
No.

I would like to learn this little trick.

No trick. All they're doing is specifying a folder rather than a
file. This

way, ASP.NET / IIS will search for a "default" document and use one
if it

exists:

http://www.google.co.uk/search?sourc...-GB&ie=UTF-8&r
lz=1T4GZEZ_en-GBGB252GB252&q=IIS+default+document
>
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
gThank you. I also thought that they are simply letting the web server
gretrieve the pre-defined default file. But, then only one file per
gfolder will be retrieved. Isn't that too troublesome?
g>
gBTW, how do u tell it is not URL rewriting? Thanks again.
g>
That's what I thought, but dismissed it bec'z I think it is too
troublesome to have to create one folder per file.
Jun 27 '08 #7

P: n/a
Hello gnewsgroup,

Why not?! they dont have a big structure.
it's about 10-15 pages

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
gThat's what I thought, but dismissed it bec'z I think it is too
gtroublesome to have to create one folder per file.
g>
Jun 27 '08 #8

This discussion thread is closed

Replies have been disabled for this discussion.