homepage Welcome to WebmasterWorld Guest from 54.161.246.212
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?
chris_f

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 453 posted 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.
Chris.

 

IanTurner

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



 
Msg#: 453 posted 4:09 pm on Apr 26, 2002 (gmt 0)

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

chris_f

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 453 posted 4:14 pm on Apr 26, 2002 (gmt 0)

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

IanTurner

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



 
Msg#: 453 posted 5:51 pm on Apr 26, 2002 (gmt 0)

Use the URL server variable and server.tranfer commands

chris_f

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 453 posted 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.
Chris.

IanTurner

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



 
Msg#: 453 posted 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

korkus2000

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



 
Msg#: 453 posted 2:19 am on Apr 28, 2002 (gmt 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

sun818

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 453 posted 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