php - Block user not listed in vhost -


i using vhosts file in apache server , have hundreds of domains pointing each 1 one documentroot folder.

the problem when user comes server domain not listed in vhosts apache treat first entry in vhosts default. not that. block user, not display page.

how can that?

i believe want:

<virtualhost _default_:*> documentroot /www/default //or ever  </virtualhost>  

Comments

Popular posts from this blog

mysql - java.sql.SQLException Parameter index out of range (1 > number of parameters, which is 0) -

c - ALSA programming: how to stop immediately -