Subdirectory mapped to another URL
Subdirectory mapped to another URL
am 14.07.2007 06:17:08 von noob
Hi,
I need to forward (map?) a subdirectory to another url (on a different
computer). I don't want this to be a redirect (301, 302) but something that
is transparent to search engines.
So:
http://www.mysite.com/subdir/xyz.html should really pull content from
http://www.differentsite.com/xyz.html without using 'redirects'
Please help.
steve
Re: Subdirectory mapped to another URL
am 14.07.2007 06:54:06 von noob
I am reading some more about this... is it done thru mod_proxy?
"noob" wrote in message
news:139gji6nbtqud52@news.supernews.com...
> Hi,
>
> I need to forward (map?) a subdirectory to another url (on a different
> computer). I don't want this to be a redirect (301, 302) but something
> that is transparent to search engines.
>
> So:
> http://www.mysite.com/subdir/xyz.html should really pull content from
> http://www.differentsite.com/xyz.html without using 'redirects'
>
> Please help.
>
> steve
>
Re: Subdirectory mapped to another URL
am 14.07.2007 07:33:50 von petersprc
ProxyPass /my/mirror/ http://site/content/
If you want to do some fixing-up of the URLs, you can use
mod_proxy_html described here:
On Jul 14, 12:54 am, "noob" wrote:
> I am reading some more about this... is it done thrumod_proxy?
>
> "noob" wrote in message
>
> news:139gji6nbtqud52@news.supernews.com...
>
> > Hi,
>
> > I need to forward (map?) a subdirectory to another url (on a different
> > computer). I don't want this to be a redirect (301, 302) but something
> > that is transparent to search engines.
>
> > So:
> >http://www.mysite.com/subdir/xyz.html should really pull content from
> >http://www.differentsite.com/xyz.htmlwithout using 'redirects'
>
> > Please help.
>
> > steve
Re: Subdirectory mapped to another URL
am 14.07.2007 08:23:23 von noob
Thanks, Peter.
I cannot locate mod_proxy in httpd.conf. What do I have to do to include it
in apache?
Thanks, steve
"petersprc" wrote in message
news:1184391230.995637.117110@g4g2000hsf.googlegroups.com...
> ProxyPass /my/mirror/ http://site/content/
>
> If you want to do some fixing-up of the URLs, you can use
> mod_proxy_html described here:
>
>
>
> On Jul 14, 12:54 am, "noob" wrote:
>> I am reading some more about this... is it done thrumod_proxy?
>>
>> "noob" wrote in message
>>
>> news:139gji6nbtqud52@news.supernews.com...
>>
>> > Hi,
>>
>> > I need to forward (map?) a subdirectory to another url (on a different
>> > computer). I don't want this to be a redirect (301, 302) but something
>> > that is transparent to search engines.
>>
>> > So:
>> >http://www.mysite.com/subdir/xyz.html should really pull content from
>> >http://www.differentsite.com/xyz.htmlwithout using 'redirects'
>>
>> > Please help.
>>
>> > steve
>
>