Quote From : cautbur September 26, 2013, 8:57 am I have a possible solution that work for me, but i am not sure, i have to test more (in order to check that aplication installations and other thing work well).
I define Vitual host with <VirtualHost *:80> like you say.
But i also edit C:\Ampps\apache\conf\httpd.conf beacuse there is defined a VirtualHost rule for Ampss
This rule start with <VirtualHost 127.0.0.1:80>
I changed also to <VirtualHost *:80>
Now seems that name resolving are working well. I think that rule is readed before apache reads the other ones because we are editing windows host to point 127.0.0.1 for every domain that we create. So all our domains will enter to this rule first without check others rules. With my change now checks all rules.
yes thats treu , in vhost all setups inside ampps will always stay like 127.0.0.1:80 and online your domains or subdomains will not work , that a bug in ampps and its still a bug...
the only way is make your domains and subdomains in the C:\Ampps\apache\conf\httpd.conf and it will work like a charme if you wanna run multi domains or subdomains....
thats where my vhost are running on in httpd.conf , its the only working way...
----------------------- What i dont K'now must be born...
ON internet from 88/89 , working with computers from the year 1982 c64 , comodore , amiga and ect bbs
|