Welcome to WebmasterWorld, galench.
The script being run is "main.cgi"
I think he's hoping someone knows what script that is and will tell him where to get it. Maybe not.
So, how I have understood, not probably almost to define this script?!
Then there can be someone will prompt, what are CGI scripts of such type which are intended for redirecting or for some links databases redirect management!?
Sorry if some questions are stupid!
difficult to understand? certainly
are you asking how to write a redirect script?
the simplest redirect script would look like this:
|print "302 Moved\nLocation: http://example.com\n\n"; |
replace example.com with the url from the input parameters.
the first line printed is the http status code for a temporary redirect and the second line is a http location header.
the final two newlines are important.
First, i think this script must be installed in host server! Isn`t it?
Also, somebody can advise some good redirect scripts?!
This script - main.cgi in this link [example93479283749.com...]
is not only for redirection!
He also change HTTP_REFERER to example93479283749.com - i mean to based site and not referer site (for example from google)!
Well, it`s good to find some script like this, but i even can`t understand what keywords googling! :(
Also, if you try copy link url from my first message in this post you will se some redirect script from searchengineworld.com:
it's called a 'redirect script' and it is for tracking redirects
the referer is changed because once you go to the redirect script it is the referring page, not the original page where you clicked
OK! Wher to get this script or how it`s called usually!?
that is the only name I know for it
or under the circumstances, maybe [google.com...]
your simplest redirect.cgi for the sample (WebmasterWorld) url:
use CGI qw(:standard);
I try some sites with perl redirection what you specify!
Some body can explaine to me how HTTP_REFERER is working?
Let`s examine some. For example:
1. I go googling and has found this post!
2. After this i visited this page and click on link with redirection in first my message:
3. It is redirecting me to example93479283749.com.
Now question! What HTTP_REFERER will have last site example93479283749.com? IT`s will be google or searchengineworld.com?
it depends on your browser (the user_agent) but it would probably include www.searchengineworld.com
nice phranque ;)
in the example above you have this
google > WebmasterWorld > searchengineworld > example93479283749.com
the basics of referers would state that the referer for any page is the page before it