User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP section within the Web Development category of DaniWeb, a massive community of 401,955 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,196 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP advertiser: Lunarpages ASP Web Hosting
Views: 1355 | Replies: 3
Reply
Join Date: Mar 2004
Posts: 47
Reputation: I, Brian is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 1
I, Brian's Avatar
I, Brian I, Brian is offline Offline
Light Poster

301 redirect URLs in asp?

  #1  
Oct 18th, 2006
I have a client site written in asp, and I need to 301 redirect some referer URLs to the homepage URL.

I know how to do this on a linux server, but am somewhat lost on Windows.

Any suggestions as to how to do it much appreciated.
Last edited by I, Brian : Oct 18th, 2006 at 9:56 am.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2006
Location: India
Posts: 1,289
Reputation: vishesh is on a distinguished road 
Rep Power: 4
Solved Threads: 32
vishesh's Avatar
vishesh vishesh is offline Offline
Nearly a Posting Virtuoso

Re: 301 redirect URLs in asp?

  #2  
Oct 18th, 2006
how you did in linux.
Reply With Quote  
Join Date: Mar 2004
Posts: 47
Reputation: I, Brian is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 1
I, Brian's Avatar
I, Brian I, Brian is offline Offline
Light Poster

Re: 301 redirect URLs in asp?

  #3  
Oct 18th, 2006
Do you mean simply upload a .htaccess file to the site root, with something like:

Redirect permanent /referrer.php?id=1000 http://www.domain.com

That works on a windows platform??
Reply With Quote  
Join Date: Oct 2006
Location: India
Posts: 1,289
Reputation: vishesh is on a distinguished road 
Rep Power: 4
Solved Threads: 32
vishesh's Avatar
vishesh vishesh is offline Offline
Nearly a Posting Virtuoso

Re: 301 redirect URLs in asp?

  #4  
Oct 18th, 2006
yeah! .htaccess works in windows too.
Last edited by vishesh : Oct 18th, 2006 at 10:36 am.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ASP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ASP Forum

All times are GMT -4. The time now is 5:49 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC