Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 09:20 AM
Steven Burn
Guest
 
Posts: n/a
Default Can you help?

Basically, what I'm looking for, is some sort of script that I can drop into
a folder on my server, and when someone visits that specific folder (I'm
going to remove all file's from the folder as I've moved the site), the
script detects the file is not there, and auto-redirects them to the new
location (kind of like a "clever" 404 page).

As I do not have direct access to my server's settings (such as editing 404
pages etc), I cannot do it the "normal" way.

Anyone have any ideas, suggestions, scripts, reference links?

--
Regards

Steven Burn
Ur I.T. Mate Group CEO
www.it-mate.co.uk

Disclaimer:
I know I'm probably wrong, I just like taking part :o)



  #2  
Old July 19th, 2005, 09:20 AM
Jeff Clark
Guest
 
Posts: n/a
Default Re: Can you help?

have an asp page called default.asp.

In that page put <%response.redirect http://www.mysite%>

Who cares whether script detects that the folder is empty. The folder is
empty anyway..??..??..!!?>??

wtf
You just said you will empty the folder




"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
news:Ob7jKa0nDHA.2500@TK2MSFTNGP10.phx.gbl...[color=blue]
> Basically, what I'm looking for, is some sort of script that I can drop[/color]
into[color=blue]
> a folder on my server, and when someone visits that specific folder (I'm
> going to remove all file's from the folder as I've moved the site), the
> script detects the file is not there, and auto-redirects them to the new
> location (kind of like a "clever" 404 page).
>
> As I do not have direct access to my server's settings (such as editing[/color]
404[color=blue]
> pages etc), I cannot do it the "normal" way.
>
> Anyone have any ideas, suggestions, scripts, reference links?
>
> --
> Regards
>
> Steven Burn
> Ur I.T. Mate Group CEO
> www.it-mate.co.uk
>
> Disclaimer:
> I know I'm probably wrong, I just like taking part :o)
>
>
>[/color]


  #3  
Old July 19th, 2005, 09:21 AM
Steven Burn
Guest
 
Posts: n/a
Default Re: Can you help?

Yes but, people and search engines are still trying to access the old pages

--
Regards

Steven Burn
Ur I.T. Mate Group CEO
www.it-mate.co.uk

Disclaimer:
I know I'm probably wrong, I just like taking part :o)


Jeff Clark <JeffC@NO_SPAMreturnventures.com> wrote in message
news:uNTA$e0nDHA.708@TK2MSFTNGP10.phx.gbl...[color=blue]
> have an asp page called default.asp.
>
> In that page put <%response.redirect http://www.mysite%>
>
> Who cares whether script detects that the folder is empty. The folder is
> empty anyway..??..??..!!?>??
>
> wtf
> You just said you will empty the folder
>
>
>
>
> "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> news:Ob7jKa0nDHA.2500@TK2MSFTNGP10.phx.gbl...[color=green]
> > Basically, what I'm looking for, is some sort of script that I can drop[/color]
> into[color=green]
> > a folder on my server, and when someone visits that specific folder (I'm
> > going to remove all file's from the folder as I've moved the site), the
> > script detects the file is not there, and auto-redirects them to the new
> > location (kind of like a "clever" 404 page).
> >
> > As I do not have direct access to my server's settings (such as editing[/color]
> 404[color=green]
> > pages etc), I cannot do it the "normal" way.
> >
> > Anyone have any ideas, suggestions, scripts, reference links?
> >
> > --
> > Regards
> >
> > Steven Burn
> > Ur I.T. Mate Group CEO
> > www.it-mate.co.uk
> >
> > Disclaimer:
> > I know I'm probably wrong, I just like taking part :o)
> >
> >
> >[/color]
>
>[/color]


  #4  
Old July 19th, 2005, 09:21 AM
Chris Barber
Guest
 
Posts: n/a
Default Re: Can you help?

If its an ASP site and the pages are .asp then use the Global.asa and
redirect in the Session_OnStart sub. That will kick off every time an ASP
page is requested with no session active.
You can also use a custom 404 error page to redirect (that's the way MS do
it I believe).

See:
http://www.plinko.net/404/howto.asp?article=5
http://hotwired.lycos.com/webmonkey/...tml?tw=backend
http://www.highcontext.com/Articles/howto/404.php

Hope this helps,

Chris.

"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
news:%230%23Fkh0nDHA.2012@TK2MSFTNGP12.phx.gbl...
Yes but, people and search engines are still trying to access the old pages

--
Regards

Steven Burn
Ur I.T. Mate Group CEO
www.it-mate.co.uk

Disclaimer:
I know I'm probably wrong, I just like taking part :o)


Jeff Clark <JeffC@NO_SPAMreturnventures.com> wrote in message
news:uNTA$e0nDHA.708@TK2MSFTNGP10.phx.gbl...[color=blue]
> have an asp page called default.asp.
>
> In that page put <%response.redirect http://www.mysite%>
>
> Who cares whether script detects that the folder is empty. The folder is
> empty anyway..??..??..!!?>??
>
> wtf
> You just said you will empty the folder
>
>
>
>
> "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> news:Ob7jKa0nDHA.2500@TK2MSFTNGP10.phx.gbl...[color=green]
> > Basically, what I'm looking for, is some sort of script that I can drop[/color]
> into[color=green]
> > a folder on my server, and when someone visits that specific folder (I'm
> > going to remove all file's from the folder as I've moved the site), the
> > script detects the file is not there, and auto-redirects them to the new
> > location (kind of like a "clever" 404 page).
> >
> > As I do not have direct access to my server's settings (such as editing[/color]
> 404[color=green]
> > pages etc), I cannot do it the "normal" way.
> >
> > Anyone have any ideas, suggestions, scripts, reference links?
> >
> > --
> > Regards
> >
> > Steven Burn
> > Ur I.T. Mate Group CEO
> > www.it-mate.co.uk
> >
> > Disclaimer:
> > I know I'm probably wrong, I just like taking part :o)
> >
> >
> >[/color]
>
>[/color]



  #5  
Old July 19th, 2005, 09:21 AM
Steven Burn
Guest
 
Posts: n/a
Default Re: Can you help?

Chris, unfortunately, they're a mix of .jpg, .gif and .html pages.

I've read about the custom 404 pages, but from what I can gather, they need
to be set at server level, and can't be simply "dropped" into a folder.
Unfortunately I don't have access to my site's actual server settings.

Basically what I need is a re-direct script that will re-direct regardless
of whether file's are in the folder or not. using a default.asp or
index.html etc page is fine, however, that won't trap any of the other pages
accessed.....(hope I am making sense?)

--
Regards

Steven Burn
Ur I.T. Mate Group CEO
www.it-mate.co.uk

Disclaimer:
I know I'm probably wrong, I just like taking part :o)


Chris Barber <chris@blue-canoe.co.uk.NOSPAM> wrote in message
news:#IZ5WP1nDHA.2272@tk2msftngp13.phx.gbl...[color=blue]
> If its an ASP site and the pages are .asp then use the Global.asa and
> redirect in the Session_OnStart sub. That will kick off every time an ASP
> page is requested with no session active.
> You can also use a custom 404 error page to redirect (that's the way MS do
> it I believe).
>
> See:
> http://www.plinko.net/404/howto.asp?article=5
> http://hotwired.lycos.com/webmonkey/...tml?tw=backend
> http://www.highcontext.com/Articles/howto/404.php
>
> Hope this helps,
>
> Chris.
>
> "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> news:%230%23Fkh0nDHA.2012@TK2MSFTNGP12.phx.gbl...
> Yes but, people and search engines are still trying to access the old[/color]
pages[color=blue]
>
> --
> Regards
>
> Steven Burn
> Ur I.T. Mate Group CEO
> www.it-mate.co.uk
>
> Disclaimer:
> I know I'm probably wrong, I just like taking part :o)
>
>
> Jeff Clark <JeffC@NO_SPAMreturnventures.com> wrote in message
> news:uNTA$e0nDHA.708@TK2MSFTNGP10.phx.gbl...[color=green]
> > have an asp page called default.asp.
> >
> > In that page put <%response.redirect http://www.mysite%>
> >
> > Who cares whether script detects that the folder is empty. The folder[/color][/color]
is[color=blue][color=green]
> > empty anyway..??..??..!!?>??
> >
> > wtf
> > You just said you will empty the folder
> >
> >
> >
> >
> > "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> > news:Ob7jKa0nDHA.2500@TK2MSFTNGP10.phx.gbl...[color=darkred]
> > > Basically, what I'm looking for, is some sort of script that I can[/color][/color][/color]
drop[color=blue][color=green]
> > into[color=darkred]
> > > a folder on my server, and when someone visits that specific folder[/color][/color][/color]
(I'm[color=blue][color=green][color=darkred]
> > > going to remove all file's from the folder as I've moved the site),[/color][/color][/color]
the[color=blue][color=green][color=darkred]
> > > script detects the file is not there, and auto-redirects them to the[/color][/color][/color]
new[color=blue][color=green][color=darkred]
> > > location (kind of like a "clever" 404 page).
> > >
> > > As I do not have direct access to my server's settings (such as[/color][/color][/color]
editing[color=blue][color=green]
> > 404[color=darkred]
> > > pages etc), I cannot do it the "normal" way.
> > >
> > > Anyone have any ideas, suggestions, scripts, reference links?
> > >
> > > --
> > > Regards
> > >
> > > Steven Burn
> > > Ur I.T. Mate Group CEO
> > > www.it-mate.co.uk
> > >
> > > Disclaimer:
> > > I know I'm probably wrong, I just like taking part :o)
> > >
> > >
> > >[/color]
> >
> >[/color]
>
>
>[/color]


  #6  
Old July 19th, 2005, 09:21 AM
Chris Barber
Guest
 
Posts: n/a
Default Re: Can you help?

I believe that the custom 404 and Global.asa methods are the only methods
available in IIS for non .asp (and .asp of course) pages and .asp pages
respectively.

If it's apache then you may be able to do it with the .htaccess file?

You may be able to ask your host to set it up for you - might charge you
though?

Chris.

"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
news:eAXH%23T1nDHA.2732@TK2MSFTNGP11.phx.gbl...
Chris, unfortunately, they're a mix of .jpg, .gif and .html pages.

I've read about the custom 404 pages, but from what I can gather, they need
to be set at server level, and can't be simply "dropped" into a folder.
Unfortunately I don't have access to my site's actual server settings.

Basically what I need is a re-direct script that will re-direct regardless
of whether file's are in the folder or not. using a default.asp or
index.html etc page is fine, however, that won't trap any of the other pages
accessed.....(hope I am making sense?)

--
Regards

Steven Burn
Ur I.T. Mate Group CEO
www.it-mate.co.uk

Disclaimer:
I know I'm probably wrong, I just like taking part :o)


Chris Barber <chris@blue-canoe.co.uk.NOSPAM> wrote in message
news:#IZ5WP1nDHA.2272@tk2msftngp13.phx.gbl...[color=blue]
> If its an ASP site and the pages are .asp then use the Global.asa and
> redirect in the Session_OnStart sub. That will kick off every time an ASP
> page is requested with no session active.
> You can also use a custom 404 error page to redirect (that's the way MS do
> it I believe).
>
> See:
> http://www.plinko.net/404/howto.asp?article=5
> http://hotwired.lycos.com/webmonkey/...tml?tw=backend
> http://www.highcontext.com/Articles/howto/404.php
>
> Hope this helps,
>
> Chris.
>
> "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> news:%230%23Fkh0nDHA.2012@TK2MSFTNGP12.phx.gbl...
> Yes but, people and search engines are still trying to access the old[/color]
pages[color=blue]
>
> --
> Regards
>
> Steven Burn
> Ur I.T. Mate Group CEO
> www.it-mate.co.uk
>
> Disclaimer:
> I know I'm probably wrong, I just like taking part :o)
>
>
> Jeff Clark <JeffC@NO_SPAMreturnventures.com> wrote in message
> news:uNTA$e0nDHA.708@TK2MSFTNGP10.phx.gbl...[color=green]
> > have an asp page called default.asp.
> >
> > In that page put <%response.redirect http://www.mysite%>
> >
> > Who cares whether script detects that the folder is empty. The folder[/color][/color]
is[color=blue][color=green]
> > empty anyway..??..??..!!?>??
> >
> > wtf
> > You just said you will empty the folder
> >
> >
> >
> >
> > "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> > news:Ob7jKa0nDHA.2500@TK2MSFTNGP10.phx.gbl...[color=darkred]
> > > Basically, what I'm looking for, is some sort of script that I can[/color][/color][/color]
drop[color=blue][color=green]
> > into[color=darkred]
> > > a folder on my server, and when someone visits that specific folder[/color][/color][/color]
(I'm[color=blue][color=green][color=darkred]
> > > going to remove all file's from the folder as I've moved the site),[/color][/color][/color]
the[color=blue][color=green][color=darkred]
> > > script detects the file is not there, and auto-redirects them to the[/color][/color][/color]
new[color=blue][color=green][color=darkred]
> > > location (kind of like a "clever" 404 page).
> > >
> > > As I do not have direct access to my server's settings (such as[/color][/color][/color]
editing[color=blue][color=green]
> > 404[color=darkred]
> > > pages etc), I cannot do it the "normal" way.
> > >
> > > Anyone have any ideas, suggestions, scripts, reference links?
> > >
> > > --
> > > Regards
> > >
> > > Steven Burn
> > > Ur I.T. Mate Group CEO
> > > www.it-mate.co.uk
> > >
> > > Disclaimer:
> > > I know I'm probably wrong, I just like taking part :o)
> > >
> > >
> > >[/color]
> >
> >[/color]
>
>
>[/color]



  #7  
Old July 19th, 2005, 09:21 AM
Steven Burn
Guest
 
Posts: n/a
Default Re: Can you help?

It's an IIS server.

I've spoken with my host about it but, unfortunately, they aren't able to
provide that service for me.

Thanks anyway.

--
Regards

Steven Burn
Ur I.T. Mate Group CEO
www.it-mate.co.uk

Disclaimer:
I know I'm probably wrong, I just like taking part :o)


Chris Barber <chris@blue-canoe.co.uk.NOSPAM> wrote in message
news:#Ch5hZ1nDHA.1408@TK2MSFTNGP11.phx.gbl...[color=blue]
> I believe that the custom 404 and Global.asa methods are the only methods
> available in IIS for non .asp (and .asp of course) pages and .asp pages
> respectively.
>
> If it's apache then you may be able to do it with the .htaccess file?
>
> You may be able to ask your host to set it up for you - might charge you
> though?
>
> Chris.
>
> "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> news:eAXH%23T1nDHA.2732@TK2MSFTNGP11.phx.gbl...
> Chris, unfortunately, they're a mix of .jpg, .gif and .html pages.
>
> I've read about the custom 404 pages, but from what I can gather, they[/color]
need[color=blue]
> to be set at server level, and can't be simply "dropped" into a folder.
> Unfortunately I don't have access to my site's actual server settings.
>
> Basically what I need is a re-direct script that will re-direct regardless
> of whether file's are in the folder or not. using a default.asp or
> index.html etc page is fine, however, that won't trap any of the other[/color]
pages[color=blue]
> accessed.....(hope I am making sense?)
>
> --
> Regards
>
> Steven Burn
> Ur I.T. Mate Group CEO
> www.it-mate.co.uk
>
> Disclaimer:
> I know I'm probably wrong, I just like taking part :o)
>
>
> Chris Barber <chris@blue-canoe.co.uk.NOSPAM> wrote in message
> news:#IZ5WP1nDHA.2272@tk2msftngp13.phx.gbl...[color=green]
> > If its an ASP site and the pages are .asp then use the Global.asa and
> > redirect in the Session_OnStart sub. That will kick off every time an[/color][/color]
ASP[color=blue][color=green]
> > page is requested with no session active.
> > You can also use a custom 404 error page to redirect (that's the way MS[/color][/color]
do[color=blue][color=green]
> > it I believe).
> >
> > See:
> > http://www.plinko.net/404/howto.asp?article=5
> > http://hotwired.lycos.com/webmonkey/...tml?tw=backend
> > http://www.highcontext.com/Articles/howto/404.php
> >
> > Hope this helps,
> >
> > Chris.
> >
> > "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> > news:%230%23Fkh0nDHA.2012@TK2MSFTNGP12.phx.gbl...
> > Yes but, people and search engines are still trying to access the old[/color]
> pages[color=green]
> >
> > --
> > Regards
> >
> > Steven Burn
> > Ur I.T. Mate Group CEO
> > www.it-mate.co.uk
> >
> > Disclaimer:
> > I know I'm probably wrong, I just like taking part :o)
> >
> >
> > Jeff Clark <JeffC@NO_SPAMreturnventures.com> wrote in message
> > news:uNTA$e0nDHA.708@TK2MSFTNGP10.phx.gbl...[color=darkred]
> > > have an asp page called default.asp.
> > >
> > > In that page put <%response.redirect http://www.mysite%>
> > >
> > > Who cares whether script detects that the folder is empty. The folder[/color][/color]
> is[color=green][color=darkred]
> > > empty anyway..??..??..!!?>??
> > >
> > > wtf
> > > You just said you will empty the folder
> > >
> > >
> > >
> > >
> > > "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> > > news:Ob7jKa0nDHA.2500@TK2MSFTNGP10.phx.gbl...
> > > > Basically, what I'm looking for, is some sort of script that I can[/color][/color]
> drop[color=green][color=darkred]
> > > into
> > > > a folder on my server, and when someone visits that specific folder[/color][/color]
> (I'm[color=green][color=darkred]
> > > > going to remove all file's from the folder as I've moved the site),[/color][/color]
> the[color=green][color=darkred]
> > > > script detects the file is not there, and auto-redirects them to the[/color][/color]
> new[color=green][color=darkred]
> > > > location (kind of like a "clever" 404 page).
> > > >
> > > > As I do not have direct access to my server's settings (such as[/color][/color]
> editing[color=green][color=darkred]
> > > 404
> > > > pages etc), I cannot do it the "normal" way.
> > > >
> > > > Anyone have any ideas, suggestions, scripts, reference links?
> > > >
> > > > --
> > > > Regards
> > > >
> > > > Steven Burn
> > > > Ur I.T. Mate Group CEO
> > > > www.it-mate.co.uk
> > > >
> > > > Disclaimer:
> > > > I know I'm probably wrong, I just like taking part :o)
> > > >
> > > >
> > > >
> > >
> > >[/color]
> >
> >
> >[/color]
>
>
>[/color]


  #8  
Old July 19th, 2005, 09:21 AM
Tom B
Guest
 
Posts: n/a
Default Re: Can you help?

How about just putting in new versions of the old pages? Each new version,
just redirects to your new site.
Obviously, that wouldn't work for images, but it would catch most of the
users.

"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
news:Ob7jKa0nDHA.2500@TK2MSFTNGP10.phx.gbl...[color=blue]
> Basically, what I'm looking for, is some sort of script that I can drop[/color]
into[color=blue]
> a folder on my server, and when someone visits that specific folder (I'm
> going to remove all file's from the folder as I've moved the site), the
> script detects the file is not there, and auto-redirects them to the new
> location (kind of like a "clever" 404 page).
>
> As I do not have direct access to my server's settings (such as editing[/color]
404[color=blue]
> pages etc), I cannot do it the "normal" way.
>
> Anyone have any ideas, suggestions, scripts, reference links?
>
> --
> Regards
>
> Steven Burn
> Ur I.T. Mate Group CEO
> www.it-mate.co.uk
>
> Disclaimer:
> I know I'm probably wrong, I just like taking part :o)
>
>
>[/color]


  #9  
Old July 19th, 2005, 09:21 AM
Chris Barber
Guest
 
Posts: n/a
Default Re: Can you help?

How about you change the DNS entries for that host header to point to an web
server that will (OK, you'd have to find an ASP host that's willing to
provide the redirection or a free host on apache etc.)?
This is of course presuming you have access to your domains DNS entries /
nameserver.

Chris.

"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
news:OdZz8e1nDHA.2592@TK2MSFTNGP10.phx.gbl...
It's an IIS server.

I've spoken with my host about it but, unfortunately, they aren't able to
provide that service for me.

Thanks anyway.

--
Regards

Steven Burn
Ur I.T. Mate Group CEO
www.it-mate.co.uk

Disclaimer:
I know I'm probably wrong, I just like taking part :o)


Chris Barber <chris@blue-canoe.co.uk.NOSPAM> wrote in message
news:#Ch5hZ1nDHA.1408@TK2MSFTNGP11.phx.gbl...[color=blue]
> I believe that the custom 404 and Global.asa methods are the only methods
> available in IIS for non .asp (and .asp of course) pages and .asp pages
> respectively.
>
> If it's apache then you may be able to do it with the .htaccess file?
>
> You may be able to ask your host to set it up for you - might charge you
> though?
>
> Chris.
>
> "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> news:eAXH%23T1nDHA.2732@TK2MSFTNGP11.phx.gbl...
> Chris, unfortunately, they're a mix of .jpg, .gif and .html pages.
>
> I've read about the custom 404 pages, but from what I can gather, they[/color]
need[color=blue]
> to be set at server level, and can't be simply "dropped" into a folder.
> Unfortunately I don't have access to my site's actual server settings.
>
> Basically what I need is a re-direct script that will re-direct regardless
> of whether file's are in the folder or not. using a default.asp or
> index.html etc page is fine, however, that won't trap any of the other[/color]
pages[color=blue]
> accessed.....(hope I am making sense?)
>
> --
> Regards
>
> Steven Burn
> Ur I.T. Mate Group CEO
> www.it-mate.co.uk
>
> Disclaimer:
> I know I'm probably wrong, I just like taking part :o)
>
>
> Chris Barber <chris@blue-canoe.co.uk.NOSPAM> wrote in message
> news:#IZ5WP1nDHA.2272@tk2msftngp13.phx.gbl...[color=green]
> > If its an ASP site and the pages are .asp then use the Global.asa and
> > redirect in the Session_OnStart sub. That will kick off every time an[/color][/color]
ASP[color=blue][color=green]
> > page is requested with no session active.
> > You can also use a custom 404 error page to redirect (that's the way MS[/color][/color]
do[color=blue][color=green]
> > it I believe).
> >
> > See:
> > http://www.plinko.net/404/howto.asp?article=5
> > http://hotwired.lycos.com/webmonkey/...tml?tw=backend
> > http://www.highcontext.com/Articles/howto/404.php
> >
> > Hope this helps,
> >
> > Chris.
> >
> > "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> > news:%230%23Fkh0nDHA.2012@TK2MSFTNGP12.phx.gbl...
> > Yes but, people and search engines are still trying to access the old[/color]
> pages[color=green]
> >
> > --
> > Regards
> >
> > Steven Burn
> > Ur I.T. Mate Group CEO
> > www.it-mate.co.uk
> >
> > Disclaimer:
> > I know I'm probably wrong, I just like taking part :o)
> >
> >
> > Jeff Clark <JeffC@NO_SPAMreturnventures.com> wrote in message
> > news:uNTA$e0nDHA.708@TK2MSFTNGP10.phx.gbl...[color=darkred]
> > > have an asp page called default.asp.
> > >
> > > In that page put <%response.redirect http://www.mysite%>
> > >
> > > Who cares whether script detects that the folder is empty. The folder[/color][/color]
> is[color=green][color=darkred]
> > > empty anyway..??..??..!!?>??
> > >
> > > wtf
> > > You just said you will empty the folder
> > >
> > >
> > >
> > >
> > > "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> > > news:Ob7jKa0nDHA.2500@TK2MSFTNGP10.phx.gbl...
> > > > Basically, what I'm looking for, is some sort of script that I can[/color][/color]
> drop[color=green][color=darkred]
> > > into
> > > > a folder on my server, and when someone visits that specific folder[/color][/color]
> (I'm[color=green][color=darkred]
> > > > going to remove all file's from the folder as I've moved the site),[/color][/color]
> the[color=green][color=darkred]
> > > > script detects the file is not there, and auto-redirects them to the[/color][/color]
> new[color=green][color=darkred]
> > > > location (kind of like a "clever" 404 page).
> > > >
> > > > As I do not have direct access to my server's settings (such as[/color][/color]
> editing[color=green][color=darkred]
> > > 404
> > > > pages etc), I cannot do it the "normal" way.
> > > >
> > > > Anyone have any ideas, suggestions, scripts, reference links?
> > > >
> > > > --
> > > > Regards
> > > >
> > > > Steven Burn
> > > > Ur I.T. Mate Group CEO
> > > > www.it-mate.co.uk
> > > >
> > > > Disclaimer:
> > > > I know I'm probably wrong, I just like taking part :o)
> > > >
> > > >
> > > >
> > >
> > >[/color]
> >
> >
> >[/color]
>
>
>[/color]



  #10  
Old July 19th, 2005, 09:21 AM
William Tasso
Guest
 
Posts: n/a
Default Re: Can you help?

Tom B wrote:[color=blue]
> "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> news:Ob7jKa0nDHA.2500@TK2MSFTNGP10.phx.gbl...[color=green]
>> Basically, what I'm looking for, is some sort of script that I can
>> drop into a folder on my server, and when someone visits that
>> specific folder (I'm going to remove all file's from the folder as
>> I've moved the site), the script detects the file is not there, and
>> auto-redirects them to the new location (kind of like a "clever" 404
>> page).
>> ...
>>[/color]
> How about just putting in new versions of the old pages? Each new
> version, just redirects to your new site.[/color]

seems to be the O/Ps best option given the constraints.
[color=blue]
> Obviously, that wouldn't work for images, but it would catch most of
> the users.
>[/color]

why not?

--
William Tasso - http://WilliamTasso.com


  #11  
Old July 19th, 2005, 09:21 AM
Mike Florio
Guest
 
Posts: n/a
Default Re: Can you help?

If it's an ASP site then do what Chris recommended.

Otherwise, put this script in each html page on the site:

<script Language="JavaScript">
window.navigate("http://www.mynewsite.com");
</script>

Any old page accesses via search engines will direct the browser to the new
site.

Mike



"Chris Barber" <chris@blue-canoe.co.uk.NOSPAM> wrote in message
news:%23Ch5hZ1nDHA.1408@TK2MSFTNGP11.phx.gbl...[color=blue]
> I believe that the custom 404 and Global.asa methods are the only methods
> available in IIS for non .asp (and .asp of course) pages and .asp pages
> respectively.
>
> If it's apache then you may be able to do it with the .htaccess file?
>
> You may be able to ask your host to set it up for you - might charge you
> though?
>
> Chris.
>
> "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> news:eAXH%23T1nDHA.2732@TK2MSFTNGP11.phx.gbl...
> Chris, unfortunately, they're a mix of .jpg, .gif and .html pages.
>
> I've read about the custom 404 pages, but from what I can gather, they[/color]
need[color=blue]
> to be set at server level, and can't be simply "dropped" into a folder.
> Unfortunately I don't have access to my site's actual server settings.
>
> Basically what I need is a re-direct script that will re-direct regardless
> of whether file's are in the folder or not. using a default.asp or
> index.html etc page is fine, however, that won't trap any of the other[/color]
pages[color=blue]
> accessed.....(hope I am making sense?)
>
> --
> Regards
>
> Steven Burn
> Ur I.T. Mate Group CEO
> www.it-mate.co.uk
>
> Disclaimer:
> I know I'm probably wrong, I just like taking part :o)
>
>
> Chris Barber <chris@blue-canoe.co.uk.NOSPAM> wrote in message
> news:#IZ5WP1nDHA.2272@tk2msftngp13.phx.gbl...[color=green]
> > If its an ASP site and the pages are .asp then use the Global.asa and
> > redirect in the Session_OnStart sub. That will kick off every time an[/color][/color]
ASP[color=blue][color=green]
> > page is requested with no session active.
> > You can also use a custom 404 error page to redirect (that's the way MS[/color][/color]
do[color=blue][color=green]
> > it I believe).
> >
> > See:
> > http://www.plinko.net/404/howto.asp?article=5
> > http://hotwired.lycos.com/webmonkey/...tml?tw=backend
> > http://www.highcontext.com/Articles/howto/404.php
> >
> > Hope this helps,
> >
> > Chris.
> >
> > "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> > news:%230%23Fkh0nDHA.2012@TK2MSFTNGP12.phx.gbl...
> > Yes but, people and search engines are still trying to access the old[/color]
> pages[color=green]
> >
> > --
> > Regards
> >
> > Steven Burn
> > Ur I.T. Mate Group CEO
> > www.it-mate.co.uk
> >
> > Disclaimer:
> > I know I'm probably wrong, I just like taking part :o)
> >
> >
> > Jeff Clark <JeffC@NO_SPAMreturnventures.com> wrote in message
> > news:uNTA$e0nDHA.708@TK2MSFTNGP10.phx.gbl...[color=darkred]
> > > have an asp page called default.asp.
> > >
> > > In that page put <%response.redirect http://www.mysite%>
> > >
> > > Who cares whether script detects that the folder is empty. The folder[/color][/color]
> is[color=green][color=darkred]
> > > empty anyway..??..??..!!?>??
> > >
> > > wtf
> > > You just said you will empty the folder
> > >
> > >
> > >
> > >
> > > "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> > > news:Ob7jKa0nDHA.2500@TK2MSFTNGP10.phx.gbl...
> > > > Basically, what I'm looking for, is some sort of script that I can[/color][/color]
> drop[color=green][color=darkred]
> > > into
> > > > a folder on my server, and when someone visits that specific folder[/color][/color]
> (I'm[color=green][color=darkred]
> > > > going to remove all file's from the folder as I've moved the site),[/color][/color]
> the[color=green][color=darkred]
> > > > script detects the file is not there, and auto-redirects them to the[/color][/color]
> new[color=green][color=darkred]
> > > > location (kind of like a "clever" 404 page).
> > > >
> > > > As I do not have direct access to my server's settings (such as[/color][/color]
> editing[color=green][color=darkred]
> > > 404
> > > > pages etc), I cannot do it the "normal" way.
> > > >
> > > > Anyone have any ideas, suggestions, scripts, reference links?
> > > >
> > > > --
> > > > Regards
> > > >
> > > > Steven Burn
> > > > Ur I.T. Mate Group CEO
> > > > www.it-mate.co.uk
> > > >
> > > > Disclaimer:
> > > > I know I'm probably wrong, I just like taking part :o)
> > > >
> > > >
> > > >
> > >
> > >[/color]
> >
> >
> >[/color]
>
>
>[/color]


  #12  
Old July 19th, 2005, 09:21 AM
TomB
Guest
 
Posts: n/a
Default Re: Can you help?

Because the o/p has no control over the server, so an end user requesting
http://server/image1.jpg will get an error.
Although....the images could also be replaced with an image containing the
new url.


"William Tasso" <news27@tbdata.com> wrote in message
news:ul8Dq15nDHA.1004@TK2MSFTNGP09.phx.gbl...[color=blue]
> Tom B wrote:[color=green]
> > "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> > news:Ob7jKa0nDHA.2500@TK2MSFTNGP10.phx.gbl...[color=darkred]
> >> Basically, what I'm looking for, is some sort of script that I can
> >> drop into a folder on my server, and when someone visits that
> >> specific folder (I'm going to remove all file's from the folder as
> >> I've moved the site), the script detects the file is not there, and
> >> auto-redirects them to the new location (kind of like a "clever" 404
> >> page).
> >> ...
> >>[/color]
> > How about just putting in new versions of the old pages? Each new
> > version, just redirects to your new site.[/color]
>
> seems to be the O/Ps best option given the constraints.
>[color=green]
> > Obviously, that wouldn't work for images, but it would catch most of
> > the users.
> >[/color]
>
> why not?
>
> --
> William Tasso - http://WilliamTasso.com
>
>[/color]


  #13  
Old July 19th, 2005, 09:22 AM
Steven Burn
Guest
 
Posts: n/a
Default Re: Can you help?

I was going to do a re-direction with Javascript but, there's over 300 pages
:o( (very time consuming to do that).

--
Regards

Steven Burn
Ur I.T. Mate Group CEO
www.it-mate.co.uk

Disclaimer:
I know I'm probably wrong, I just like taking part :o)


Mike Florio <mike@micro-point.com> wrote in message
news:vq4v6mj62k7edc@corp.supernews.com...[color=blue]
> If it's an ASP site then do what Chris recommended.
>
> Otherwise, put this script in each html page on the site:
>
> <script Language="JavaScript">
> window.navigate("http://www.mynewsite.com");
> </script>
>
> Any old page accesses via search engines will direct the browser to the[/color]
new[color=blue]
> site.
>
> Mike
>
>
>
> "Chris Barber" <chris@blue-canoe.co.uk.NOSPAM> wrote in message
> news:%23Ch5hZ1nDHA.1408@TK2MSFTNGP11.phx.gbl...[color=green]
> > I believe that the custom 404 and Global.asa methods are the only[/color][/color]
methods[color=blue][color=green]
> > available in IIS for non .asp (and .asp of course) pages and .asp pages
> > respectively.
> >
> > If it's apache then you may be able to do it with the .htaccess file?
> >
> > You may be able to ask your host to set it up for you - might charge you
> > though?
> >
> > Chris.
> >
> > "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> > news:eAXH%23T1nDHA.2732@TK2MSFTNGP11.phx.gbl...
> > Chris, unfortunately, they're a mix of .jpg, .gif and .html pages.
> >
> > I've read about the custom 404 pages, but from what I can gather, they[/color]
> need[color=green]
> > to be set at server level, and can't be simply "dropped" into a folder.
> > Unfortunately I don't have access to my site's actual server settings.
> >
> > Basically what I need is a re-direct script that will re-direct[/color][/color]
regardless[color=blue][color=green]
> > of whether file's are in the folder or not. using a default.asp or
> > index.html etc page is fine, however, that won't trap any of the other[/color]
> pages[color=green]
> > accessed.....(hope I am making sense?)
> >
> > --
> > Regards
> >
> > Steven Burn
> > Ur I.T. Mate Group CEO
> > www.it-mate.co.uk
> >
> > Disclaimer:
> > I know I'm probably wrong, I just like taking part :o)
> >
> >
> > Chris Barber <chris@blue-canoe.co.uk.NOSPAM> wrote in message
> > news:#IZ5WP1nDHA.2272@tk2msftngp13.phx.gbl...[color=darkred]
> > > If its an ASP site and the pages are .asp then use the Global.asa and
> > > redirect in the Session_OnStart sub. That will kick off every time an[/color][/color]
> ASP[color=green][color=darkred]
> > > page is requested with no session active.
> > > You can also use a custom 404 error page to redirect (that's the way[/color][/color][/color]
MS[color=blue]
> do[color=green][color=darkred]
> > > it I believe).
> > >
> > > See:
> > > http://www.plinko.net/404/howto.asp?article=5
> > >[/color][/color][/color]
http://hotwired.lycos.com/webmonkey/...tml?tw=backend[color=blue][color=green][color=darkred]
> > > http://www.highcontext.com/Articles/howto/404.php
> > >
> > > Hope this helps,
> > >
> > > Chris.
> > >
> > > "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> > > news:%230%23Fkh0nDHA.2012@TK2MSFTNGP12.phx.gbl...
> > > Yes but, people and search engines are still trying to access the old[/color]
> > pages[color=darkred]
> > >
> > > --
> > > Regards
> > >
> > > Steven Burn
> > > Ur I.T. Mate Group CEO
> > > www.it-mate.co.uk
> > >
> > > Disclaimer:
> > > I know I'm probably wrong, I just like taking part :o)
> > >
> > >
> > > Jeff Clark <JeffC@NO_SPAMreturnventures.com> wrote in message
> > > news:uNTA$e0nDHA.708@TK2MSFTNGP10.phx.gbl...
> > > > have an asp page called default.asp.
> > > >
> > > > In that page put <%response.redirect http://www.mysite%>
> > > >
> > > > Who cares whether script detects that the folder is empty. The[/color][/color][/color]
folder[color=blue][color=green]
> > is[color=darkred]
> > > > empty anyway..??..??..!!?>??
> > > >
> > > > wtf
> > > > You just said you will empty the folder
> > > >
> > > >
> > > >
> > > >
> > > > "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> > > > news:Ob7jKa0nDHA.2500@TK2MSFTNGP10.phx.gbl...
> > > > > Basically, what I'm looking for, is some sort of script that I can[/color]
> > drop[color=darkred]
> > > > into
> > > > > a folder on my server, and when someone visits that specific[/color][/color][/color]
folder[color=blue][color=green]
> > (I'm[color=darkred]
> > > > > going to remove all file's from the folder as I've moved the[/color][/color][/color]
site),[color=blue][color=green]
> > the[color=darkred]
> > > > > script detects the file is not there, and auto-redirects them to[/color][/color][/color]
the[color=blue][color=green]
> > new[color=darkred]
> > > > > location (kind of like a "clever" 404 page).
> > > > >
> > > > > As I do not have direct access to my server's settings (such as[/color]
> > editing[color=darkred]
> > > > 404
> > > > > pages etc), I cannot do it the "normal" way.
> > > > >
> > > > > Anyone have any ideas, suggestions, scripts, reference links?
> > > > >
> > > > > --
> > > > > Regards
> > > > >
> > > > > Steven Burn
> > > > > Ur I.T. Mate Group CEO
> > > > > www.it-mate.co.uk
> > > > >
> > > > > Disclaimer:
> > > > > I know I'm probably wrong, I just like taking part :o)
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> > >[/color]
> >
> >
> >[/color]
>
>[/color]


  #14  
Old July 19th, 2005, 09:22 AM
Steven Burn
Guest
 
Posts: n/a
Default Re: Can you help?

hehe, don't have access to those either :o(

--
Regards

Steven Burn
Ur I.T. Mate Group CEO
www.it-mate.co.uk

Disclaimer:
I know I'm probably wrong, I just like taking part :o)


Chris Barber <chris@blue-canoe.co.uk.NOSPAM> wrote in message
news:OaSpgW5nDHA.2424@TK2MSFTNGP10.phx.gbl...[color=blue]
> How about you change the DNS entries for that host header to point to an[/color]
web[color=blue]
> server that will (OK, you'd have to find an ASP host that's willing to
> provide the redirection or a free host on apache etc.)?
> This is of course presuming you have access to your domains DNS entries /
> nameserver.
>
> Chris.
>
> "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> news:OdZz8e1nDHA.2592@TK2MSFTNGP10.phx.gbl...
> It's an IIS server.
>
> I've spoken with my host about it but, unfortunately, they aren't able to
> provide that service for me.
>
> Thanks anyway.
>
> --
> Regards
>
> Steven Burn
> Ur I.T. Mate Group CEO
> www.it-mate.co.uk
>
> Disclaimer:
> I know I'm probably wrong, I just like taking part :o)
>
>
> Chris Barber <chris@blue-canoe.co.uk.NOSPAM> wrote in message
> news:#Ch5hZ1nDHA.1408@TK2MSFTNGP11.phx.gbl...[color=green]
> > I believe that the custom 404 and Global.asa methods are the only[/color][/color]
methods[color=blue][color=green]
> > available in IIS for non .asp (and .asp of course) pages and .asp pages
> > respectively.
> >
> > If it's apache then you may be able to do it with the .htaccess file?
> >
> > You may be able to ask your host to set it up for you - might charge you
> > though?
> >
> > Chris.
> >
> > "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> > news:eAXH%23T1nDHA.2732@TK2MSFTNGP11.phx.gbl...
> > Chris, unfortunately, they're a mix of .jpg, .gif and .html pages.
> >
> > I've read about the custom 404 pages, but from what I can gather, they[/color]
> need[color=green]
> > to be set at server level, and can't be simply "dropped" into a folder.
> > Unfortunately I don't have access to my site's actual server settings.
> >
> > Basically what I need is a re-direct script that will re-direct[/color][/color]
regardless[color=blue][color=green]
> > of whether file's are in the folder or not. using a default.asp or
> > index.html etc page is fine, however, that won't trap any of the other[/color]
> pages[color=green]
> > accessed.....(hope I am making sense?)
> >
> > --
> > Regards
> >
> > Steven Burn
> > Ur I.T. Mate Group CEO
> > www.it-mate.co.uk
> >
> > Disclaimer:
> > I know I'm probably wrong, I just like taking part :o)
> >
> >
> > Chris Barber <chris@blue-canoe.co.uk.NOSPAM> wrote in message
> > news:#IZ5WP1nDHA.2272@tk2msftngp13.phx.gbl...[color=darkred]
> > > If its an ASP site and the pages are .asp then use the Global.asa and
> > > redirect in the Session_OnStart sub. That will kick off every time an[/color][/color]
> ASP[color=green][color=darkred]
> > > page is requested with no session active.
> > > You can also use a custom 404 error page to redirect (that's the way[/color][/color][/color]
MS[color=blue]
> do[color=green][color=darkred]
> > > it I believe).
> > >
> > > See:
> > > http://www.plinko.net/404/howto.asp?article=5
> > >[/color][/color][/color]
http://hotwired.lycos.com/webmonkey/...tml?tw=backend[color=blue][color=green][color=darkred]
> > > http://www.highcontext.com/Articles/howto/404.php
> > >
> > > Hope this helps,
> > >
> > > Chris.
> > >
> > > "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> > > news:%230%23Fkh0nDHA.2012@TK2MSFTNGP12.phx.gbl...
> > > Yes but, people and search engines are still trying to access the old[/color]
> > pages[color=darkred]
> > >
> > > --
> > > Regards
> > >
> > > Steven Burn
> > > Ur I.T. Mate Group CEO
> > > www.it-mate.co.uk
> > >
> > > Disclaimer:
> > > I know I'm probably wrong, I just like taking part :o)
> > >
> > >
> > > Jeff Clark <JeffC@NO_SPAMreturnventures.com> wrote in message
> > > news:uNTA$e0nDHA.708@TK2MSFTNGP10.phx.gbl...
> > > > have an asp page called default.asp.
> > > >
> > > > In that page put <%response.redirect http://www.mysite%>
> > > >
> > > > Who cares whether script detects that the folder is empty. The[/color][/color][/color]
folder[color=blue][color=green]
> > is[color=darkred]
> > > > empty anyway..??..??..!!?>??
> > > >
> > > > wtf
> > > > You just said you will empty the folder
> > > >
> > > >
> > > >
> > > >
> > > > "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> > > > news:Ob7jKa0nDHA.2500@TK2MSFTNGP10.phx.gbl...
> > > > > Basically, what I'm looking for, is some sort of script that I can[/color]
> > drop[color=darkred]
> > > > into
> > > > > a folder on my server, and when someone visits that specific[/color][/color][/color]
folder[color=blue][color=green]
> > (I'm[color=darkred]
> > > > > going to remove all file's from the folder as I've moved the[/color][/color][/color]
site),[color=blue][color=green]
> > the[color=darkred]
> > > > > script detects the file is not there, and auto-redirects them to[/color][/color][/color]
the[color=blue][color=green]
> > new[color=darkred]
> > > > > location (kind of like a "clever" 404 page).
> > > > >
> > > > > As I do not have direct access to my server's settings (such as[/color]
> > editing[color=darkred]
> > > > 404
> > > > > pages etc), I cannot do it the "normal" way.
> > > > >
> > > > > Anyone have any ideas, suggestions, scripts, reference links?
> > > > >
> > > > > --
> > > > > Regards
> > > > >
> > > > > Steven Burn
> > > > > Ur I.T. Mate Group CEO
> > > > > www.it-mate.co.uk
> > > > >
> > > > > Disclaimer:
> > > > > I know I'm probably wrong, I just like taking part :o)
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> > >[/color]
> >
> >
> >[/color]
>
>
>[/color]


  #15  
Old July 19th, 2005, 09:22 AM
Steven Burn
Guest
 
Posts: n/a
Default Re: Can you help?

Cheers for the suggestion Tom. That seems like my best option at the moment.

Unfortunately, that means I'd have to do that for all 300+ pages :o(

--
Regards

Steven Burn
Ur I.T. Mate Group CEO
www.it-mate.co.uk

Disclaimer:
I know I'm probably wrong, I just like taking part :o)


Tom B <shuckle@NOSPAMhotmail.com> wrote in message
news:uaqqlY2nDHA.3024@tk2msftngp13.phx.gbl...[color=blue]
> How about just putting in new versions of the old pages? Each new[/color]
version,[color=blue]
> just redirects to your new site.
> Obviously, that wouldn't work for images, but it would catch most of the
> users.
>
> "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> news:Ob7jKa0nDHA.2500@TK2MSFTNGP10.phx.gbl...[color=green]
> > Basically, what I'm looking for, is some sort of script that I can drop[/color]
> into[color=green]
> > a folder on my server, and when someone visits that specific folder (I'm
> > going to remove all file's from the folder as I've moved the site), the
> > script detects the file is not there, and auto-redirects them to the new
> > location (kind of like a "clever" 404 page).
> >
> > As I do not have direct access to my server's settings (such as editing[/color]
> 404[color=green]
> > pages etc), I cannot do it the "normal" way.
> >
> > Anyone have any ideas, suggestions, scripts, reference links?
> >
> > --
> > Regards
> >
> > Steven Burn
> > Ur I.T. Mate Group CEO
> > www.it-mate.co.uk
> >
> > Disclaimer:
> > I know I'm probably wrong, I just like taking part :o)
> >
> >
> >[/color]
>
>[/color]


  #16  
Old July 19th, 2005, 09:22 AM
Chris Barber
Guest
 
Posts: n/a
Default Re: Can you help?

So who is your ISP?
They should provide access to the nameserver?

Chris.

"Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
news:eIc0EB9nDHA.2064@TK2MSFTNGP11.phx.gbl...
hehe, don't have access to those either :o(

--
Regards

Steven Burn
Ur I.T. Mate Group CEO
www.it-mate.co.uk

Disclaimer:
I know I'm probably wrong, I just like taking part :o)


Chris Barber <chris@blue-canoe.co.uk.NOSPAM> wrote in message
news:OaSpgW5nDHA.2424@TK2MSFTNGP10.phx.gbl...[color=blue]
> How about you change the DNS entries for that host header to point to an[/color]
web[color=blue]
> server that will (OK, you'd have to find an ASP host that's willing to
> provide the redirection or a free host on apache etc.)?
> This is of course presuming you have access to your domains DNS entries /
> nameserver.
>
> Chris.
>
> "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> news:OdZz8e1nDHA.2592@TK2MSFTNGP10.phx.gbl...
> It's an IIS server.
>
> I've spoken with my host about it but, unfortunately, they aren't able to
> provide that service for me.
>
> Thanks anyway.
>
> --
> Regards
>
> Steven Burn
> Ur I.T. Mate Group CEO
> www.it-mate.co.uk
>
> Disclaimer:
> I know I'm probably wrong, I just like taking part :o)
>
>
> Chris Barber <chris@blue-canoe.co.uk.NOSPAM> wrote in message
> news:#Ch5hZ1nDHA.1408@TK2MSFTNGP11.phx.gbl...[color=green]
> > I believe that the custom 404 and Global.asa methods are the only[/color][/color]
methods[color=blue][color=green]
> > available in IIS for non .asp (and .asp of course) pages and .asp pages
> > respectively.
> >
> > If it's apache then you may be able to do it with the .htaccess file?
> >
> > You may be able to ask your host to set it up for you - might charge you
> > though?
> >
> > Chris.
> >
> > "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> > news:eAXH%23T1nDHA.2732@TK2MSFTNGP11.phx.gbl...
> > Chris, unfortunately, they're a mix of .jpg, .gif and .html pages.
> >
> > I've read about the custom 404 pages, but from what I can gather, they[/color]
> need[color=green]
> > to be set at server level, and can't be simply "dropped" into a folder.
> > Unfortunately I don't have access to my site's actual server settings.
> >
> > Basically what I need is a re-direct script that will re-direct[/color][/color]
regardless[color=blue][color=green]
> > of whether file's are in the folder or not. using a default.asp or
> > index.html etc page is fine, however, that won't trap any of the other[/color]
> pages[color=green]
> > accessed.....(hope I am making sense?)
> >
> > --
> > Regards
> >
> > Steven Burn
> > Ur I.T. Mate Group CEO
> > www.it-mate.co.uk
> >
> > Disclaimer:
> > I know I'm probably wrong, I just like taking part :o)
> >
> >
> > Chris Barber <chris@blue-canoe.co.uk.NOSPAM> wrote in message
> > news:#IZ5WP1nDHA.2272@tk2msftngp13.phx.gbl...[color=darkred]
> > > If its an ASP site and the pages are .asp then use the Global.asa and
> > > redirect in the Session_OnStart sub. That will kick off every time an[/color][/color]
> ASP[color=green][color=darkred]
> > > page is requested with no session active.
> > > You can also use a custom 404 error page to redirect (that's the way[/color][/color][/color]
MS[color=blue]
> do[color=green][color=darkred]
> > > it I believe).
> > >
> > > See:
> > > http://www.plinko.net/404/howto.asp?article=5
> > >[/color][/color][/color]
http://hotwired.lycos.com/webmonkey/...tml?tw=backend[color=blue][color=green][color=darkred]
> > > http://www.highcontext.com/Articles/howto/404.php
> > >
> > > Hope this helps,
> > >
> > > Chris.
> > >
> > > "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> > > news:%230%23Fkh0nDHA.2012@TK2MSFTNGP12.phx.gbl...
> > > Yes but, people and search engines are still trying to access the old[/color]
> > pages[color=darkred]
> > >
> > > --
> > > Regards
> > >
> > > Steven Burn
> > > Ur I.T. Mate Group CEO
> > > www.it-mate.co.uk
> > >
> > > Disclaimer:
> > > I know I'm probably wrong, I just like taking part :o)
> > >
> > >
> > > Jeff Clark <JeffC@NO_SPAMreturnventures.com> wrote in message
> > > news:uNTA$e0nDHA.708@TK2MSFTNGP10.phx.gbl...
> > > > have an asp page called default.asp.
> > > >
> > > > In that page put <%response.redirect http://www.mysite%>
> > > >
> > > > Who cares whether script detects that the folder is empty. The[/color][/color][/color]
folder[color=blue][color=green]
> > is[color=darkred]
> > > > empty anyway..??..??..!!?>??
> > > >
> > > > wtf
> > > > You just said you will empty the folder
> > > >
> > > >
> > > >
> > > >
> > > > "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> > > > news:Ob7jKa0nDHA.2500@TK2MSFTNGP10.phx.gbl...
> > > > > Basically, what I'm looking for, is some sort of script that I can[/color]
> > drop[color=darkred]
> > > > into
> > > > > a folder on my server, and when someone visits that specific[/color][/color][/color]
folder[color=blue][color=green]
> > (I'm[color=darkred]
> > > > > going to remove all file's from the folder as I've moved the[/color][/color][/color]
site),[color=blue][color=green]
> > the[color=darkred]
> > > > > script detects the file is not there, and auto-redirects them to[/color][/color][/color]
the[color=blue][color=green]
> > new[color=darkred]
> > > > > location (kind of like a "clever" 404 page).
> > > > >
> > > > > As I do not have direct access to my server's settings (such as[/color]
> > editing[color=darkred]
> > > > 404
> > > > > pages etc), I cannot do it the "normal" way.
> > > > >
> > > > > Anyone have any ideas, suggestions, scripts, reference links?
> > > > >
> > > > > --
> > > > > Regards
> > > > >
> > > > > Steven Burn
> > > > > Ur I.T. Mate Group CEO
> > > > > www.it-mate.co.uk
> > > > >
> > > > > Disclaimer:
> > > > > I know I'm probably wrong, I just like taking part :o)
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> > >[/color]
> >
> >
> >[/color]
>
>
>[/color]



  #17  
Old July 19th, 2005, 09:22 AM
Steven Burn
Guest
 
Posts: n/a
Default Re: Can you help?

I'm using Inspiratech Ltd (www.inspiratech.uk.com) for my hosting and domain
name

--
Regards

Steven Burn
Ur I.T. Mate Group CEO
www.it-mate.co.uk

Disclaimer:
I know I'm probably wrong, I just like taking part :o)


Chris Barber <chris@blue-canoe.co.uk.NOSPAM> wrote in message
news:eJIsWG9nDHA.1728@TK2MSFTNGP09.phx.gbl...[color=blue]
> So who is your ISP?
> They should provide access to the nameserver?
>
> Chris.
>
> "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> news:eIc0EB9nDHA.2064@TK2MSFTNGP11.phx.gbl...
> hehe, don't have access to those either :o(
>
> --
> Regards
>
> Steven Burn
> Ur I.T. Mate Group CEO
> www.it-mate.co.uk
>
> Disclaimer:
> I know I'm probably wrong, I just like taking part :o)
>
>
> Chris Barber <chris@blue-canoe.co.uk.NOSPAM> wrote in message
> news:OaSpgW5nDHA.2424@TK2MSFTNGP10.phx.gbl...[color=green]
> > How about you change the DNS entries for that host header to point to an[/color]
> web[color=green]
> > server that will (OK, you'd have to find an ASP host that's willing to
> > provide the redirection or a free host on apache etc.)?
> > This is of course presuming you have access to your domains DNS entries[/color][/color]
/[color=blue][color=green]
> > nameserver.
> >
> > Chris.
> >
> > "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> > news:OdZz8e1nDHA.2592@TK2MSFTNGP10.phx.gbl...
> > It's an IIS server.
> >
> > I've spoken with my host about it but, unfortunately, they aren't able[/color][/color]
to[color=blue][color=green]
> > provide that service for me.
> >
> > Thanks anyway.
> >
> > --
> > Regards
> >
> > Steven Burn
> > Ur I.T. Mate Group CEO
> > www.it-mate.co.uk
> >
> > Disclaimer:
> > I know I'm probably wrong, I just like taking part :o)
> >
> >
> > Chris Barber <chris@blue-canoe.co.uk.NOSPAM> wrote in message
> > news:#Ch5hZ1nDHA.1408@TK2MSFTNGP11.phx.gbl...[color=darkred]
> > > I believe that the custom 404 and Global.asa methods are the only[/color][/color]
> methods[color=green][color=darkred]
> > > available in IIS for non .asp (and .asp of course) pages and .asp[/color][/color][/color]
pages[color=blue][color=green][color=darkred]
> > > respectively.
> > >
> > > If it's apache then you may be able to do it with the .htaccess file?
> > >
> > > You may be able to ask your host to set it up for you - might charge[/color][/color][/color]
you[color=blue][color=green][color=darkred]
> > > though?
> > >
> > > Chris.
> > >
> > > "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> > > news:eAXH%23T1nDHA.2732@TK2MSFTNGP11.phx.gbl...
> > > Chris, unfortunately, they're a mix of .jpg, .gif and .html pages.
> > >
> > > I've read about the custom 404 pages, but from what I can gather, they[/color]
> > need[color=darkred]
> > > to be set at server level, and can't be simply "dropped" into a[/color][/color][/color]
folder.[color=blue][color=green][color=darkred]
> > > Unfortunately I don't have access to my site's actual server settings.
> > >
> > > Basically what I need is a re-direct script that will re-direct[/color][/color]
> regardless[color=green][color=darkred]
> > > of whether file's are in the folder or not. using a default.asp or
> > > index.html etc page is fine, however, that won't trap any of the other[/color]
> > pages[color=darkred]
> > > accessed.....(hope I am making sense?)
> > >
> > > --
> > > Regards
> > >
> > > Steven Burn
> > > Ur I.T. Mate Group CEO
> > > www.it-mate.co.uk
> > >
> > > Disclaimer:
> > > I know I'm probably wrong, I just like taking part :o)
> > >
> > >
> > > Chris Barber <chris@blue-canoe.co.uk.NOSPAM> wrote in message
> > > news:#IZ5WP1nDHA.2272@tk2msftngp13.phx.gbl...
> > > > If its an ASP site and the pages are .asp then use the Global.asa[/color][/color][/color]
and[color=blue][color=green][color=darkred]
> > > > redirect in the Session_OnStart sub. That will kick off every time[/color][/color][/color]
an[color=blue][color=green]
> > ASP[color=darkred]
> > > > page is requested with no session active.
> > > > You can also use a custom 404 error page to redirect (that's the way[/color][/color]
> MS[color=green]
> > do[color=darkred]
> > > > it I believe).
> > > >
> > > > See:
> > > > http://www.plinko.net/404/howto.asp?article=5
> > > >[/color][/color]
> http://hotwired.lycos.com/webmonkey/...tml?tw=backend[color=green][color=darkred]
> > > > http://www.highcontext.com/Articles/howto/404.php
> > > >
> > > > Hope this helps,
> > > >
> > > > Chris.
> > > >
> > > > "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> > > > news:%230%23Fkh0nDHA.2012@TK2MSFTNGP12.phx.gbl...
> > > > Yes but, people and search engines are still trying to access the[/color][/color][/color]
old[color=blue][color=green][color=darkred]
> > > pages
> > > >
> > > > --
> > > > Regards
> > > >
> > > > Steven Burn
> > > > Ur I.T. Mate Group CEO
> > > > www.it-mate.co.uk
> > > >
> > > > Disclaimer:
> > > > I know I'm probably wrong, I just like taking part :o)
> > > >
> > > >
> > > > Jeff Clark <JeffC@NO_SPAMreturnventures.com> wrote in message
> > > > news:uNTA$e0nDHA.708@TK2MSFTNGP10.phx.gbl...
> > > > > have an asp page called default.asp.
> > > > >
> > > > > In that page put <%response.redirect http://www.mysite%>
> > > > >
> > > > > Who cares whether script detects that the folder is empty. The[/color][/color]
> folder[color=green][color=darkred]
> > > is
> > > > > empty anyway..??..??..!!?>??
> > > > >
> > > > > wtf
> > > > > You just said you will empty the folder
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > "Steven Burn" <ceo@PVT_it-mate.co.uk> wrote in message
> > > > > news:Ob7jKa0nDHA.2500@TK2MSFTNGP10.phx.gbl...
> > > > > > Basically, what I'm looking for, is some sort of script that I[/color][/color][/color]
can[color=blue][color=green][color=darkred]
> > > drop
> > > > > into
> > > > > > a folder on my server, and when someone visits that specific[/color][/color]
> folder[color=green][color=darkred]
> > > (I'm
> > > > > > going to remove all file's from the folder as I've moved the[/color][/color]
> site),[color=green][color=darkred]
> > > the
> > > > > > script detects the file is not there, and auto-redirects them to[/color][/color]
> the[color=green][color=darkred]
> > > new
> > > > > > location (kind of like a "clever" 404 page).
> > > > > >
> > > > > > As I do not have direct access to my server's settings (such as
> > > editing
> > > > > 404
> > > > > > pages etc), I cannot do it the "normal" way.
> > > > > >
> > > > > > Anyone have any ideas, suggestions, scripts, reference links?
> > > > > >
> > > > > > --
> > > > > > Regards
> > > > > >
> > > > > > Steven Burn
> > > > > > Ur I.T. Mate Group CEO
> > > > > > www.it-mate.co.uk
> > > > > >
> > > > > > Disclaimer:
> > > > > > I know I'm probably wrong, I just like taking part :o)
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >[/color]
> >
> >
> >[/color]
>
>
>[/color]


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles