473,326 Members | 2,099 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,326 software developers and data experts.

URL ReWriting (revisited)

Hi all,

I know that we can quite easily do URL ReWriting but all I have seen is
changing something from parameters to a page name.

What I want to do is to go to a lower level...

Say I have a URL, www.DerbyFOCUS.com

I want to be able to change the www part of it without having to modify the
servers host headers, so for example, I could do...

forum.DerbyFOCUS.com
shop.DerbyFOCUS.com
dating.DerbyFOCUS.com

etc. etc. etc.

If it is of any help, I can have the domain easily accessible by
DerbyFOCUS.com (no www)

Is this possible? I am using C#

Best regards,
Dave Colliver.
http://www.SheffieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available
Nov 19 '05 #1
2 1100
This may help.

http://www.15seconds.com/issue/030522.htm
Regards Mr Newbie . . .
"David" <da*****************@revilloc.REMOVETHIS.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi all,

I know that we can quite easily do URL ReWriting but all I have seen is
changing something from parameters to a page name.

What I want to do is to go to a lower level...

Say I have a URL, www.DerbyFOCUS.com

I want to be able to change the www part of it without having to modify
the servers host headers, so for example, I could do...

forum.DerbyFOCUS.com
shop.DerbyFOCUS.com
dating.DerbyFOCUS.com

etc. etc. etc.

If it is of any help, I can have the domain easily accessible by
DerbyFOCUS.com (no www)

Is this possible? I am using C#

Best regards,
Dave Colliver.
http://www.SheffieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available

Nov 19 '05 #2
Hi,

Not really. :-(

That rewrites everything after the domain name, not before.

An example, www.mydomain.com, if someone goes to forum.mydomain.com, it will
still connect, so replacing the www with forum.

The idea is that I want to provide affiliate connections to one of my
projects, whilst the site looks like theirs but with my content. I don't
want to provide just a feed as this could result in fraud, plus connecting
to my site, the system will use the engine I have developed.

Example...

affiliate1.derbyfocus.com
(all revenue generating activities will then automatically be attributed to
affiliate1)

affiliate2.derbyfocus.com
your_domain_affiliate.derbyfocus.com

I know I could do it after the domain, such like...
www.derbyfocus.com/affiliate1 but then I will have to setup and manage
cookies or sessions to ensure affiliate1 gets their revenue and site design
embedded, plus also the visitor may see that they have moved websites much
easier and abandon the site. Therefore, I would like the first part of the
domain name changed.

Best regards,
Dave Colliver.
http://www.AshfieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available
"Mr Newbie" <he**@now.com> wrote in message
news:uj*************@TK2MSFTNGP15.phx.gbl...
This may help.

http://www.15seconds.com/issue/030522.htm
Regards Mr Newbie . . .
"David" <da*****************@revilloc.REMOVETHIS.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi all,

I know that we can quite easily do URL ReWriting but all I have seen is
changing something from parameters to a page name.

What I want to do is to go to a lower level...

Say I have a URL, www.DerbyFOCUS.com

I want to be able to change the www part of it without having to modify
the servers host headers, so for example, I could do...

forum.DerbyFOCUS.com
shop.DerbyFOCUS.com
dating.DerbyFOCUS.com

etc. etc. etc.

If it is of any help, I can have the domain easily accessible by
DerbyFOCUS.com (no www)

Is this possible? I am using C#

Best regards,
Dave Colliver.
http://www.SheffieldFOCUS.com
~~
http://www.FOCUSPortals.com - Local franchises available


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Jon Maz | last post by:
Hi All, I am experimenting with URL Rewriting using the techniques outlined by Scott Mitchell in his article "URL Rewriting in ASP.NET"...
3
by: Jamie Jackson | last post by:
I'm rewriting all links' onclick events, but I'm having a problem. The onclick event that I'm inserting works correctly in Opera, but not in FF or IE. I'm retroactively adding the statement...
2
by: Jon Maz | last post by:
Hi All, I've been looking into options for URL Rewriting in .net, and to be honest, I haven't seen anything that's easier than the old Classic Asp solution with an ISAPI filter redirecting to an...
3
by: Michael Appelmans | last post by:
I'm trying to use a rule based URL rewrite application which uses HttpApplication.RewritePath. I keep getting "rsource not found" error in application when running on shared web host although the...
2
by: R-D-C | last post by:
Can these two functions coexist? We have a web site where the querystrings are removed using URL Rewriting. Instead the page appears to be a html page with a long name (containing what would be...
0
by: Lee | last post by:
Hi all ;) Preamble -------- I'm using URL rewriting to enforce a frames policy (yeah, I know frames are 'bad' :) - i.e. if a request comes in for a page which should be nested within a...
3
by: Greg Collins [Microsoft MVP] | last post by:
I have done a bit of research of Url Rewriting, but as yet have been unsuccessful at getting it to work well, and there are issues around what file types are supported and how much code you want to...
9
by: Frankie | last post by:
I understand that with URL rewriting we can have a request come in for, say Page1.aspx, and rewrite it so that PageA.aspx gets served up to the user. My question (assuming the above is correct):...
2
by: Seth Williams | last post by:
The first scenario is that I want to create one website for a particular industry - let's say for Farm Machinery so I have a shared hosting site called myFarmMachinery.com But I want to sell...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.