|
Posted by Al13n on 02/27/06 02:30
"RedGalaxy UK" <redgalaxyuk@gmail.com> wrote:
>I'd like to be able to give my members the ability to use something
>like www.domain.com/myname, which would then forward to the correct
>page. The problem I can see is that the server thinks myname is
>actually a folder and returns a 404 error.
>
>Does anyone know of a way to do this?
If you're running apache or something else that supports mod_rewrite, then
you could do it using that relatively easily, just take a little regex and
you'd need a function to fetch the proper account number associated with
the "folder" name. This is how the user URL's are handled at
protempore.org.
Run a google search for mod_rewrite -- for something like this, it should
be fairly straight forward.
A.
--
Few of my projects recent projects--
Online Regex find/repalce utility: http://rereplace.com
Command-based online image editor: http://theprawn.com/imagiine
Navigation:
[Reply to this message]
|