var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Redirect user based on username with .htaccess
I have tried to find a script that can redirect a user to his own page.
Have tested this script. This script should be plased in a .shtml file.
But i can't make this work. Both users redirects to user1.
<!--#if expr="$REMOTE_USER = 'user1'" -->
<META HTTP-EQUIV="Refresh" CONTENT="1; URL=user1/page.shtml">
<!--#elif expr="$REMOTE_USER = 'user2'" -->
<META HTTP-EQUIV="Refresh" CONTENT="1; URL=user2/page.shtml">
<META HTTP-EQUIV="Refresh" CONTENT="1; URL=denied.shtml">
See here for more info.
someone please !!!!
Does your server support the #if, #elif, etc directives ?
I read somewhere that these are extended SSI directives.
So your server may not support these.
Anyway, worst case, I guess you could use the #exec directive to run a script that will print the appropriate meta refresh tag, right ?
Or am I missing something ...
PawBill: Automation and Billing System for web hosts