[BlueOnyx:26472] Re: minor Roundcube issue

2023-09-12 Thread Michael Stauber via Blueonyx

Hi Darren,


  I couldn't find anything in /etc/httpd/conf.d/ which indicated any kind
of rewrite, and I also checked out the web directories of the virtual sites.
They do all have the webmail directory, but I'm not seeing anything which
could be forcing a redirect.


Ok, so when you point to browser to the domain of a Vsite and add 
/webmail to it, then I suppose it loads the RoundCube install of that 
Vsite, right?



  The only difference I am observing between my sites which do rewrite
the URL for the webmail and those which do not is this: the vsites which do
rewrite the URL don't have a real website on this Blue Onyx. One of these
sites only has the under construction website, but I guess that counts. All
the ones which suffer the URL rewrite have their web hosting done on some
other server outside of our network.


Let's break this down:

- Site is not hosted on the BlueOnyx
- DNS points to the external server where that site is located
- http:///webmail brings up /webmail on the primary Vsite
  of the BlueOnyx?

I fail to see how *anything* on the BlueOnyx itself could facilitate 
that. If the DNS A record points to the external server and a web 
request to http:///webmail is redirected to the BlueOnyx?


In that case the redirection happens on the eternal server. Possibly in 
a .htaccess in the webspace of that site, possibly in the Apache or 
Nginx configuration of the external server.


So the next step would be to check these 2-3 things on one of the 
external servers to see if you find anything.


--
With best regards

Michael Stauber
___
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx


[BlueOnyx:26471] Re: minor Roundcube issue

2023-09-12 Thread Darren Shea via Blueonyx
Michael,
 I couldn't find anything in /etc/httpd/conf.d/ which indicated any kind
of rewrite, and I also checked out the web directories of the virtual sites.
They do all have the webmail directory, but I'm not seeing anything which
could be forcing a redirect.

 The only difference I am observing between my sites which do rewrite
the URL for the webmail and those which do not is this: the vsites which do
rewrite the URL don't have a real website on this Blue Onyx. One of these
sites only has the under construction website, but I guess that counts. All
the ones which suffer the URL rewrite have their web hosting done on some
other server outside of our network.

Thanks,
    Darren

-Original Message-
From: Blueonyx [mailto:blueonyx-boun...@mail.blueonyx.it] On Behalf Of
blueonyx-requ...@mail.blueonyx.it
Sent: Tuesday, September 12, 2023 11:38 AM
To: blueonyx@mail.blueonyx.it
Subject: Blueonyx Digest, Vol 177, Issue 16


Today's Topics:

   4. [BlueOnyx:26468] minor Roundcube problem (Darren Shea)
   5. [BlueOnyx:26469] Re: minor Roundcube problem (Larry Smith)
   6. [BlueOnyx:26470] Re: minor Roundcube problem (Michael Stauber)


--

Message: 6
Date: Tue, 12 Sep 2023 11:38:24 -0500
From: Michael Stauber 
To: blueonyx@mail.blueonyx.it
Subject: [BlueOnyx:26470] Re: minor Roundcube problem
Message-ID: 
Content-Type: text/plain; charset=UTF-8; format=flowed

Hi Darren,

> This BlueOnyx box hosts our main website, as well as all our hosted
websites
> and email clients. We spun up a separate web server for our main website,
> but when I updated the BlueOnyx's DNS for the new primary destination, we
> discovered a problem:
> 
> When any of our hosting clients try to access the system for webmail, the
> server redirects them to our primary webpage, which was fine when it was
> serving the relevant webpage, but now that the DNS for the primary page
> points to the new standalone web server, this basically breaks webmail for
> all our hosted clients - when they go to www.mywebsite.com/webmail (just
an
> example), Blue Onyx sends them to our new page, which doesn't have the
> webmail installed.

The RoundCube package from the shop installs RoundCube under /roundcube 
into each Vsite on the server. So out of the box there is no redirect 
that causes the behavior you're describing.

However, it could be that your Apache configuration has a custom rewrite 
rule that redirects any /webmail calls somewhere else - for all sites.

Check the directory /etc/httpd/conf.d/ and take a look at the config 
files in there to see if there is a rule with /webmail in it. If so, you 
might want to remove it.

-- 
With best regards

Michael Stauber

--

Subject: Digest Footer

___
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx

--

End of Blueonyx Digest, Vol 177, Issue 16
*


___
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx


[BlueOnyx:26470] Re: minor Roundcube problem

2023-09-12 Thread Michael Stauber via Blueonyx

Hi Darren,


This BlueOnyx box hosts our main website, as well as all our hosted websites
and email clients. We spun up a separate web server for our main website,
but when I updated the BlueOnyx's DNS for the new primary destination, we
discovered a problem:

When any of our hosting clients try to access the system for webmail, the
server redirects them to our primary webpage, which was fine when it was
serving the relevant webpage, but now that the DNS for the primary page
points to the new standalone web server, this basically breaks webmail for
all our hosted clients - when they go to www.mywebsite.com/webmail (just an
example), Blue Onyx sends them to our new page, which doesn't have the
webmail installed.


The RoundCube package from the shop installs RoundCube under /roundcube 
into each Vsite on the server. So out of the box there is no redirect 
that causes the behavior you're describing.


However, it could be that your Apache configuration has a custom rewrite 
rule that redirects any /webmail calls somewhere else - for all sites.


Check the directory /etc/httpd/conf.d/ and take a look at the config 
files in there to see if there is a rule with /webmail in it. If so, you 
might want to remove it.


--
With best regards

Michael Stauber
___
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx


[BlueOnyx:26469] Re: minor Roundcube problem

2023-09-12 Thread Larry Smith via Blueonyx
Darren,

  Hmmm, quick and easy is to rename the original something
other than www - EG  org.mywebsite.com, add the appropriate
DNS for org.mywebsite.com and you and your clients should then
be able to get to org.mywebsite.com/webmail.

-- 
Larry Smith
lesm...@ecsis.net

On Tue September 12 2023 11:21, Darren Shea via Blueonyx wrote:
> I just ran into a small snag on my 5209R system with Roundcube installed,
> and I was wondering if there may be a simple solution to this issue...
>
> This BlueOnyx box hosts our main website, as well as all our hosted
> websites and email clients. We spun up a separate web server for our main
> website, but when I updated the BlueOnyx's DNS for the new primary
> destination, we discovered a problem:
>
> When any of our hosting clients try to access the system for webmail, the
> server redirects them to our primary webpage, which was fine when it was
> serving the relevant webpage, but now that the DNS for the primary page
> points to the new standalone web server, this basically breaks webmail for
> all our hosted clients - when they go to www.mywebsite.com/webmail (just an
> example), Blue Onyx sends them to our new page, which doesn't have the
> webmail installed.
>
> Is there a way to change the default webpage Blue Onyx redirects to? If I
> could change that default to a different site (which hasn't changed
> servers), it should work normally.
>
> Thanks in advance,
>     Darren
>
>
> ___
> Blueonyx mailing list
> Blueonyx@mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx

___
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx


[BlueOnyx:26468] minor Roundcube problem

2023-09-12 Thread Darren Shea via Blueonyx
I just ran into a small snag on my 5209R system with Roundcube installed,
and I was wondering if there may be a simple solution to this issue...

This BlueOnyx box hosts our main website, as well as all our hosted websites
and email clients. We spun up a separate web server for our main website,
but when I updated the BlueOnyx's DNS for the new primary destination, we
discovered a problem:

When any of our hosting clients try to access the system for webmail, the
server redirects them to our primary webpage, which was fine when it was
serving the relevant webpage, but now that the DNS for the primary page
points to the new standalone web server, this basically breaks webmail for
all our hosted clients - when they go to www.mywebsite.com/webmail (just an
example), Blue Onyx sends them to our new page, which doesn't have the
webmail installed.

Is there a way to change the default webpage Blue Onyx redirects to? If I
could change that default to a different site (which hasn't changed
servers), it should work normally.

Thanks in advance,
    Darren


___
Blueonyx mailing list
Blueonyx@mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx