CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 8/16/2007 4:18:21 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 46 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
svmali
Asp.Net User
Subdomain Rewriting8/16/2007 4:18:21 PM

0/0

Hi All,

I am developing a blog site where user can create there own blog.

now i want that user can access the blog by url like www.user.mysite.com

and my blog exists in /Blog folder under the root. 

can any one tell how can i do this?

 

Thanks in Advance.

MorningZ
Asp.Net User
Re: Subdomain Rewriting8/16/2007 6:47:32 PM

0/0

Check out

 http://www.urlrewriting.net

it can for sure do what you with a simple rule in Web.Config (and a DNS wildcard added to "mysite.com")

ex/

<add name="BlogUser" 
    
virtualUrl=http://www.(.+).mysite.com
    rewriteUrlParameter="ExcludeFromClientQueryString"
   
destinationUrl=http://www.mysite.com/Blog/default.aspx?User=$1 ignoreCase="true"/>


"If you make it idiot proof, they'll build a better idiot"
svmali
Asp.Net User
Re: Subdomain Rewriting8/17/2007 6:06:47 AM

0/0

Hi, thanks for the replay,

the wb.config setting u had given is in which section i have to add?

and also the blogs are dynamic

so how can i retrive the username from the url and redirect to appropriate aspx

Regards

svmali

MorningZ
Asp.Net User
Re: Subdomain Rewriting8/17/2007 10:46:59 AM

0/0

I suggest going to the URL i gave about and read the very easy to follow documentation, which would answer both your questions


"If you make it idiot proof, they'll build a better idiot"
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Microsoft Exchange Server 2007: A Beginner's Guide Authors: Nick Cavalancia, Pages: 507, Published: 2007
Computer Science Logic: 5th Workshop, CSL '91, Berne, Switzerland, October 7-11, 1991 : Proceedings Authors: Egon Börger, G. Jager, H. Kleine Büning, M. M. Richter, Pages: 428, Published: 1991
ZB 2003: Formal Specification and Development in Z and B : Third International Conference of B and Z Users, Turku, Finland, June 4-6, 2003 : Proceedings Authors: Didier Bert, Jonathan P. Bowen, Steve King, Marina Waldén, Pages: 545, Published: 2003
Formal Approaches to Software Testing: Third International Workshop on Formal Approaches to Testing of Software : FATES 2003 : Montreal, Quebec, Canada, October 6th, 2003 : Revised Papers Authors: Alexandre Petrenko, Andreas Ulrich, Pages: 266, Published: 2003
Logic Programming: Proceedings of the Eighth International Conference Authors: Koichi Furukawa, Pages: 976, Published: 1991
Qmail: An Alternative to Sendmail Authors: John R. Levine, Pages: 234, Published: 2004
Term Rewriting and Applications: 18th International Conference, Rta 2007, Paris, France, June 26-28, 2007, Proceedings Authors: Franz Baader, Pages: 419, Published: 2007
Finite Element Methods: Fifty Years of the Courant Element Authors: M. Křížek, Pekka Neittaanmäki, Rolf Stenberg, Pages: 504, Published: 1994
Selected Papers from the Second Conference on Parallel Processing for Scientific Computing: Conference Proceedings Authors: Charles William Gear, Robert G. Voigt, Pages: 287, Published: 1985

Web:
URL Rewrite + Subdomain rewriting - .htaccess | Google Groups I've had success rewriting my URLs in the past, but this has kicked my butt. I'm able to have unique subdomains for each user, except I don' ...
WordPress MU › WMPU Subdomain rewriting with MAMP « WordPress MU ... Unfortunately, it only works for acegamingsyndicate.test after I added that domain to my hosts file, but I can't get the wildcard subdomain rewriting to ...
Subdomain rewrite rules Tried searching this site, but none works subdomain rewrite rules.
Sub Domain Rewriting - ASP.NET Forums in search for resolution i came to url rewriting. Among other problems like postbacks ther is another one Subdomain rewriting. ...
need help for a subdomain rewriting need help for a subdomain rewriting. phph #:1521511, 6:13 am on June 1, 2006 ( utc 0). Hey everyone,. I need some help with mod rewrite ...
Need help with htaccess subdomain rewrite Need help with htaccess subdomain rewrite (from Programming)
subdomain rewrite htaccess - ProgrammingTalk subdomain rewrite htaccess Web Servers. ... When I try this with any other subdomain it won't work, I need to access ...
Apache: Mod-rewrite: Sub-domain pointing, URL re-writing ... Hi, Wonder if someone can help. We have a couple of tools, say they are running at the http://www.mydomain.com/useful-tools/ location.
Slicehost Forum - nginx subdomain rewrite to another top level domain Looking at the nginx wiki, rewriting the latter part of the request seems strait forward, but I cannot figure out how to rewrite the subdomain part. ...
CodeSnippets: LightTPD subdomain rewrite, Backpack/Basecamp style ... LightTPD subdomain rewrite, Backpack/Basecamp style. (See related posts). Rewrites test.example.com/example/path/ to example.com/test/example/path/ ...




Search This Site:










login control - can i clear the username on login failure?

open url in new window

web site administration tool

bug tracker?

forcing the user to logon

treeview in asp.net?

future of ttt authentication module?

control must be in server form

protecting content

object level security - where do i get information?

publishform appearing multiple times on taskbar

good book suggestions for learning .net 3.5 and vs 2008

does visual studio 2005 fully support application developed with asp.net 1.1 ?

editing web.sitemap at runtime

new module - feedback please!

good idea? moving data from web.config to the machine.config

installer: text turning black on error.

help, i need to pass on user name and password to sql

user and custom ctrl

do i have to disable membership if i don't want to use it? there is no "enable=false" property with it

club db not showing in server explorer

is it possible to call aspx from asp ?

menu control, statichoverstyle issue with image background

change expiration time from days/weeks to hours

xml data editor

syntax error in store procedure

problems getting a dropdownlist.selectedvalue in a wss toolpart

ddos attack

regarding aspnetdb.mdb

creating object data sources in the style of the existing ones

 
All Times Are GMT