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

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -