httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christine Grudecki" <Christine.Grude...@vayan.com>
Subject RE: [users@httpd] Is there a limit on how many ServerAlias entries for one VirtualHost?
Date Wed, 29 Aug 2007 20:08:58 GMT
Thanks for the suggestion.  I tried to make sure that there aren't any
chars that shouldn't be there, but still no luck.  I think it may be some
undocumented max number of characters or something :(

I'm a little new to Apache, could you explain the second suggestion a
little further?  I tried to add a second <VirtualHost> entry to catch
everything that the other one misses, but I get an error.

Thanks!
Christine

-----Original Message-----
From: jslive@gmail.com [mailto:jslive@gmail.com]On Behalf Of Joshua
Slive
Sent: Wednesday, August 29, 2007 2:19 PM
To: users@httpd.apache.org; Christine.Grudecki@vayan.com
Subject: Re: [users@httpd] Is there a limit on how many ServerAlias
entries for one VirtualHost?


On 8/29/07, Christine Grudecki <Christine.Grudecki@vayan.com> wrote:
> I have one java application that I need to access with a bunch of
different
> aliases.  I currently have 427 aliases set up, and I get an error when I
try
> to add any more.  The error I get is: Reloading httpd: not reloading due
to
> configuration syntax issue.

I'm not sure what would be causing that issue. It could be your editor
doing some bad line-wrapping on you behind the scenes.

But here is a trick: just list this <VirtualHost> first in the config
file and it will automatically get any request that doesn't match any
other virtual host.

Joshua.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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


Mime
View raw message