Take the "HTTP://" out of the if statements then. Dan
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Bala Sent: 02 June 2005 00:23 To: [email protected] Subject: Re: [AspClassicAnyQuestionIsOk] Problem in URL Redirection Hi Mike Thanks, But Request.ServerVariables("HTTP_HOST") return only host name without http. so first part of the code work fine. but else if part does not work. it means if user type http://www.seovalley.com/index.htm" HTTP_HOST return only www.seovalley.com Thanks once again, if u have other solution for it plz reply me. Thanks Bala ----- Original Message ----- From: Mike Belcher To: [email protected] Sent: Tuesday, May 31, 2005 2:25 PM Subject: RE: [AspClassicAnyQuestionIsOk] Problem in URL Redirection If Request.ServerVariables("HTTP_HOST") = "http://seovalley.com " Then strSitename = "http://www.seovalley.com" Response.Redirect strSitename ElseIf Request.ServerVariables("HTTP_HOST") = " http://www.seovalley.com/index.htm" Then strSitename = "http://www.seovalley.com" Response.Redirect strSitename End if -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Bala Sent: Tuesday, May 31, 2005 4:36 PM To: [email protected] Subject: [AspClassicAnyQuestionIsOk] Problem in URL Redirection Hi All Guy I have a problem in url redirection. Hope u will help me to resolve it. I want if visitors type my site url like this, http://seovalley.com OR http://www.seovalley.com/index.htm Then it should be redirect to the page: http://www.seovalley.com I have tried with traditional redirection method, but not got success. because redirection is to be done on same page. Please reply me if anybody have the solution, Regards Bala ----- Original Message ----- From: Erwin Rommel Felix 2000A To: [email protected] Sent: Tuesday, March 22, 2005 1:36 AM Subject: [AspClassicAnyQuestionIsOk] XML invalid Characters I'm receiving this error "-1072896760 reason : An invalid character was found in text content." but I already handled it. Can somebody send me a list or link of invalid characters in XML so I can handle each and every invalid character that I still have not handled. Thanks. Erwin Rommel Y. Felix Tel. 8410111 loc. 11430 Mobile 09185980706 "Never outshine the Master Chicker" __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ Yahoo! Groups Sponsor ADVERTISEMENT ------------------------------------------------------------------------ ---- -- Yahoo! Groups Links a.. To visit your group on the web, go to: http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/ b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. [Non-text portions of this message have been removed] Yahoo! Groups Links ------------------------------------------------------------------------ ------ Yahoo! Groups Links a.. To visit your group on the web, go to: http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/ b.. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. [Non-text portions of this message have been removed] ________________________________ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED] subscribe> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . [Non-text portions of this message have been removed] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
