Earliboy
20th March 2013, 10:51
Hello,
I installed Xampp with apache2 + mysql on Windows 7 ultimate 64 Bit.
Now i added in the Vhost file:
<VirtualHost test.localhost:80>
DocumentRoot S:/website/work
#DocumentRoot C:/xampp/htdocs/
ServerName test.localhost:80
ServerAdmin admin@localhost
ErrorLog "logs/test.localhost-error.log"
CustomLog "logs/test.localhost.log" common
#<Directory "C:/xampp/htdocs/work">
<Directory “S:/website/work”>
Options Indexes FollowSymLinks
AllowOverride FileInfo
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
The problem is:
AH00112: Warning: DocumentRoot [S:/website/work] does not exist, but it does! I just copied that line.
Even if i add a link in the localhost folder, it doesnt redirects me too.
If i change the directory in the vhost config to C:/campp/htdocs/, it works perfect. I get same access like localhost.
I allready added the test.localhost to the windows host file, before i couldnt even access test.localhost.
I hope anyone knows whats wrong with it, normaly i should get access to it.
Greetings
Earliboy
I installed Xampp with apache2 + mysql on Windows 7 ultimate 64 Bit.
Now i added in the Vhost file:
<VirtualHost test.localhost:80>
DocumentRoot S:/website/work
#DocumentRoot C:/xampp/htdocs/
ServerName test.localhost:80
ServerAdmin admin@localhost
ErrorLog "logs/test.localhost-error.log"
CustomLog "logs/test.localhost.log" common
#<Directory "C:/xampp/htdocs/work">
<Directory “S:/website/work”>
Options Indexes FollowSymLinks
AllowOverride FileInfo
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
The problem is:
AH00112: Warning: DocumentRoot [S:/website/work] does not exist, but it does! I just copied that line.
Even if i add a link in the localhost folder, it doesnt redirects me too.
If i change the directory in the vhost config to C:/campp/htdocs/, it works perfect. I get same access like localhost.
I allready added the test.localhost to the windows host file, before i couldnt even access test.localhost.
I hope anyone knows whats wrong with it, normaly i should get access to it.
Greetings
Earliboy