@ukuta I tried that out but on restarting XAMPP/apache service it does not start. Below is what how far I reached maybe there's something I aint seeing.
for Hosts file in windows...
127.0.0.1 localhost
127.0.0.1 makmende.dev
127.0.0.1 www.makmende.dev
for vhosts.conf in xampp...
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot C:/PROGRAM FILES/XAMPP/HTDOCS/
ServerName localhost
<DIRECTORY "C:/PROGRAM FILES/XAMPP/HTDOCS">
IndexOptions +FancyIndexing NameWidth=*
Options Includes FollowSymLinks Indexes
AllowOverride All
Order allow,deny
Allow from all
</DIRECTORY>
</VirtualHost>
<VirtualHost *:80>
DocumentRoot C:/PROGRAM FILES/XAMPP/HTDOCS/makmende/
ServerName makmende.dev
ServerAlias makmende.dev
CustomLog c:\www\www.makmende.dev\www.makmende.dev-access_log common
ErrorLog c:\www\www.makmende.dev\www.makmende.dev-error_log
<DIRECTORY C:/PROGRAM FILES/XAMPP/HTDOCS/makmende/
IndexOptions +FancyIndexing NameWidth=*
Options Includes FollowSymLinks Indexes
AllowOverride All
Order allow,deny
Allow from all
</DIRECTORY>
</VirtualHost>
But still with this Apache wont restart, but on deleting. It starts.
Ken
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
_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Server donations spreadsheet
http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1fbjAwOUE&hl=en
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke