Wildcards in Apache virtual server
Hi there
What wildcards can i use in the httpd.conf file for apache please?
This is an example of my virtual server settings
Quote:
<VirtualHost *>
ServerName
www.website.com
DocumentRoot "C:/xampp/htdocs/website
</VirtualHost>
but if i user types notreal.website.com they get the holding page of our webserver (school name webserver, with our school logo). how would i config apache so that anything on that domain goes to the above directory?
i have tried this and it doesnt work
Quote:
<VirtualHost *>
ServerName *.website.com
DocumentRoot "C:/xampp/htdocs/website
</VirtualHost>
hope you understand, thanks