View Single Post
Old 04-27-2011, 11:46 AM  
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,057
Quote:
Originally Posted by the indigo View Post
Thanks Sarettah! Tried it though but it did not work;

<%
Response.Redirect "http://www.google.com"
%>

in index.asp

Not Found
The requested document was not found on this server.

Web Server at xxx.com


Plus, I have another one that does 2 redirects... via two .php files.

Link located on www.flowers.com

Script redirect to $site1, then $site2

Referral shows the traffic comes from $site1 (first .php file)

Hmm, well, the "Not Found" would be a 404 error meaning that the server could not find the index.asp page I think, not that the redirect didn't work.

So, first check and make sure you got the index.asp in the right place and then check to see that asp is actually running.

What server are you running under windows, I know on server 2003, ASP had to be enabled, on server 2008 and Win7 it needs to be installed I think. The last version that it was enabled automatically (that I am aware of) was server 2000.


For index.asp try a simple hello world first to see if it finds the page and asp is running.

<%

Response.Write "Hello World"

%>


.

.




.
__________________
All cookies cleared!

Last edited by sarettah; 04-27-2011 at 11:49 AM..
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote