redirects only working for some virtual hosts

redirects only working for some virtual hosts

am 26.01.2010 02:34:39 von RYAN vAN GINNEKEN

I am using Ubuntu 8.04 server LTS with Apache Server version: Apache/2.2.8 (Ubuntu) Some of my virtual servers redirect and some do not for each server i have added a A record in the Bind DNS server like this one.

mail.domain.com. IN A x.x.x.x

and a redirect virtual host as well


ServerName mail.archesshoes.ca
Redirect permanent / https://mx1.canmail.org/


Please help as i have been struggling with this problem for a long time and do not know what else to try for troubleshooting.

This functionality is required to setup an easy way for clients to remember there webmail interface

Computer King CaN-Mail Surveillance King
http://computerking.ca http://canmail.org http://surveillanceking.net

Surveillance - Sales Service - Hosting Backup
NEW!!! Internet Based Surveillance Systems
Custom Service Pac kages
Secure IMAP Email - Automated Remote Backups - Photo Blogs - Online Accounting Packages

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: redirects only working for some virtual hosts

am 26.01.2010 03:06:17 von Res

Hi Ryan,

On Mon, 25 Jan 2010, RYAN vAN GINNEKEN wrote:

>
> ServerName mail.archesshoes.ca
> Redirect permanent / https://mx1.canmail.org/
>


It is a very BAD idea to share a https server IP with an IP on a
non-ssl http server (ideally, they should be two separate machines),
I suspect this is where it might be going haywire, if you have another
IP, put the secure server on that.

I just tried to hit it, and my DNS is not getting the instruction to
lookup canmail.

Did the logs show anything?

--
Res

"What does Windows have that Linux doesn't?" - One hell of a lot of bugs!

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: redirects only working for some virtual hosts

am 26.01.2010 05:09:11 von RYAN vAN GINNEKEN

----- Original Message -----
From: "Res"
To: users@httpd.apache.org, "THE KING"
Sent: Monday, January 25, 2010 7:06:17 PM
Subject: Re: [users@httpd] redirects only working for some virtual hosts

Hi Ryan,

On Mon, 25 Jan 2010, RYAN vAN GINNEKEN wrote:

>>
>? ServerName mail.archesshoes.ca
>> Redirect permanent / https://mx1.canmail.org/
>?


>It is a very BAD idea to share a https server IP with an IP on a
>non-ssl http server (ideally, they should be two separate machines),

Not 2 different machines, but 2 different instances of Apache running.

>I suspect this is where it might be going haywire, if you have another
>IP, put the secure server on that.

hmmm I might do that, but would be a real hassle, for now i would like to keep things the way they are. Besides some virtual hosts are working fine!

>I just tried to hit it, and my DNS is not getting the instruction to
>lookup canmail.

not sure what you mean by that mx1.canmail.org right? DNS should be working ok

>Did the logs show anything?

nothing in any of the apache logs forget how to check the bind stuff just checking into that now.

--
Res

"What does Windows have that Linux doesn't?" - One hell of a lot of bugs!

Computer King CaN-Mail Surveillance King
http://computerking.ca http://canmail.org http://surveillanceking.net

Surveillance - Sales Service - Hosting Backup
NEW!!! Internet Based Surveillance Systems
Custom Service Pac kages
Secure IMAP Email - Automated Remote Backups - Photo Blogs - Online Accounting Packages

----- "Res" wrote:

> Hi Ryan,
>
> On Mon, 25 Jan 2010, RYAN vAN GINNEKEN wrote:
>
> >
> > ServerName mail.archesshoes.ca
> > Redirect permanent / https://mx1.canmail.org/
> >

>
> It is a very BAD idea to share a https server IP with an IP on a
> non-ssl http server (ideally, they should be two separate machines),
> I suspect this is where it might be going haywire, if you have another
>
> IP, put the secure server on that.
>
> I just tried to hit it, and my DNS is not getting the instruction to
> lookup canmail.
>
> Did the logs show anything?
>
> --
> Res
>
> "What does Windows have that Linux doesn't?" - One hell of a lot of
> bugs!

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: redirects only working for some virtual hosts

am 27.01.2010 11:12:54 von Krist van Besien

On Tue, Jan 26, 2010 at 2:34 AM, RYAN vAN GINNEKEN wrote:

> Please help as i have been struggling with this problem for a long time and do not know what else to try for troubleshooting.

Are you sure that the requests are going to the virtualhost you expect
them to go to?


What is the output of httpd -S ?

Krist

--
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org