[opencms-dev] multisite: wrong effects on correct settings 2
Edwin Chiu
edwin.chiu at gmail.com
Tue Jan 12 12:27:44 CET 2010
Hi Paul,
Sorry for mislead. Let's say my context root is "/opencms" and the opencms
servlet is "/pages". Actually my redirection path is like this.
response.sendRedirect(request.getContextPath() + "/pages/en/index.html");
I think the above setting cannot redirect the page properly in SH's config.
It's only work response.sendRedirect("/en/index.html");
Of course, you can still using response.sendRedirect("/en/index.html"). But
I want to isolate my application and apache httpd, so no code is depending
on apache httpd. And I can run my site even only on Tomcat.
In between,without Paul's answer, I know the page is created by OpenCms
7.5.1. Because I can see the server by viewing the response header in
FireBug. I changed the server name in opencms.properties. It's good for
preventing hackers to know much about your system. :-D
Thanks
Edwin
Paul-Inge Flakstad wrote:
>
> Yes, it is - both the redirect JSP and everything else.
>
> -Paul
>
>> -----Original Message-----
>> From: opencms-dev-bounces at opencms.org
>> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of jacek
>> grzebyta (RRes-Roth)
>> Sent: 12. januar 2010 11:59
>> To: The OpenCms mailing list
>> Subject: Re: [opencms-dev] multisite: wrong effects on
>> correct settings 2
>>
>> Hi Paul,
>>
>> Is this page made using OpenCms?
>>
>> With best wishes,
>> Jacek
>>
>> -----Original Message-----
>> From: opencms-dev-bounces at opencms.org
>> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of
>> Paul-Inge Flakstad
>> Sent: 12 January 2010 10:43
>> To: The OpenCms mailing list
>> Subject: Re: [opencms-dev] multisite: wrong effects on
>> correct settings 2
>>
>> Hi again
>>
>> I am actually redirecting to "/en/", and it works (example:
>> http://fimbul.npolar.no).
>>
>> PS: You are definitively right about the many bad examples, I
>> agree with you 100% - and I appreciate your efforts to remedy that. :)
>>
>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list,
>> please visit
>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
--
View this message in context: http://old.nabble.com/FW%3A-multisite%3A-wrong-effects-on-correct-settings-2-tp27080028p27126218.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.
More information about the opencms-dev
mailing list