[ 
https://issues.apache.org/jira/browse/LABS-363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Simone Gianni resolved LABS-363.
--------------------------------

    Resolution: Fixed

added two new properties :
- web.serverurl can contain a full url of the server, like 
http://www.mysite.com:80/ etc.. 
- web.context can contain the context part, if needed, otherwise can be set 
empty to indicate the the application is reachable at the root context of the 
given server url

If one (or both) are not present in the config file, then common detection 
takes place, which could lead to an incorrect http://localhost:8080/ when using 
mod_proxy.

> [web] Override default host/context detection to support mod_proxy and ajp 
> connectors
> -------------------------------------------------------------------------------------
>
>                 Key: LABS-363
>                 URL: https://issues.apache.org/jira/browse/LABS-363
>             Project: Labs
>          Issue Type: Bug
>          Components: Magma
>    Affects Versions: Current
>            Reporter: Simone Gianni
>            Assignee: Simone Gianni
>             Fix For: Current
>
>
> When using mod_proxy or ajp connector, sometimes methods like getRequestURL, 
> getRemoteAddr etc.. return wrong values. Provide a way to override them using 
> a setting.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: labs-unsubscr...@labs.apache.org
For additional commands, e-mail: labs-h...@labs.apache.org

Reply via email to