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)
-   -   help with HTACCESS redirect (https://gfy.com/showthread.php?t=1027892)

cam_girls 06-24-2011 04:49 PM

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

Juicy D. Links 06-24-2011 04:56 PM

Google it

TheDoc 06-24-2011 05:14 PM

It's understandable that regular expression would trip you up after inventing some machine code thingy in a 6 inch wide jpg.

cam_girls 06-24-2011 05:32 PM

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

Brujah 06-24-2011 05:37 PM

Redirect 301 .* http://www.clickmojo.com/

cam_girls 06-24-2011 05:38 PM

Quote:

Originally Posted by TheDoc (Post 18238617)
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?


http://hercshome.com/pics-music/simp...uter-model.png


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

AdultKing 06-24-2011 05:45 PM

Fail

8char

cam_girls 06-24-2011 05:52 PM

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 06-24-2011 05:55 PM

Quote:

Originally Posted by AdultKing (Post 18238663)
Fail

8char


There's 2 things wrong with your username :321GFY

Brujah 06-24-2011 06:01 PM

lol we're laughing because anyone that knows regex knows what the $ is for

TheDoc 06-24-2011 06:22 PM

Quote:

Originally Posted by cam_girls (Post 18238650)
You mean my 6th model of computation?


http://hercshome.com/pics-music/simp...uter-model.png


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.

V_RocKs 06-24-2011 06:22 PM

Code:

RewriteEngine On
RewriteRule ^clouds/(.+)$ index.php?showimage=$1&screenwidth=1024 [L]


B.Barnato 06-24-2011 06:34 PM

wait i got this


Code:

%$>/(&/(F45&356653$&77)(/&)(%&/$%§%&/()%($&§%(/)FZHJT/(&%/(//3:56!"§!"§%$§%6357/6§

signupdamnit 06-24-2011 06:35 PM

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.

Tempest 06-24-2011 06:50 PM

Anyone else see a server hack in his future?

cam_girls 06-24-2011 07:01 PM

Quote:

Originally Posted by V_RocKs (Post 18238709)
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! :thumbsup


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



http://www.photosofclouds.com/PEOPLE...n%20Munroe.png



http://photosofclouds.com/PEOPLE%20m...%20kissing.png


UNCHOPPED those 2!

fris 06-24-2011 07:22 PM

Quote:

Originally Posted by V_RocKs (Post 18238709)
Code:

RewriteEngine On
RewriteRule ^clouds/(.+)$ index.php?showimage=$1&screenwidth=1024 [L]


please dont help him

dynastoned 06-24-2011 07:27 PM

Quote:

Originally Posted by cam_girls (Post 18238650)
You mean my 6th model of computation?


http://hercshome.com/pics-music/simp...uter-model.png


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

:1orglaugh:1orglaugh:1orglaugh:1orglaugh:1orglaugh

this entire thread is comedy.

papill0n 06-24-2011 07:50 PM

you fucking intellectual cripple

cam_girls 06-24-2011 08:37 PM

oh for Pete's sake.

what's with all the babies whining?

http://photosofclouds.com/SMILIES/gfy.png

Kafka 06-25-2011 02:05 AM

Quote:

Originally Posted by cam_girls (Post 18238636)
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).

DWB 06-25-2011 02:33 AM

What in the hell is going on in this thread?

NetHorse 06-25-2011 02:35 AM

Quote:

Originally Posted by DWB (Post 18239117)
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.

seeandsee 06-25-2011 08:14 AM

just a sec. stupid question but i have to ask

WHO THE FUCK MADE HTACCESS?!?

TheDoc 06-25-2011 08:16 AM

Quote:

Originally Posted by seeandsee (Post 18239491)
just a sec. stupid question but i have to ask

WHO THE FUCK MADE HTACCESS?!?

Apache I would assume.

seeandsee 06-25-2011 09:18 AM

Quote:

Originally Posted by TheDoc (Post 18239494)
Apache I would assume.

there must be some complete documentation then about all stuff

NetHorse 06-25-2011 09:29 AM

Quote:

Originally Posted by seeandsee (Post 18239581)
there must be some complete documentation then about all stuff

It was posted above.

Quote:

Originally Posted by signupdamnit (Post 18238719)


misterhhs 06-25-2011 09:31 AM

I have a book with more than 100 pages on the apache module mod_rewrite.
Guess what ?

CurrentlySober 06-25-2011 12:14 PM

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

cam_girls 06-25-2011 01:05 PM

I've posted half a dozen program codes for other people's requests in GFY

and I am a REAL Genius! :winkwink:


You can believe either of two people here!


http://photosofclouds.com/GHOSTS_James_Randi.jpg



http://photosofclouds.com/GHOSTS_Angel_Ogre.png

GUSTY THE OGRE!

fris 06-25-2011 02:50 PM

ya real genius for sure.

cam_girls 06-25-2011 03:54 PM






OK last cloud pic...

http://photosofclouds.com/GHOSTS_King_and_Queen.png

fris 06-25-2011 03:56 PM

i feel sorry for whoever lives in that building, looks ghetto

PromoterX 06-25-2011 06:22 PM

I'd help but someone once said... "Despite the tons of examples and docs, mod_rewrite is voodoo. Damned cool voodoo, but still voodoo."

AdultKing 06-25-2011 07:25 PM

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. :1orglaugh

cam_girls 06-25-2011 11:51 PM

Quote:

Originally Posted by fris (Post 18240092)
i feel sorry for whoever lives in that building, looks ghetto


Good enough for Buddha to have a lie down! :winkwink:


http://photosofclouds.com/GHOSTS_Buddha_on_roof.png

martinsc 06-26-2011 12:26 AM

http://www.threadbombing.com/data/me...bdzao1_500.gif


All times are GMT -7. The time now is 08:16 PM.

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