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 -

c++ - Serialize a class with a Qlist of custom classes as member (using QDataStream) -

Read video using VideoReader function in Matlab? -