httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject RE: [users@httpd] VirtualHost dynamic and static
Date Wed, 22 Oct 2003 20:28:39 GMT

On Wed, 22 Oct 2003, khamis Siksek wrote:
> 1- Is the number of VirtualHosts limited, since Apache2 refused to start
> when i had many defined VirtualHosts?

No.  The only limit is that your OS may run out of per-process resources
like file handles.  Check your error log.

>
> 2- Is it true that i need to comment out ScriptAlias to have
> VirtualScriptAlias working?

(Script)Alias takes precedence over VirtualScriptAlias, so it will wipe
out the latter if they use the same URL.

> 3- Why do i need to add the port number (when defining a VirtualHost) in
> an included file while this is not needed in the main configuration
> file? are the included files different?

??

> 4- Does apache conflicts Dynamic and Static VirtualHosts?

"conflicts"?  Dynamic and static virtual hosts can certainly coexist.  The
static ones will be evaluated first.  Then you can place the dynamic
config inside a <VirtualHost> section to further map requests.

> 5- Does apache conflicts the pages of the main host with the pages of
> the Dynamic VirtualHost?

See above.

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