Wiedmann wrote:I can get access to localhost but I cant access to windows.localhost
Sorry, I'm not really good in guessing... Any error message, e.g.?
if I type in browser "localhost", I see the page "D:/Windows & Programs files/xampplite/htdocs/index.php" which is right and expected if you see the code I added to httpd.conf (see below)
but, if I type in browser "windows.localhost", I see no page, nothing. I just see de default "page not found" of IE.
What I would expect to happend is to see the page "c:\windows\index.php"
To achieve that, I added this code to httpd.conf
- Code: Select all
NameVirtualHost *:80
<VirtualHost *:80>
ServerName localhost
DocumentRoot "D:/Windows & Programs files/xampplite/htdocs"
</VirtualHost>
<VirtualHost *:80>
ServerName windows.localhost
DocumentRoot "c:\windows"
</VirtualHost>
What I want to know is whether this code is right and whether it should produce the results I expect.
Tkanks.