AW: [users@httpd] redirect document root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx] 
Gesendet: Dienstag, 7. Juni 2005 15:17
An: users@xxxxxxxxxxxxxxxx
Betreff: Re: [users@httpd] redirect document root


On 6/7/05, Heiner.Amthauer@xxxxxxxxxxxxx <Heiner.Amthauer@xxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux