Why not just set your DocumentRoot to "C:/" or set up an alias - its much more likely to work than a virtual host
Alias /C/ "c:/" <Directory "c:/"> DirectoryIndex index.php index.htm index.html </Directory> you would then access as http://localhost/C/ "Tiago SimõEs" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > For those that haven't read my previous posts, i'm trying to be able to test > locally my site php site. My installation (both apache and php) went > smoothly. But instead of using the htdocs folder for the test i wanted to > use the c:\website folder. So with some help from you guys i manage to > configure the httpd.conf file (in the conf Apache subfolder) like this: > > #this is the bottom part of the conf file > > <VirtualHost website.localhost> > DocumentRoot "C:\merda" > ServerName website.localhost > </VirtualHost> > > <Directory "C:/website"> > AddType application/x-httpd-php .php > AddType application/x-httpd-php .php4 > #Next line is optional (for viewing source) > AddType application/x-httpd-php-source .phps > </Directory> > > > and in the hosts.sam file in the C:\Windows\ > > 127.0.0.1 localhost > 127.0.0.1 website.localhost > > It "sounds good to me. So why it doesn't work? Any ideas? > > > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php