Forum Moderators: coopster & phranque

Message Too Old, No Replies

I inherited a little problem...

I would love some help!

         

kanetrain

7:49 pm on Dec 29, 2003 (gmt 0)

10+ Year Member



I have a quick question. I hope somebody here can help. I inherited a site and have been working on it for quite some time. Unfortunately, when the site was built, the front page was located at

ht*p://thesitehere/cgi-bin/main/

Then a lot of the content was dynamic and a lot of the content would show up like this

ht*p://thesitehere/cgi-bin/main/?34223454asdfdsafsdafs

We have since changed our front page and it's located at w*w.mysitehere.com

Unfortunately, some of the search engines (inktomi mainly) still think that ht*p://thesitehere/cgi-bin/main/ is my front page. I'd like to put in a redirect so that if someone tries to go to ht*p://thesitehere/cgi-bin/main/ they will just go to my front page. I've tried .htaccess and this is what I added:

redirect permanent /cgi-bin/main/ h*tp://www.thesitehere.com

It doesn't work. I still get sent to that same cgi page.
Are there any cgi gurus out here who could help me? I need to redirect all traffic that goes to ht*p://thesitehere/cgi-bin/main/ back to www.thesitehere.com.

jatar_k

7:53 pm on Dec 29, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



maybe a look here will help
[httpd.apache.org...]

kanetrain

8:31 pm on Dec 30, 2003 (gmt 0)

10+ Year Member



I looked at that resource and still could not figure it out. I know almost nothing about CGI. IS there anyone here who would know how to do this and would be willing to help? If so, please PM me. I would be more than happy to hire you for help, as I frankly don't know that I can do this myself.
:(
Thanks so much for any help you can provide.