Yes.

   # change users.services.openoffice.org/... to forum.openoffice.org/...
   RewriteCond ${lowercase:%{HTTP_HOST}} ^users\.services\.openoffice\.org$
   RewriteRule ^users\.services\.openoffice\.org/(.*) 
http://forum.openoffice.org/$1 [NE,L,R=permanent]

On Aug 15, 2012, at 3:08 PM, TJ Frazier wrote:

> Uh, Dave,
> Do you mean s/wiki/forum/?
> /tj/
> 
> On 8/15/2012 12:55, Dave Fisher wrote:
>> 
>> On Aug 15, 2012, at 9:48 AM, Dave Fisher wrote:
>> 
>>> 
>>> On Aug 15, 2012, at 9:37 AM, drew jensen wrote:
>>> 
>>>> On Tue, 2012-08-14 at 17:08 -0700, Dave Fisher wrote:
>>>>> On Aug 14, 2012, at 4:41 PM, Andrea Pescetti wrote:
>>>>> 
>>>>>> On 14/08/2012 RGB ES wrote:
>>>>>>> 2012/8/14 RGB ES:
>>>>>>>> Good! But I'm finding a weird behaviour on the forums... If I enter on
>>>>>>>> the old url
>>>>>>>> http://user.services.openoffice.org/
>>>>>>>> I'm NOT redirected. If I open bot, the new and the old address and
>>>>>>>> log-in in the new, in the old one I'm still logged off
>>>>>> 
>>>>>> I would consider this to be normal behavior. Authentication is probably 
>>>>>> managed through a cookie that is sent back to the originating site (the 
>>>>>> originating subdomain) only. So user.services.openoffice.org has no way 
>>>>>> to know that you are logged in at forum.openoffice.org, unless we 
>>>>>> completely rewrite all URLs in the form 
>>>>>> user.services.openoffice.org/SOMETHING to forum.openoffice.org/SOMETHING 
>>>>>> .
>>>>>> 
>>>>>>> Not only confusing, but also problematic: if you log-in on the new
>>>>>>> address and then click on an old link that cross reference to another
>>>>>>> post you'll arrive to a page on which you are not logged in any
>>>>>>> more!
>>>>>> 
>>>>>> If we have hardcoded links that are not rewritten (i.e., if pages on 
>>>>>> forum.openoffice.org contain "internal" links that reference 
>>>>>> user.services.openoffice.org explicitly), then it would be better to use 
>>>>>> an "external" redirect as explained above.
>>>>> 
>>>>> Currently both user.services.openoffice.org and forum.openoffice.org are 
>>>>> directed to the same IP by DNS.
>>>>> 
>>>>> Also wiki.services.openoffice.org and wiki.openoffice.org are directed to 
>>>>> the same IP by DNS.
>>>>> 
>>>>> What is different is that for the wiki the Apache Traffic Server is in 
>>>>> front and it does do the necessary redirection to wiki.openoffice.org.
>>>>> 
>>>>> Should we do something similar for the user forums?
>>>>> 
>>>>> Regards,
>>>>> Dave
>>>>> 
>>>>>> 
>>>>>> Regards,
>>>>>> Andrea.
>>>>> 
>>>> 
>>>> Hi,
>>>> 
>>>> Just checked and the phpBB installation, for En at least but I'd assume
>>>> same for all, list the base URL of the site as
>>>> user.services.openoffice.org,  all generated links then use this.
>>>> 
>>>> Isn't it proper now to use the forum.openoffice.org address?
>>>> 
>>>> Don't suppose doing so would help alleviate the currently discussed
>>>> problem though.
>>> 
>>> It would be proper in combination with a virtual host entry in the 
>>> ooo-fourms' apache2.conf file for wiki.services.openoffice.org and then to 
>>> redirect all of that traffic to wiki.openoffice.org permanently.
>> 
>>    # change wiki.services.openoffice.org/... to wiki.openoffice.org/...
>>    RewriteCond ${lowercase:%{HTTP_HOST}} ^wiki\.services\.openoffice\.org$
>>    RewriteRule ^wiki\.services\.openoffice\.org/(.*) 
>> http://wiki.openoffice.org/$1 [NE,L,R=permanent]
>> 
>> 
>> 
>>> 
>>>> 
>>>> However - it is also possible to configure phpBB such that the software
>>>> determines, at runtime versus a hard coded setting, what the proper base
>>>> domain name is - now that might be worth a test..
>>> 
>>>> @imacat - what do you think?
>>> 
>>> Yes, what do you think?
>>> 
>>> Regards,
>>> Dave
>>> 
>>>> 
>>>> Thanks,
>>>> 
>>>> //drew
>>>> 
>>>> 
>>> 
>> 
>> 
>> 
> 
> 

Reply via email to