473,396 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to hide the real file name in the URL?

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
7 5870
"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
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
"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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: dmiller23462 | last post by:
Hi guys....I have absolutely NO IDEA what I'm doing with Javascript but my end result is I need two text boxes to stay hidden until a particular option is selected....I've cobbled together the...
12
by: Sharon | last post by:
I wrote an assembly in C#/.NET that includes some personal information. But this information can be revealed by opening the assembly in tools like the ‘Microsoft .NET Framework IL DASM’ and...
2
by: Jurjen de Groot | last post by:
Hello, Is there someway to hide the name of the page in the browser? When a page is display the full address is shown like http:\\www.mysite.com\Default.aspx, is there some setting (maybe in IIS...
2
by: david | last post by:
In J2EE, I can rename the virtual URL in configuration file such that URL does not indicate any information about the real page path. For example, http://www.mysite/mypage is not the real path...
64
by: Bayazee | last post by:
hi can we hide a python code ? if i want to write a commercial software can i hide my source code from users access ? we can conver it to pyc but this file can decompiled ... so ...!! do you...
1
by: TKapler | last post by:
I think i am quite experienced javascript programmer, but I got a problem. I have a selectbox with e.g. 17 optgroups with 100 options. I need a javascript code to hide some of that optgroups (i...
11
by: C.W.Holeman II | last post by:
I what to hide an input element and the following text. I have the selector for the input working and just need to grab the text following it. CSS: form{ display:table; text-align:center; }
1
by: pamate | last post by:
hi, I want to show hide layers. I am able to show and hide layers but i am facing problem that, cant view the cursor in Mozilla,but i can type in input text box, its overlapping the layers. ...
8
by: Elliot | last post by:
My codes contain several URLs which are supposed to be not disclosed. As some programs such as Luxx Roxxxx's .NET Reflector can 'disclose' my codes almost completely. Any suggestion to 'hide'...
0
Debadatta Mishra
by: Debadatta Mishra | last post by:
Introduction In this article I will provide you an approach to manipulate an image file. This article gives you an insight into some tricks in java so that you can conceal sensitive information...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.