RE: [users@httpd] redirect document root

2005-06-07 Thread PMilanese
You are better off writing something to change all of the code (search/replace) and make it all relative (site independent). Either that, or just put it where it likes to be. If you have it setup as a vhost or the site is on its own, you can just do a redirect into the /ao/ directory, and it may

RE: [users@httpd] redirect document root

2005-06-07 Thread PMilanese
How about this one: mv ao/* . I'd figure its absolute links causing the problem after reading this a few times. If you run a rewrite as you state, it will redirect the root only. Meaning if you go to the site's root, it will push you to /ao/, but any links you click (if it is not a relative site

Re: [users@httpd] redirect document root

2005-06-07 Thread Joshua Slive
On 6/7/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > e.g.: > > the login page is at login/main.jsp. It loads a frameset. Generally, some of > the links are absolute, like /ao_unten.htm, others are relative like > ../login/login_presubmit.jsp. > > Accessing /login/main.jsp results in > > GET

AW: [users@httpd] redirect document root

2005-06-07 Thread Heiner . Amthauer
e.g.: the login page is at login/main.jsp. It loads a frameset. Generally, some of the links are absolute, like /ao_unten.htm, others are relative like ../login/login_presubmit.jsp. Accessing /login/main.jsp results in GET /login/main.jsp HTTP/1.1" 404 332 Heiner -Ursprüngliche Nachricht-

Re: [users@httpd] redirect document root

2005-06-07 Thread Joshua Slive
On 6/7/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hi there, > > I have an application running at the web context /ao/, however, it is > originally designed to run on /. I've tried to use the rewriting-engine with > the statement > > RewriteRule ^/$ /ao/ [R] > > however, it does

[users@httpd] redirect document root

2005-06-07 Thread Heiner . Amthauer
Title: redirect document root Hi there, I have an application running at the web context /ao/, however, it is originally designed to run on /. I've tried to use the rewriting-engine with the statement RewriteRule ^/$ /ao/ [R] however, it does not work. Are there any other tricks? regard