I’ve set up Virtual Host (httpd.conf & windows hosts file) successfully. So I have a “sample.com” that points to sample folder (“rootdir\sample\”).
Now how can catch all of the requests like “*.sample.com” and point them to “rootdir\sample\index.php” to have something dynamic?
I guess I need something like the following in my windows “hosts” file (But * sign doesn’t work):
Code: Select all
127.0.0.1 *.something.comAny idea will appreciate…