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

winapi - How to get a user input on a MessageBox on C++? -

parcelable - Unmarshalling unknown type code exception while reading parcel values in Android 4.4+ -