GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   simple htaccess question (https://gfy.com/showthread.php?t=145704)

mrthumbs 06-21-2003 08:28 PM

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?

jact 06-21-2003 08:29 PM

It isn't simple at all, but it's do-able for sure.

Juicy D. Links 06-21-2003 08:32 PM

i know i know :winkwink:

jact 06-21-2003 08:34 PM

Quote:

Originally posted by juicylinks
i know i know :winkwink:
me too :(

GFED 06-21-2003 08:38 PM

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

jact 06-21-2003 08:40 PM

If you want to do it at the PHP level, check this out..

http://zend.com/zend/trick/tricks-apr-2003-urls.php

mrthumbs 06-21-2003 09:02 PM

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 :thumbsup


All times are GMT -7. The time now is 02:36 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123