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-24-2011, 04:49 PM   #1
cam_girls
So Fucking Banned
 
Industry Role:
Join Date: Apr 2009
Posts: 2,968
help with HTACCESS redirect

I want to do something like this

RedirectMatch 301 (.*)\.html$ http://www.example.com$1.php



This is the URL people will click

http://photosofclouds.com/clouds/GHOSTS_Buddha.png

GOES TO

http://photosofclouds.com/index.php?...enwidth= 1024

http:/photosofclouds.com/index.php?showimage=GHOSTS_Buddha.png&screenwidth= 1024

There's no real directory /clouds

Last edited by cam_girls; 06-24-2011 at 04:50 PM..
cam_girls is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2011, 04:56 PM   #2
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
Google it
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-24-2011, 05:14 PM   #3
TheDoc
Too lazy to set a custom title
 
TheDoc's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: Currently Incognito
Posts: 13,827
It's understandable that regular expression would trip you up after inventing some machine code thingy in a 6 inch wide jpg.
__________________
~TheDoc - ICQ7765825
It's all disambiguation
TheDoc is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2011, 05:32 PM   #4
cam_girls
So Fucking Banned
 
Industry Role:
Join Date: Apr 2009
Posts: 2,968
I read 10 sites from Google, and got this far


RedirectMatch 301 (.*)\.html$ http://www.example.com$1.php


not sure what the $ is after html and the 1 is for.


I can go to alt.www.webmaster but they take a day or two not many gurus around
cam_girls is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2011, 05:37 PM   #5
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
Redirect 301 .* http://www.clickmojo.com/
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2011, 05:38 PM   #6
cam_girls
So Fucking Banned
 
Industry Role:
Join Date: Apr 2009
Posts: 2,968
Quote:
Originally Posted by TheDoc View Post
It's understandable that regular expression would trip you up after inventing some machine code thingy in a 6 inch wide jpg.

You mean my 6th model of computation?





I already know 1000X the average human being, I design regular expression parsers in my sleep, doesn't mean I want to RESEARCH and be a great hacker at everything
cam_girls is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2011, 05:45 PM   #7
AdultKing
Raise Your Weapon
 
AdultKing's Avatar
 
Industry Role:
Join Date: Jun 2003
Location: Outback Australia
Posts: 15,602
Fail

8char
AdultKing is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2011, 05:52 PM   #8
cam_girls
So Fucking Banned
 
Industry Role:
Join Date: Apr 2009
Posts: 2,968
if you can't fucking do it don't post

CAPICHE?

Someone with a brain reply with the line of code

the rest of you can fuck off!
cam_girls is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2011, 05:55 PM   #9
cam_girls
So Fucking Banned
 
Industry Role:
Join Date: Apr 2009
Posts: 2,968
Quote:
Originally Posted by AdultKing View Post
Fail

8char

There's 2 things wrong with your username
cam_girls is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2011, 06:01 PM   #10
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
lol we're laughing because anyone that knows regex knows what the $ is for
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2011, 06:22 PM   #11
TheDoc
Too lazy to set a custom title
 
TheDoc's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: Currently Incognito
Posts: 13,827
Quote:
Originally Posted by cam_girls View Post
You mean my 6th model of computation?





I already know 1000X the average human being, I design regular expression parsers in my sleep, doesn't mean I want to RESEARCH and be a great hacker at everything
Yes, that silly graphic that attempts to represent something far more advanced then a 6 inch jpeg could ever display.

Sure, the average human is dirt poor and has like a 3rd grade education, if they're lucky. So that isn't really much of a claim... maybe if you were a 1000x smarter than the guys at MIT, then that would be a claim worthy of something.

You design regular expression parsers? Hahahaha... and you don't know what a $ and numbers are, but you design them in your sleep?

Oh man... I'm laughing, glad nobody is around.
__________________
~TheDoc - ICQ7765825
It's all disambiguation

Last edited by TheDoc; 06-24-2011 at 06:24 PM..
TheDoc is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2011, 06:22 PM   #12
V_RocKs
Damn Right I Kiss Ass!
 
Industry Role:
Join Date: Dec 2003
Location: Cowtown, USA
Posts: 32,311
Code:
RewriteEngine On
RewriteRule ^clouds/(.+)$ index.php?showimage=$1&screenwidth=1024 [L]
V_RocKs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2011, 06:34 PM   #13
B.Barnato
So Fucking Banned
 
Industry Role:
Join Date: Nov 2010
Posts: 3,618
wait i got this


Code:
%$>/(&/(F45&356653$&77)(/&)(%&/$%§%&/()%($&§%(/)FZHJT/(&%/(//3:56!"§!"§%$§%6357/6§
B.Barnato is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2011, 06:35 PM   #14
signupdamnit
Confirmed User
 
signupdamnit's Avatar
 
Industry Role:
Join Date: Aug 2007
Posts: 6,697
http://httpd.apache.org/docs/2.0/misc/rewriteguide.html
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html

^ To actually understand it.
signupdamnit is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2011, 06:50 PM   #15
Tempest
Too lazy to set a custom title
 
Industry Role:
Join Date: May 2004
Location: West Coast, Canada.
Posts: 10,217
Anyone else see a server hack in his future?
Tempest is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2011, 07:01 PM   #16
cam_girls
So Fucking Banned
 
Industry Role:
Join Date: Apr 2009
Posts: 2,968
Quote:
Originally Posted by V_RocKs View Post
Code:
RewriteEngine On
RewriteRule ^clouds/(.+)$ index.php?showimage=$1&screenwidth=1024 [L]

That went to the right page

http://photosofclouds.com/clouds/GHOSTS_Buddha.png

but the image didn't display, so I'll have to hand code a shorter URL

OK thanks everyone!













UNCHOPPED those 2!
cam_girls is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2011, 07:22 PM   #17
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 54,658
Quote:
Originally Posted by V_RocKs View Post
Code:
RewriteEngine On
RewriteRule ^clouds/(.+)$ index.php?showimage=$1&screenwidth=1024 [L]
please dont help him
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Tube Themes
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2011, 07:27 PM   #18
dynastoned
mmm yeah!
 
Industry Role:
Join Date: Feb 2005
Location: roseville, ca
Posts: 5,061
Quote:
Originally Posted by cam_girls View Post
You mean my 6th model of computation?





I already know 1000X the average human being, I design regular expression parsers in my sleep, doesn't mean I want to RESEARCH and be a great hacker at everything


this entire thread is comedy.
dynastoned is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2011, 07:50 PM   #19
papill0n
Unregistered Abuser
 
Industry Role:
Join Date: Oct 2007
Posts: 15,547
you fucking intellectual cripple
papill0n is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2011, 08:37 PM   #20
cam_girls
So Fucking Banned
 
Industry Role:
Join Date: Apr 2009
Posts: 2,968
oh for Pete's sake.

what's with all the babies whining?

cam_girls is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-25-2011, 02:05 AM   #21
Kafka
Confirmed User
 
Kafka's Avatar
 
Join Date: Oct 2002
Location: Holland
Posts: 466
Quote:
Originally Posted by cam_girls View Post
I read 10 sites from Google, and got this far


RedirectMatch 301 (.*)\.html$ http://www.example.com$1.php


not sure what the $ is after html and the 1 is for.
$ means : ending with html , in this case any filename ending with .html
$1 = (.*) you can substitute anything between the parentheses with $1 (variable).
Kafka is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-25-2011, 02:33 AM   #22
DWB
Giggity
 
DWB's Avatar
 
Industry Role:
Join Date: Jul 2003
Location: S.E. Asia
Posts: 31,779
What in the hell is going on in this thread?
DWB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-25-2011, 02:35 AM   #23
NetHorse
Confirmed User
 
NetHorse's Avatar
 
Industry Role:
Join Date: Dec 2006
Location: Chicago
Posts: 3,526
Quote:
Originally Posted by DWB View Post
What in the hell is going on in this thread?
A simple request by the OP, flaming by everyone else for not understanding basic redirects followed by a claim of being an intellectual genius by the OP.

This thread rocks my fucking world.
__________________
┌∩┐(◣_◢)┌∩┐
ICQ # 427013273
NetHorse is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-25-2011, 08:14 AM   #24
seeandsee
Check SIG!
 
seeandsee's Avatar
 
Industry Role:
Join Date: Mar 2006
Location: Europe (Skype: gojkoas)
Posts: 50,945
just a sec. stupid question but i have to ask

WHO THE FUCK MADE HTACCESS?!?
__________________
BUY MY SIG - 50$/Year

Contact here
seeandsee is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-25-2011, 08:16 AM   #25
TheDoc
Too lazy to set a custom title
 
TheDoc's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: Currently Incognito
Posts: 13,827
Quote:
Originally Posted by seeandsee View Post
just a sec. stupid question but i have to ask

WHO THE FUCK MADE HTACCESS?!?
Apache I would assume.
__________________
~TheDoc - ICQ7765825
It's all disambiguation
TheDoc is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-25-2011, 09:18 AM   #26
seeandsee
Check SIG!
 
seeandsee's Avatar
 
Industry Role:
Join Date: Mar 2006
Location: Europe (Skype: gojkoas)
Posts: 50,945
Quote:
Originally Posted by TheDoc View Post
Apache I would assume.
there must be some complete documentation then about all stuff
__________________
BUY MY SIG - 50$/Year

Contact here
seeandsee is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-25-2011, 09:29 AM   #27
NetHorse
Confirmed User
 
NetHorse's Avatar
 
Industry Role:
Join Date: Dec 2006
Location: Chicago
Posts: 3,526
Quote:
Originally Posted by seeandsee View Post
there must be some complete documentation then about all stuff
It was posted above.

Quote:
Originally Posted by signupdamnit View Post
__________________
┌∩┐(◣_◢)┌∩┐
ICQ # 427013273
NetHorse is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-25-2011, 09:31 AM   #28
misterhhs
Confirmed User
 
Join Date: Oct 2005
Posts: 165
I have a book with more than 100 pages on the apache module mod_rewrite.
Guess what ?
misterhhs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-25-2011, 12:14 PM   #29
CurrentlySober
Too lazy to wipe my ass
 
CurrentlySober's Avatar
 
Industry Role:
Join Date: Aug 2002
Location: A Public Bathroom
Posts: 37,999
TOP TIP !!! 4 Real!!!

just make something up, that looks kinda correct, then hit up your host and complain that its their fault it doesn't work... Threaten to make a big fuss on GFY saying that their servers are misconfigered, and lo and behold, they will write whatever .htaccses you need for you...
__________________


👁️ 👍️ 💩
CurrentlySober is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-25-2011, 01:05 PM   #30
cam_girls
So Fucking Banned
 
Industry Role:
Join Date: Apr 2009
Posts: 2,968
I've posted half a dozen program codes for other people's requests in GFY

and I am a REAL Genius!


You can believe either of two people here!








GUSTY THE OGRE!
cam_girls is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-25-2011, 02:50 PM   #31
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 54,658
ya real genius for sure.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Tube Themes
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-25-2011, 03:54 PM   #32
cam_girls
So Fucking Banned
 
Industry Role:
Join Date: Apr 2009
Posts: 2,968





OK last cloud pic...

cam_girls is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-25-2011, 03:56 PM   #33
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 54,658
i feel sorry for whoever lives in that building, looks ghetto
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Tube Themes
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-25-2011, 06:22 PM   #34
PromoterX
Confirmed User
 
PromoterX's Avatar
 
Industry Role:
Join Date: Sep 2010
Posts: 949
I'd help but someone once said... "Despite the tons of examples and docs, mod_rewrite is voodoo. Damned cool voodoo, but still voodoo."
PromoterX is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-25-2011, 07:25 PM   #35
AdultKing
Raise Your Weapon
 
AdultKing's Avatar
 
Industry Role:
Join Date: Jun 2003
Location: Outback Australia
Posts: 15,602
I'm guessing the cloud site is cam_girls new money making venture being put in place for when he defaults on his pawned domain and his domain is forfeit.
AdultKing is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-25-2011, 11:51 PM   #36
cam_girls
So Fucking Banned
 
Industry Role:
Join Date: Apr 2009
Posts: 2,968
Quote:
Originally Posted by fris View Post
i feel sorry for whoever lives in that building, looks ghetto

Good enough for Buddha to have a lie down!


cam_girls is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-26-2011, 12:26 AM   #37
martinsc
Confirmed User
 
Industry Role:
Join Date: Jun 2005
Location: 127.0.0.1
Posts: 27,047
__________________
Make Money
martinsc 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.