![]() |
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 |
Google it
|
It's understandable that regular expression would trip you up after inventing some machine code thingy in a 6 inch wide jpg.
|
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 |
Redirect 301 .* http://www.clickmojo.com/
|
Quote:
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 |
Fail
8char |
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! |
Quote:
There's 2 things wrong with your username :321GFY |
lol we're laughing because anyone that knows regex knows what the $ is for
|
Quote:
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. |
Code:
RewriteEngine On |
wait i got this
Code:
%$>/(&/(F45&356653$&77)(/&)(%&/$%§%&/()%($&§%(/)FZHJT/(&%/(//3:56!"§!"§%$§%6357/6§ |
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. |
Anyone else see a server hack in his future?
|
Quote:
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! |
Quote:
|
Quote:
this entire thread is comedy. |
you fucking intellectual cripple
|
|
Quote:
$1 = (.*) you can substitute anything between the parentheses with $1 (variable). |
What in the hell is going on in this thread?
|
Quote:
This thread rocks my fucking world. |
just a sec. stupid question but i have to ask
WHO THE FUCK MADE HTACCESS?!? |
Quote:
|
Quote:
|
Quote:
Quote:
|
I have a book with more than 100 pages on the apache module mod_rewrite.
Guess what ? |
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...
|
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! |
ya real genius for sure.
|
|
i feel sorry for whoever lives in that building, looks ghetto
|
I'd help but someone once said... "Despite the tons of examples and docs, mod_rewrite is voodoo. Damned cool voodoo, but still voodoo."
|
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
|
Quote:
Good enough for Buddha to have a lie down! :winkwink: http://photosofclouds.com/GHOSTS_Buddha_on_roof.png |
|
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