homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

Dynamic to static URL
Is this apache territory?

 4:03 pm on Apr 26, 2002 (gmt 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.



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

ASP will certainly allow you to do something similar and is part of IIS.


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

I will be using ASP .Net and VB .Net. What do you suggest?


 5:51 pm on Apr 26, 2002 (gmt 0)

Use the URL server variable and server.tranfer commands


 3:20 pm on Apr 27, 2002 (gmt 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.


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

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)

I asked a similar question using asp.


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)

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

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved