httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Heiner.Amtha...@t-systems.com
Subject AW: [users@httpd] redirect document root
Date Tue, 07 Jun 2005 14:15:01 GMT
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-----
Von: Joshua Slive [mailto:jslive@gmail.com] 
Gesendet: Dienstag, 7. Juni 2005 15:17
An: users@httpd.apache.org
Betreff: Re: [users@httpd] redirect document root


On 6/7/05, Heiner.Amthauer@t-systems.com <Heiner.Amthauer@t-systems.com>
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 not work. Are there any other tricks? 

This is not a good problem description.  What exactly is the problem
you are trying to solve?  Is it absolute links in your application? 
What exactly do the links look like?  What do you get in the error and
access log when you try to run it?

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message