Re: Random Design Question



For anyone who is wondering, you can check out this URL, which I found
that goes over mod_rewrite if you know nothing about it.

http://www.workingwith.me.uk/articles/scripting/mod_rewrite


Alex wrote:
Hey Mark:

Thanks for the reply. The mod_rewrite seems real powerful and useful.
I appreciate the response and plan to implement it using mod_rewrite.

Thanks!

mark.fabrizio@xxxxxxxxx wrote:
There are a couple options to do such a thing:

1 - You could use apaches mod_rewrite module to redirect requests to
http://<server_name>/%1 to /index.php?name=%1 - look up mod_rewrite
for more resources on that.

2 - You could use javascript to dynamically change the end of the url
to something with #Appollo at the end... you might want to check the
dojo library as it has this kind of functionality built in for its ajax
library

Good luck-
Mark

Alex wrote:
This is something that is pretty random.

I want to make links on a web site that don't really exist... and then
allow a custom script to go to a certain page depending on the
structure of the URL in the address bar of the user's browser.

For example, I might have a user on a web site, with a user name called
"Apollo".

I want to create a link to that user's profile (like
http://www.mywebsite.com/Apollo ) without actually creating the Apollo
directory...

I know that I could do something like
http://www.mywebsite.com?user=Apollo

but I want to have something more advanced and easier to write on a
paper advertisement, like the above URL.

Is this something I would have to modify the custom error pages with,
since /Apollo wouldn't exist?

The only way I can think of doing it is programatically creating those
directories when needed... and making an index.php file inside each
directory.

I know this is a random question but I thought I'd throw it out there
and see if anyone can help.
Thanks...

.



Relevant Pages

  • Re: California: Board OKs Darwin challenge - Alex BranningResponds
    ... Having page "How the laws of chemistry disprove evolution" ... God had him in mind from eternity past. ... The very nasty theology that this produces is something Alex doesn't think ... of the web site was still available in Google's cache? ...
    (talk.origins)
  • Re: California: Board OKs Darwin challenge - Alex BranningResponds
    ... Having page "How the laws of chemistry disprove evolution" ... God had him in mind from eternity past. ... The very nasty theology that this produces is something Alex doesn't think ... of the web site was still available in Google's cache? ...
    (talk.origins)
  • Re: Ending a linked chart or graphic from excel
    ... ALEX wrote: ... > have heard that graphics take up less memory then charts. ... favourites page of my web site. ... Word MVP web site www.mvps.org/word ...
    (microsoft.public.word.drawing.graphics)
  • Re: Copy a protected document
    ... Word MVP web site http://word.mvps.org ... will not allow copying. ... "Alex" wrote: ...
    (microsoft.public.word.docmanagement)