Re: Random Design Question



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: Fun With AT&T
    ... I am trying to order new telephone service via your web site. ... If this response does not address your concern, ... Your AT&T Customer Service Representative ... Make sure to close all Internet Explorer windows ...
    (misc.consumers)
  • Re: A message to Self-Appointed-NewsGroup-Netiquette-Enforcers... PLEASE LEAVE US AL
    ... > First, of all, in my response to this sub thread, I've trimmed the ... > specifically quote to defend yourself. ... my sig has to do with quoting favourite things my pet quaker and grey ... > saying clearly "Hello?") and the web site URL is to do with adults playing ...
    (comp.databases.ms-access)
  • Re: new, and very, very ugly
    ... Hey, just received this from National, in response to my comment to ... Unspeakably hideous and repulsive web site. ... You go key account, eventually that leads to rock-bottom such as automotive, then you get squeezed along the lines of "Our researchers have determined that you are making 8% profit margin on these parts. ...
    (sci.electronics.design)
  • Re: Mark Clayton.....are you ignoring me???
    ... called and e-mailed with no response and or around that same time he ... Purchased through pinballpal.com web site the "Only 1 Left" Gottlieb ... You may return any item ordered through this web site for a refund ... care of me as a customer and how I should proceed. ...
    (rec.games.pinball)
  • Re: After upgrading to SPS, cant access a WSS site
    ... Is companyweb also the machine name or did you configure a DNS entry ... Is the companyweb virtual server running in the default web site? ... response, but I'd rather air on the side of safety then give you the ...
    (microsoft.public.sharepoint.portalserver)