Re: Local Test | Different folder - Help!! (part2)

From: Date: Sat, 13 Apr 2002 04:41:39 +0000
Subject: Re: Local Test | Different folder - Help!! (part2)
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-92853@lists.php.net to get a copy of this message
My mistake, you have the directory line correctly written with the forward slash.. But the hosts file should not have any extension.. Bob <phplists@woodenpickle.com> wrote in message news:20020413041341.43902.qmail@pb1.pair.com... > You need to make sure the hosts file in c:\windows is called just hosts with > no extension.. Just rename it.. It may also take a reboot and/or some time > for windows to start using it properly.. And it may help to change the > forward slash in <Directory "c:/website"> to a backslash.. > > Later, > Bob > > "Tiago SimõEs" <kaos@netcabo.pt> wrote in message > news:20020412181223.44531.qmail@pb1.pair.com... > > For those that haven't read my previous posts, i'm trying to be able to > test > > locally my 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:\website" > > 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? > > > > > > > > > > > >

« previous php.general (#92853) next »