RE: [users@httpd] Special configuration for requests that do not match any particular virtual host? Apache 2.2

2011-06-02 Thread Geoff Millikan
>> Without the ServerName, the vhost entry matches everything. > > Everything, or the ServerName defined globally? You're right, good catch. Without the ServerName, the vhost entry matches only whatever the ServerName is defined as globally (which is the ServerName outside any containers). B

Re: [users@httpd] Special configuration for requests that do not match any particular virtual host? Apache 2.2

2011-06-02 Thread Eric Covener
On Thu, Jun 2, 2011 at 5:02 PM, Geoff Millikan wrote: > Poop.  It's a simple oversight.  Sorry everyone.  Tom Evans example works > just fine.  The example from the original post would have > worked with the addition of a *ServerName*.  Without the ServerName, the > vhost entry matches everythin

RE: [users@httpd] Special configuration for requests that do not match any particular virtual host? Apache 2.2

2011-06-02 Thread Geoff Millikan
Poop. It's a simple oversight. Sorry everyone. Tom Evans example works just fine. The example from the original post would have worked with the addition of a *ServerName*. Without the ServerName, the vhost entry matches everything. #This doesn't work RewriteEngine On RewriteRule .* htt

RE: [users@httpd] Special configuration for requests that do not match any particular virtual host? Apache 2.2

2011-06-02 Thread Geoff Millikan
> You misunderstood what Eric said. The first vhost absolutely can be > used to redirect requests to another vhost. > I don't think I can make it any clearer than that - hope that helps. Wow, thank you! And just for kicks, look back at the original post - you can see the configuration you propo

Re: [users@httpd] Special configuration for requests that do not match any particular virtual host? Apache 2.2

2011-06-02 Thread Tom Evans
On Thu, Jun 2, 2011 at 5:13 PM, Geoff Millikan wrote: >> Incorrect. The first vhost is ALWAYS used when no vhost with a >> matching host name is found - it is the catch all vhost, by >> definition. > > Yes, I totally agree.  But, the first vhost cannot be used to *redirect > requests to another v

RE: [users@httpd] Special configuration for requests that do not match any particular virtual host? Apache 2.2

2011-06-02 Thread Geoff Millikan
> Incorrect. The first vhost is ALWAYS used when no vhost with a > matching host name is found - it is the catch all vhost, by > definition. Yes, I totally agree. But, the first vhost cannot be used to *redirect requests to another vhost.* Per Eric Covener, "You can't make the catch-all vhost a

[users@httpd] error initializing: HTTPS redirected to HTTP is not supported

2011-06-02 Thread Dan
Hello all. I have a pair of apache proxy/web-app servers that simultaneously reported this error this morning. At the time logrotate was stopping and starting apache. I've never seen this error before, and teh google isn't giving me anything useful. I have no proxy statements or redirects in my co

Re: [users@httpd] Special configuration for requests that do not match any particular virtual host? Apache 2.2

2011-06-02 Thread Tom Evans
On Thu, Jun 2, 2011 at 2:40 PM, Geoff Millikan wrote: > In order to have a "catch all" vhost that redirects all hostnames to another > vhost we must capture everything with a ServerAlias. > There's no other way. Incorrect. The first vhost is ALWAYS used when no vhost with a matching host name is

RE: [users@httpd] Special configuration for requests that do not match any particular virtual host? Apache 2.2

2011-06-02 Thread Geoff Millikan
> Not sure what you mean by crash... If I put "ServerAlias *" into httpd.conf and try to restart Apache, it will not start. There's no error log as to why it will not start. > The first-listed vhost in a set of namevirtualhosts is the default. Agreed. However it was said: > You can't mak

Re: [users@httpd] how many directives can you have?

2011-06-02 Thread Eric Covener
On Wed, Jun 1, 2011 at 9:53 PM, Tommy Peterson wrote: > I think I am confused about the directive. How many can you have? > Can you list 4 or 5, for example, and they are all acted upon? Or does > Apached just start with the first and stop there. Sorry for such a basic > question but I ran int

RE: [users@httpd] how many directives can you have?

2011-06-02 Thread Jason Pyeron
> -Original Message- > From: Tommy Peterson [mailto:tommy.peter...@xpandcorp.com] > Sent: Wednesday, June 01, 2011 21:54 > To: users@httpd.apache.org > Subject: [users@httpd] how many directives can you have? > > I think I am confused about the directive. How > many can you have? Can

[users@httpd] how many directives can you have?

2011-06-02 Thread Tommy Peterson
I think I am confused about the directive. How many can you have? Can you list 4 or 5, for example, and they are all acted upon? Or does Apached just start with the first and stop there. Sorry for such a basic question but I ran into an issue. I used such a directive to lock down a particular

Re: [users@httpd] publishing a content across two network

2011-06-02 Thread Jeroen Geilman
On 06/02/2011 01:00 PM, Ravi Chandran wrote: K, first of all I don't understand the meaning of "Top Post". Can you specify in layman's term? It means post your replies either at the bottom of the previous message, or in-line, below the section you are replying to. Also, please attribute your r

Re: [users@httpd] publishing a content across two network

2011-06-02 Thread Ravi Chandran
K, first of all I don't understand the meaning of "Top Post". Can you specify in layman's term? second, the focus of this question is only for one Apache installation, as the other one is working fine, so we don't even need to bother about it.. thirdly, "Same thing" means, seeing the content publ

Re: [users@httpd] publishing a content across two network

2011-06-02 Thread Jeroen Geilman
On 06/02/2011 12:35 PM, Ravi Chandran wrote: hi, Please don't top-post. thanks for replying. Actually we have two systems one on WIFI and one on LAN, both are running apache web server. Okay, so we are talking about TWO completely separate apache installations ? That wasn't entirely clear

Re: [users@httpd] publishing a content across two network

2011-06-02 Thread Ravi Chandran
hi, thanks for replying. Actually we have two systems one on WIFI and one on LAN, both are running apache web server. I am able to access the content published on the other system using browser. but the same thing is not happening at the other system. I mean on that system, the content is not comin

Re: [users@httpd] publishing a content across two network

2011-06-02 Thread Jeroen Geilman
On 06/02/2011 10:43 AM, Ravi Chandran wrote: hi all, I have recently downloaded apache http server 2.2, I had published some content for a project and its working also. Now my requirement is that this published content should be available across two networks. So for start, I want to make this

Re: [users@httpd] Special configuration for requests that do not match any particular virtual host? Apache 2.2

2011-06-02 Thread Eric Covener
> Ah ha! The issue was that doing "ServerAlias *" crashes Apache with no error > log. ServerAlias apparently needs more than just a > single wildcard character.  Putting the below entry after the > last works great!  Sweet. Not sure what you mean by crash, but this is unnecessary. The first-l

[users@httpd] publishing a content across two network

2011-06-02 Thread Ravi Chandran
hi all, I have recently downloaded apache http server 2.2, I had published some content for a project and its working also. Now my requirement is that this published content should be available across two networks. So for start, I want to make this content available on a LAN and WIFI network. How c