clean urls, without directory structures....not sure what its called.

T

taelor

I have just recently learned the practice of clean uri/urls, combined
with ruby's string manipulation is a great way to pass open/
insensitive data. right now i have just one page, that controls my
whole site, except for index files that just pass the directory that
its located in to the one page that controls the whole site based on
the url address.

I find myself having to write scripts to make directories and copy the
same index page over and over and over.

I think a more elegant solution would be to handle any uri/url without
having the directory structure below.

Now I do know that maybe I'm posting in the wrong place and should be
at the local web server forum, but it probably still has to do with
some sort of apache/ruby based configuration? Maybe in the Add
Handlers section?

I tried searching some things, but I couldn't come up with the name of
this design pattern, or which site I think used it.

Thanks for any help,
taelor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top