
On Thu, May 6, 2010 at 4:46 PM, ukuta ken <ukutaken@gmail.com> wrote:
Hi ken,
i do it the old fashioned way.
# add to end of httpd.conf and then restart apache # i have used localhost but you can use your comp's IP
# Be sure to only have this line once in your configuration NameVirtualHost 127.0.0.1:80
# This is the configuration for your project Listen 127.0.0.1:80
<VirtualHost 127.0.0.1:80> DocumentRoot "E:/xampp/htdocs/kennedy/web" DirectoryIndex index.php <Directory "E:/xampp/htdocs/kennedy/web"> AllowOverride All Allow from All </Directory>
On 5/6/10, Kennedy Kairaria <kenkairaria@gmail.com> wrote:
Hi skunk(ette)s,
Now now, How do I go about setting the configuration above? My searching around on the net didn't get me any solution that I can use instead I had to restore vhosts.conf back.
Doesn't vhosts.conf have written examples of how to add more virtual hosts? IIRC, there should be. It is also possible to use "Include" directive to add virtual hosts based on files: Include /path/to/some/files/*.cf or such thing... The only difference between Apache on Unix and Windows should be the way paths are specified, no? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "If you have nothing good to say about someone, just shut up!." -- Lucky Dube