I'm new to XAMPP - webservers. I have installed XAMPP on my d drive like d:\XAMPP and then the different dirs.
On my E drive I have all kind of development things and I read about vhosts so I thought, I bring all my htdocs to e:\htdocs. I have moved the directorys from d:\XAMPP\htdocs\ to:
e:\htdocs\dijkman-wsv
e:\htdocs\cms_ms
etc.
I have only the httpd-vhosts.conf changed with this:
- Code: Select all
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot D:/xampp/htdocs
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot e:/htdocs/dijkman-wsv
ServerName dijkman-wsv.dev
</VirtualHost>
<VirtualHost *:80>
DocumentRoot e:/htdocs/cms_ms
ServerName cms_ms.dev
</VirtualHost>
I have add the following lines to the host file
- Code: Select all
127.0.0.1 localhost
127.0.0.1 dijkman-wsv.dev
127.0.0.1 cms_ms.dev
When I fill the next URL in my browser: http://dijkman-wsv.dev or http://cms_ms.dev, Then I get the error HTTP 403 Access denied.
Message log file:
- Code: Select all
[Mon Jun 08 22:57:18 2009] [error] [client 127.0.0.1] client denied by server configuration: E:/htdocs/dijkman-wsv/
If I switch off the firewall doesn't help.
(Ok, I have also installed the IIS on this machine but I have switched off the IIS, www, SMTP service etc. as well)
The localhost phpmyadmin, XAMPP (welcome page) etc. are still good working!
It seems to me that I have exactly done what is written on http://www.ardamis.com/2005/08/11/xampp ... rtualhost/.
Is there anybody who can explain what I must do? Has it something to do with port 80?
I have also read something about httpd.conf, that you have to configure that the user must have the rights to access e:\htdocs. But honestly I think I know -but I'm not sure, I have to look- under which user XAMPP is running but how to change his user-group rights.....
Thanks in advance,
Nico