in reply to Re^2: Member url's
in thread Member url's

If you're on apache, you can add the following to the top-level .htaccess file:
ErrorDocument 404 /404.cgi
That will internally redirect any non-found requests to /404.cgi. 404.cgi can then figure out what the original request was by examining $ENV{REQUEST_URI} and show the appropriate information (i.e a valid user page, or a 404 not found page)

In my experience, this works on lots of shared hosting solutions even if mod_rewrite isn't available.

Replies are listed 'Best First'.
Re^4: Member url's
by Melly (Chaplain) on Dec 11, 2006 at 22:35 UTC

    Clever - me like.

    map{$a=1-$_/10;map{$d=$a;$e=$b=$_/20-2;map{($d,$e)=(2*$d*$e+$a,$e**2 -$d**2+$b);$c=$d**2+$e**2>4?$d=8:_}1..50;print$c}0..59;print$/}0..20
    Tom Melly, pm@tomandlu.co.uk