[TriLUG] Default web root
Shane O.
shaneodonnell at gmail.com
Wed Jun 11 17:50:17 EDT 2008
While I can only 100% guarantee that I was confused by your description of
what you're trying to do, I can suggest mod_rewrite as a possible cure for
your ills...
Details here: http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
Shane O.
On Wed, Jun 11, 2008 at 4:58 PM, Brian McCullough <bdmc at bdmcc-us.com> wrote:
> Folks,
>
> I am trying to find the right question to ask, so that the search
> engines can educate me.
>
> I _think_ I have seen something like this somewhere, but can't remember
> where, or if, I saw it.
>
>
> I am looking for a way to properly turn relative URIs into proper, fully
> qualified, URIs. What I seem to remember is a ( perhaps JavaScript )
> value that you can set ( maybe a meta-tag? ) a value in the web page
> that can be used by the browser to resolve any URIs that aren't actually
> served by the server providing the page.
>
> For instance, I have two servers, east-coast.example.com and
> west-coast.example.com. ( I know that there are much better ways to
> resolve the example problem, but reality isn't really an example. )
>
> I am trying to serve all pages from data that is only in the west-coast
> server. Therefore, a URI like "href=/tets1/image1.png" would be
> acceptable on the west-coast server, but should read:
> "href=http://west-coast.example.com/tets1/image1.png" on the east-coast
> machine.
>
>
> Am I ringing any bells with anybody, or am I just dreaming?
>
>
> Thanks,
> Brian
>
> --
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG FAQ : http://www.trilug.org/wiki/Frequently_Asked_Questions
>
--
Shane O.
========
Shane O'Donnell
shaneodonnell at gmail.com
====================
More information about the TriLUG
mailing list