logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Far Out ServerAlias Question
Author
aweather88



Joined: 29 Mar 2006
Posts: 1

PostPosted: Fri 06 Apr '07 3:51    Post subject: Far Out ServerAlias Question Reply with quote

What is the maximun number of ServerAlias commands you can place between one set of VirtualHost Tags?

I have a website/app the dynamically changes the content based on the PHP $_SERVER['SERVER_NAME'] based on the request. Assuming I have 300 domain ServerAliases:

1) Is this possible to put this many into one VirtualHost and
2) Is and what is the performance implication on the server
3) if this is the wrong approach, then what is an alternative?

Thanks in advance to the advice.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Sun 15 Apr '07 13:56    Post subject: Reply with quote

Yes you can put more than on Alias in on vhost.

http://httpd.apache.org/docs/2.2/en/mod/core.html#serveralias

Quote:

what is the performance implication on the server


What do you want to tune up?
Back to top


Reply to topic   Topic: Far Out ServerAlias Question View previous topic :: View next topic
Post new topic   Forum Index -> Apache