Welcome to WebmasterWorld Guest from 54.146.49.147

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Dynamic to static URL

Is this apache territory?

     
4:03 pm on Apr 26, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 5, 2002
posts:1510
votes: 0


I am looking into building a number of dynamic sites which are all being fed by a single database. I am trying to think of a workaround to solve the tradition ? in the url problem. These sites will be on a Win2000 server. I know coldfusion can do URL's like www.domain.com/file.cfm/param1/param2 but I dont know or like (probably becuase I dont know) coldfusion. Will apache allow mean to do this. If yes, is it free? is it easy to learn and setup? and what will the end url look like?

Any help is appreciated.
Chris.

4:09 pm on Apr 26, 2002 (gmt 0)

Moderator from GB 

WebmasterWorld Administrator ianturner is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 19, 2001
posts:3505
votes: 27


ASP will certainly allow you to do something similar and is part of IIS.
4:14 pm on Apr 26, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 5, 2002
posts:1510
votes: 0


I will be using ASP .Net and VB .Net. What do you suggest?
5:51 pm on Apr 26, 2002 (gmt 0)

Moderator from GB 

WebmasterWorld Administrator ianturner is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 19, 2001
posts:3505
votes: 27


Use the URL server variable and server.tranfer commands
3:20 pm on Apr 27, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 5, 2002
posts:1510
votes: 0


Sorry Ian but I'm a real novice on this matter. However I have used the server.transfer command before. I think what your saying is that I create a page like product1.html and use a server.transfer to redirect it to products.asp?product=1. The drawback to this is I would have to create a page for every product. Is this correct or is there another method? Any help is appreciated but like I say I have never done this myself before.

Thank you.
Chris.

6:46 pm on Apr 27, 2002 (gmt 0)

Moderator from GB 

WebmasterWorld Administrator ianturner is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 19, 2001
posts:3505
votes: 27


chris_f I use a generator to create the static pages using the file scripting object. So they can be created automatically from the DB
2:19 am on Apr 28, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member korkus2000 is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 20, 2002
posts:3732
votes: 0


I asked a similar question using asp.

[webmasterworld.com...]

I think your only real option is to either not using the query string (form posts) or using the fso to create and delete pages from your server.

Coldfussion is easier then .Net

3:28 am on Apr 28, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:July 16, 2001
posts:2006
votes: 0


It is very easy to query databases, parse URLs, and process forms using [url="http://www.webmasterworld.com/forum13/947.htm?highlight=ben+ellison"]ColdFusion[/url]. If you search for CF examples, you can build your pages from sample code. The Ben Ellison example in the link above allows you to replace the ? or = with slahes. So /product.cfm?id=199 could also be linked as /product.cfm/id/199