Apache vhost how i disable default domain

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Apache vhost how i disable default domain

Postby Tataee » 21. April 2010 10:42

In Apache Vhost i have defined several domain and the first domain is default how i disable that.
For example: if i type my IP in a browser i just wanna see the "Server not found" error from my browser.
Anyone can help me please.
Tataee
 
Posts: 1
Joined: 21. April 2010 10:21

Re: Apache vhost how i disable default domain

Postby Nobbie » 21. April 2010 12:50

You cannot disable the default domain. You can add a "Deny from All" in the VirtualHost configuration what denies any access to that domain.
Nobbie
 
Posts: 13175
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 202 guests