Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

301 redirect

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Bandwith with Apache  
Author Message
user2450

External


Since: Aug 29, 2003
Posts: 10



(Msg. 1) Posted: Wed Jun 30, 2004 3:06 pm
Post subject: 301 redirect
Archived from groups: alt>apache>configuration (more info?)

how can i get the below site to do a 301 redirect ?


<VirtualHost *>
ServerAdmin support RemoveThis @xxx.co.uk
DocumentRoot /usr/home/xxx
ServerName www.xxx.co.uk
ErrorLog logs/xxx-error_log
CustomLog logs/xxx-access.log "combined"
scriptalias /cgi-bin/ /usr/home/xxx/cgi-bin/
DirectoryIndex index.htm index.html index.php
</VirtualHost>

 >> Stay informed about: 301 redirect 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Wed Jun 30, 2004 3:06 pm
Post subject: Re: 301 redirect [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Andy <me DeleteThis @privacy.net> wrote:
 > how can i get the below site to do a 301 redirect ?

That translated means... what?
Davide

--
| A little inaccuracy sometimes saves tons of explanation. -- H. H.
| Munroe
|
|<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: 301 redirect 
Back to top
Login to vote
kd6lvw

External


Since: Nov 02, 2003
Posts: 31



(Msg. 3) Posted: Wed Jun 30, 2004 3:54 pm
Post subject: Re: 301 redirect [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Wed, 30 Jun 2004, Andy wrote:
 > "Davide Bianchi" <davideyeahsure.DeleteThis@onlyforfun.net> wrote in message
 > news:2kfmv2F1ngrlU2@uni-berlin.de...
  > > Andy <me.DeleteThis@privacy.net> wrote:
   > > > how can i get the below site to do a 301 redirect ?
  > >
  > > That translated means... what?
  > > Davide
  > >
 >
 > hi
 > sorry i thought what i was asking was clear.
 > i want to apply a 301 redirect on this domain/site to a new domain/website
 > i tried a .htaccess file but as soon as i upload the .htaccess file to the
 > home directory the file just disappears.
 > i was hoping i could do it in the above virtual host config file.

I think that what you want is to use the "RedirectMatch" directive.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: 301 redirect 
Back to top
Login to vote
user2450

External


Since: Aug 29, 2003
Posts: 10



(Msg. 4) Posted: Wed Jun 30, 2004 3:57 pm
Post subject: Re: 301 redirect [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Davide Bianchi" <davideyeahsure RemoveThis @onlyforfun.net> wrote in message
news:2kfmv2F1ngrlU2@uni-berlin.de...
 > Andy <me RemoveThis @privacy.net> wrote:
  > > how can i get the below site to do a 301 redirect ?
 >
 > That translated means... what?
 > Davide
 >

hi
sorry i thought what i was asking was clear.
i want to apply a 301 redirect on this domain/site to a new domain/website
i tried a .htaccess file but as soon as i upload the .htaccess file to the
home directory the file just disappears.
i was hoping i could do it in the above virtual host config file.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: 301 redirect 
Back to top
Login to vote
user2450

External


Since: Aug 29, 2003
Posts: 10



(Msg. 5) Posted: Sat Jul 10, 2004 6:24 pm
Post subject: Re: 301 redirect [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Andy" <me.TakeThisOut@privacy.net> wrote in message
news:1088593569.2691.0@damia.uk.clara.net...
 > how can i get the below site to do a 301 redirect ?
 >
 >
 > <VirtualHost *>
 > ServerAdmin support.TakeThisOut@xxx.co.uk
 > DocumentRoot /usr/home/xxx
<font color=purple> > ServerName <a style='text-decoration: underline;' href="http://www.xxx.co.uk</font" target="_blank">www.xxx.co.uk</font</a>>
 > ErrorLog logs/xxx-error_log
 > CustomLog logs/xxx-access.log "combined"
 > scriptalias /cgi-bin/ /usr/home/xxx/cgi-bin/
 > DirectoryIndex index.htm index.html index.php
 > </VirtualHost>
 >


The answer was insert this line:

redirect 301 / <a style='text-decoration: underline;' href="http://www.xxx.com" target="_blank">http://www.xxx.com</a>

cant believe no one in this group knew this!. a useless group.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: 301 redirect 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
How to redirect - I'm transferring my site from static pages which are all called www.mysite.com/[productcode].html, to a PHP solution that will have one standard product page (product.php) and will take the product code to display as a parameter eg..

URL Redirect - Thanks in advance for reading. I have a question about redirecting URLs on an Apache system. (I am running 1.3.26.) I have multiple URLs that are resolving to one IP address. I would like to have Apache redirect all of these URLs to another URL that....

redirect.pl - help - Greetings, I have apache 1.3 installed on FreeBSD 4.7. I'm trying to find a redirect.pl for my cgi-bin (need it for a web page). where is this located ? Or, where can I get it ? thanks, -D

redirect - Hi , I have apache in my win2000 for server web with +/- 60 sites. I must set config for this : All people that connect to my fixed ip to external must redirect to dir : /public/ Only the local pc can navigate inside all server dir ??? Thks

url redirect in Apache - Hi there I have a problem when trying to redirect an URL. So please help me if you can, because I am going crazy on this.... The platform is an IBM Apache HTTP Server V. 1.3 and an IBM Application Server V. 4.x running a Devine solution. Now my..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]