Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 06-23-2004, 07:19 AM   #1
PornAddict
Confirmed User
 
Join Date: Feb 2002
Location: New Jersey
Posts: 1,401
htaccess... redirecting based on username?

I got the piece of code from here before, but can't find it due to not being able to search. Is there anyone out there that can help me with it?

Basically, I need to redirect a certain username when they try and enter my member's area. It was similar to the mod rewrite that would redirect based on http referrer.

Any help would be greatly appreciated...

- PornAddict
PornAddict is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-23-2004, 07:22 AM   #2
jimmyf
OU812
 
Join Date: Feb 2001
Location: California
Posts: 12,651
can't help with user name redirect


but I also had code for htaccess that redirects by country
like

.de
or
.net
or
fr
__________________
Epic CashEpic Cash works for me
Solar Cash Paysite Plugin
Gallery of the day freesites,POTD,Gallery generator with free hosting
jimmyf is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-23-2004, 07:53 AM   #3
Project-Shadow
Confirmed User
 
Industry Role:
Join Date: Feb 2003
Posts: 7,340
Erm, you mean like abused usernames?
I'd try and get in touch with people who own password protection programmes.
Project-Shadow is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-23-2004, 09:13 AM   #4
WWC-Hagan
Confirmed User
 
Join Date: May 2004
Location: WorldWideContent.com - Los Angeles, CA
Posts: 78
in your .htaccess file, you can use the:

%
PHP Code:

REMOTE_USER} variable, which is the member's username.

so in you would use mod_rewrite, and something like:


RewriteCond %haha123;REMOTE_USER} ^user.* [NC]
RewriteRule whatever...goes...here
__________________
SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, you may use a 624x80 instead of a 120x60. Let me repeat... A 120 x 60 button and no more that 3 lines of DEFAULT SIZE AND COLOR text.

Last edited by haganxy; 06-23-2004 at 09:17 AM..
WWC-Hagan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-23-2004, 09:46 AM   #5
PornAddict
Confirmed User
 
Join Date: Feb 2002
Location: New Jersey
Posts: 1,401
Thank you Haganxy... that is exactly the code needed. I appreciate the help greatly!

- PornAddict
PornAddict is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.