Using a directory in VirtualHost ServerName

后端 未结 3 1140
[愿得一人]
[愿得一人] 2020-12-07 23:08

I\'m currently using name-based virtual host configuration, to server about 5 different websites from the same IP address, just like in the apache documentation:

<         


        
3条回答
  •  孤城傲影
    2020-12-07 23:43

    Is it possible to have a different vhost for each application like that:

    
    ServerName www.domain.tld
    DocumentRoot /www/domain
    
    
    
    ServerName www.domain.tld
    Alias otherApp /www/otherApp
    

提交回复
热议问题