Re: O.T. Redirecting all files to new URL

From: Date: Tue, 12 Sep 2000 21:48:16 +0000
Subject: Re: O.T. Redirecting all files to new URL
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-16446@lists.php.net to get a copy of this message
What about using ErrorDocument 404 /index.html you could stick that in a <directory></direcory> or even <VirtualHost></VirtualHost> container. -- Kind Regards Aaron Sinclair Webmaster, Regional Communications Mercy Ships-Pacific http://www.mercyships-pacific.org.nz > From: Jack Lauman <jlauman@nwcascades.com> > Organization: nwcascades.com > Date: Tue, 12 Sep 2000 14:22:15 -0700 > To: tempest tempestOK <tempest0038@hotmail.com> > Cc: php-general@lists.php.net > Subject: Re: [PHP] O.T. Redirecting all files to new URL > > The example shown only refers existing pages to the exact same page > at a new location. In this instance the original pages do not have > corresponding new pages, and hense generates a 404 error. > > Anybody have any other suggestions? > > Jack > > tempest tempestOK wrote: >> >> Check out the redirect directive for apache: >> http://www.apache.org/docs/mod/mod_alias.html#redirect >> maybe that will help >> >> John >> >>> From: Jack Lauman <jlauman@nwcascades.com> >>> To: php-general <php-general@lists.php.net> >>> Subject: [PHP] O.T. Redirecting all files to new URL >>> Date: Tue, 12 Sep 2000 09:01:45 -0700 >>> >>> I'd appreciate some help with this... >>> >>> I replaced 2 existing web sites with a new one. The file layout is not >>> the same as it used to be so I need to redirect all requests files in >>> the old web sites to the index.html of the new site. >>> >>> After reviewing the mod_rewrite users guide, I could not find any >>> examples of how to do what is required inside of .htaccess >>> >>> I'm sure this is a simple fix, but I've got the customer breathing >>> down my neck about it and I'd be grateful for a solution. >>> >>> Jack >>> >>> -- >>> PHP General Mailing List (http://www.php.net/) >>> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >>> For additional commands, e-mail: php-general-help@lists.php.net >>> To contact the list administrators, e-mail: php-list-admin@lists.php.net >>> >> >> _________________________________________________________________________ >> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. >> >> Share information about yourself, create your own public profile at >> http://profiles.msn.com. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#16446) next »