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)
-   -   htaccess gurus...check this out!!! (https://gfy.com/showthread.php?t=878448)

sortie 12-29-2008 05:07 PM

htaccess gurus...check this out!!!
 
Lets say you have an image at

domain.com/images/hello.jpg

Now you put a htaccess redirect in the domain.com/images folder pointing to :

domain.com/deleted/sorry.jpg


To me this means that when a surfer tries to load hello.jpg they end up
getting "sorry.jpg".

No problem right?


Well what do you think of this quote from a server tech :

Quote:

The code you are using is likely not going to work right, since you are redirecting them to another image on the same domain, that's going to create an endless loop as it tries to redirect.

So the poll question is :

What would you do upon reading that information.

Angry Jew Cat - Banned for Life 12-29-2008 06:02 PM

Why is "test it and see for myself" not an answer? Would take all of what 2 minutes?

Altheon 12-29-2008 06:14 PM

Looks like it would redirect and if the file sorry.jpg isn't in the deleted directory then you'd get a 404. I don't see a loop problem. Of course the 1 one way to take down your site is to mess up the .htaccess. :)

sortie 12-29-2008 06:24 PM

Quote:

Originally Posted by Angry Jew Cat (Post 15259369)
Why is "test it and see for myself" not an answer? Would take all of what 2 minutes?

I already know the answer, it's a poll to see what you know and what you would have
done upon hearing that quote above.


thanks for playng.

sortie 12-29-2008 07:15 PM

Hint : if you choose answer number 1 in the poll then you are a dumbass.

woj 12-29-2008 08:59 PM

It's possible that the tech is actually right, can't tell for sure without seeing exactly what code you are using... but why are you asking your host for opinion on this anyway?

sortie 12-29-2008 09:18 PM

Quote:

Originally Posted by woj (Post 15259992)
It's possible that the tech is actually right, can't tell for sure without seeing exactly what code you are using... but why are you asking your host for opinion on this anyway?

I didn't ask them that, the email just came from another question.

Dude, don't think too hard on this. You need to redirect on the same domain just
to have a 404 page. That's not a loop. Everybody would be in a fucking loop if
that were true.

If it were a loop then my server would be in a billion loops by now since that code
is running this very second for the last 5 years on the server!

It's only a loop if you redirect to the same exact file;
or redirect to the same directory while redirecting every request to that directory.

I can't even believe I'm explaining this.

You redirect on your own domain all the time!!!

baddog 12-29-2008 09:23 PM

Never mind . . . just read again.

sortie 12-29-2008 09:33 PM

Quote:

Originally Posted by baddog (Post 15260122)
Never mind . . . just read again.

Yeah, you'd never tell a client that crap I'm sure.


BTW: The person who said that is the same one who said my tube script was a problem.


I'm getting a refund though.

fris 12-29-2008 09:41 PM

most host techs are pretty dumb

sortie 12-29-2008 09:55 PM

Quote:

Originally Posted by fris (Post 15260161)
most host techs are pretty dumb

No, I never heard anything this fucking stupid from any tech except this one.

BigRod 12-29-2008 11:46 PM

Without redirects my SEO world would fall apart.

spacedog 12-30-2008 12:14 AM

server tech is an idiot.

DirtyDanza 12-30-2008 12:17 AM

and to think... he has his hand hovering over your little red button right now....

let me recommend a great hosting company for you...

check my sig

sortie 12-30-2008 07:44 AM

Quote:

Originally Posted by spacedog (Post 15260507)
server tech is an idiot.

A powerful idiot though.

He convinced me to give up on selling my tube script.
I mean, people wanted to host with them because of the low price.
That was the only reason I got an account there to begin with.
I decided that trying to undo the bullshit he'd tell clients was costing me
more support hours than the money was worth.

It was like Bush and Colin Powell and Powell just gave the fuck up!

sortie 12-30-2008 07:53 AM

Quote:

Originally Posted by DirtyDanza (Post 15260512)
and to think... he has his hand hovering over your little red button right now....

let me recommend a great hosting company for you...

check my sig

Thanks.

I still have my original host though.

I pay 3 times more for less than 1/3 the bandwidth and only 1/12 the storage and
it's worth every damn cent to pay it.

Super cheap hosting is like begging to fail.

But hey man, so many "bros" were bragging about it so I had to try it.

Ya never know when someone might rise to actually deliver the service for these rediculously low prices.
So far, I have yet to see that happen though.

If it's too good to be true......

tranza 12-30-2008 08:35 AM

Voted, but it's secret!

sortie 12-30-2008 08:50 AM

Quote:

Originally Posted by tranza (Post 15261518)
Voted, but it's secret!

:1orglaugh

Superterrorizer 12-30-2008 09:11 AM

I presume by "htaccess guru" you mean "mod_rewrite guru", but I can't tell becuase you have neither posted anything that would go in an .htaccess file, nor have you posted anything related to mod_rewrite.

And what exactly do you mean by "htaccess redirect"? I can think of a number of ways to redirect something, but we can't make the same interpretation the tech did without SEEING what he saw and it is pretty trivial to create an endless loop with mod_rewrite. So let's see the code, and we'll judge for ourselves.

I do realize this thread is a hosting troll, but if you are going to do a hosting troll at least do it right. Show us the code and let all the "htaccess gurus" meditate on it. All this thread has done so far is make you look ignorant.

sortie 12-30-2008 10:51 AM

Quote:

Originally Posted by Superterrorizer (Post 15261630)
I presume by "htaccess guru" you mean "mod_rewrite guru", but I can't tell becuase you have neither posted anything that would go in an .htaccess file, nor have you posted anything related to mod_rewrite.

And what exactly do you mean by "htaccess redirect"? I can think of a number of ways to redirect something, but we can't make the same interpretation the tech did without SEEING what he saw and it is pretty trivial to create an endless loop with mod_rewrite. So let's see the code, and we'll judge for ourselves.

I do realize this thread is a hosting troll, but if you are going to do a hosting troll at least do it right. Show us the code and let all the "htaccess gurus" meditate on it. All this thread has done so far is make you look ignorant.



In the domain.com/image folder in htaccess :
Quote:


AddHandler imagestuff .jpg
Action imagestuff /cgi-bin/morph.cgi

It's a redirect to a script that reads a file from another direcotry and prints that file as an image. The script does not redirect, it prints then exit();

But that is somewhat irrelevent to what the tech said.

Evaluating what the tech said alone is enough to throw your hands up without
ever seeing any code.

Take a look at the poll.

CurrentlySober 12-30-2008 12:34 PM

I would have offered the server tech oral sex, swallowed him deep into my throat, and then sucked hard until he lost his CREAMY MESS down my throat....

But you didnt put that in the poll :(

sortie 12-30-2008 12:39 PM

Quote:

Originally Posted by ThatGuyInTheCorner (Post 15262371)
I would have offered the server tech oral sex, swallowed him deep into my throat, and then sucked hard until he lost his CREAMY MESS down my throat....

But you didnt put that in the poll :(

There was no need to include my actual response in the poll.

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

Gee, I must really want some laughs to have posted that. :Oh crap

CurrentlySober 12-30-2008 12:58 PM

Sortie... U got ICQ?

































(I want to offer you oral sex...)

J/K

CurrentlySober 12-30-2008 01:04 PM

Sortie... To clarify....

The joking part was the oral sex...

The genuine part was the ICQ?

sortie 12-30-2008 02:52 PM

Quote:

Originally Posted by ThatGuyInTheCorner (Post 15262498)
Sortie... To clarify....

The joking part was the oral sex...

The genuine part was the ICQ?


ICQ : econfirmpro

I'm still looking for the actual number. :1orglaugh

seeandsee 12-30-2008 02:55 PM

who got beer? :)

sortie 12-31-2008 02:12 PM

Quote:

Originally Posted by seeandsee (Post 15262965)
who got beer? :)

Only correct answers in the poll can have beer.

Did you vote yet?

CurrentlySober 12-31-2008 04:04 PM

Hey Sortie. Sorry about the ICQ thing... I think you tried to hit me up today, but having forgotten about making the post, I just rejected them...

Not to worry though... I just wanted to ask you a question about something, but that question has already been answered by you on this board...

So why am I typing this? Just to say that if it was you, sorry for rejecting the ICQ, cause Im not an ignorant cunt... But what I was going to ask yah 'off board' has already been answered 'on board'

Happy new year !

fris 12-31-2008 07:12 PM

lol at .cgi

sortie 12-31-2008 07:52 PM

Quote:

Originally Posted by fris (Post 15267945)
lol at .cgi

It's actually much funnier than you believe.

:1orglaugh

sortie 12-31-2008 07:54 PM

Quote:

Originally Posted by ThatGuyInTheCorner (Post 15267308)
Hey Sortie. Sorry about the ICQ thing... I think you tried to hit me up today, but having forgotten about making the post, I just rejected them...

Not to worry though... I just wanted to ask you a question about something, but that question has already been answered by you on this board...

So why am I typing this? Just to say that if it was you, sorry for rejecting the ICQ, cause Im not an ignorant cunt... But what I was going to ask yah 'off board' has already been answered 'on board'

Happy new year !

I didn't hit you up because I didn't know your ICQ.

No problem.

Sorry about the way I answered your question. :1orglaugh


All times are GMT -7. The time now is 12:24 AM.

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