This is a discussion on Subdirectory mapped to another URL within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, I need to forward (map?) a subdirectory to another url (on a different computer). I don't want this ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
I am reading some more about this... is it done thru mod_proxy?
"noob" <something@something.com> 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 > |
|
|||
|
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: <http://www.wlug.org.nz/ApacheReverseProxy> On Jul 14, 12:54 am, "noob" <someth...@something.com> wrote: > I am reading some more about this... is it done thrumod_proxy? > > "noob" <someth...@something.com> 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 |
|
|||
|
Thanks, Peter.
I cannot locate mod_proxy in httpd.conf. What do I have to do to include it in apache? Thanks, steve "petersprc" <petersprc@gmail.com> wrote in message news:1184391230.995637.117110@g4g2000hsf.googlegro ups.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: > > <http://www.wlug.org.nz/ApacheReverseProxy> > > On Jul 14, 12:54 am, "noob" <someth...@something.com> wrote: >> I am reading some more about this... is it done thrumod_proxy? >> >> "noob" <someth...@something.com> 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 > > |