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-21-2003, 08:28 PM   #1
mrthumbs
salad tossing sig guy
 
mrthumbs's Avatar
 
Join Date: Apr 2002
Location: mrthumbs*gmail.com
Posts: 11,702
simple htaccess question

i want www.domain.com/test
translated to www.domain.com/?bla=test

i want www.domain.com/yeah
translated to www.domain.com/?bla=yeah

i want www.domain.com/whatever
translated to www.domain.com/?bla=whatever

etc.. except for index.php ...

Any ideas?
mrthumbs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-21-2003, 08:29 PM   #2
jact
Confirmed User
 
Join Date: Sep 2002
Location: Oakville, Canada
Posts: 9,134
It isn't simple at all, but it's do-able for sure.
__________________
Free agent
jact is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-21-2003, 08:32 PM   #3
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
i know i know
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-21-2003, 08:34 PM   #4
jact
Confirmed User
 
Join Date: Sep 2002
Location: Oakville, Canada
Posts: 9,134
Quote:
Originally posted by juicylinks
i know i know
me too
__________________
Free agent
jact is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-21-2003, 08:38 PM   #5
GFED
Confirmed User
 
GFED's Avatar
 
Industry Role:
Join Date: May 2002
Posts: 8,120
I think you need an index.cgi file... something like this... http://www.calpoint.com/content/html...t_listing.html

I saw one that used variables and did exactly what your asking for, but I can't find it right now... if you know any scripting you should be able to modify it yourself...
GFED is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-21-2003, 08:40 PM   #6
jact
Confirmed User
 
Join Date: Sep 2002
Location: Oakville, Canada
Posts: 9,134
If you want to do it at the PHP level, check this out..

http://zend.com/zend/trick/tricks-apr-2003-urls.php
__________________
Free agent
jact is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-21-2003, 09:02 PM   #7
mrthumbs
salad tossing sig guy
 
mrthumbs's Avatar
 
Join Date: Apr 2002
Location: mrthumbs*gmail.com
Posts: 11,702
Quote:
Originally posted by jact
If you want to do it at the PHP level, check this out..

http://zend.com/zend/trick/tricks-apr-2003-urls.php
yeah.. i think this will do..

since all pages on the domain are generated from the index.php
i was planning on giving individual users a profile
like www.domain.com/johnny..

But ill just make it www.domain.com/profiles/johnny
using the rewrite trick described in your file..

Thanks
mrthumbs 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.