This will work wtih a dhandler in your top level directory.
Just have to be careful you don't end up with an id such as 'members'
or 'contact'. 

OgdenNefix wrote:

>Hello all,
>
>I understand dhandlers and autohandlers to process URLs as such:
>
>http://localhost/events/300
>
>dhandler:
>my $event = ( split /\//, $r->uri )[-1];
>$m->comp( "show_event.mas", event => $event );
>
>So that works fine and as expected.
>
>However, how about:
>
>http://localhost/tom_smith
>
>Where it will grab tom_smith and grab the database ID for that username
>and then take it to their profile.
>
>Is this possible as a top level directory, even when there are other
>directories such as /contact/, /help/, /members/, etc?
>
>Thanks
>
>Ogden
>  
>


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to