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

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

how to receive file in java(servlet/jsp) -