Well I read all the links above. I followed the directions of the second link, plus read some of the Apache documentation. I really want to start blogging so if I can't get all my web sites on this machine and have them co-exist with wordpress, I guess I will - but I hate giving up - so here is what I have, and what is happening:
Basically, the Virtual Server stuff works OK, it is when I add the WordPress to the virtual section that it breaks (WordPress that is) - If I go to the options on the admin site for WordPress, and change the urls to the same as in the httpd.conf - it breaks (I tried techbytes.myweb.com/blog and without the /blog part). If I leave the Virtual Server stuff completely commented out for all Virtual Servers, then the url part works - techbytes.myweb.com ok, from the local or from another machine on network that has the right host entry for techbytes.myweb.com. At one point, I got the actual Blog site to come up, but then the admin site would not come up - I think there is some re-direction going on with the php, but being php stupid, I cannot easily understand it. Also, I just wanted to start bloggin and putting web sites up, then go back and study the php more closely. Yes, I clear the caches also when I make changes by restarting the whole XAMPP thing!
Thanks for the help :=)
Ubunto Linux
XAMPP for Linux 1.5.5a
PHP 5.2.0
PHPMyAdmin 2.9.1
MySQL 5.0.27
Wordpress 2.0.5
Apache 2
Apache htdocs is in /opt/lampp/htdocs
wordpress is in /opt/lampp/htdocs/blog
Here is my httppd.conf file's Virtual Server part:
NameVirtualhost *:80
<VirtualHost *:80>
ServerName localhost
DocumentRoot htdocs
</VirtualHost>
<VirtualHost *:80>
ServerName wuz-up.com
ServerAlias http://www.myweb.com
DocumentRoot htdocs/myweb
</VirtualHost>
<VirtualHost *:80>
ServerName myblog.com
ServerAlias techbytes.myweb.com
DocumentRoot htdocs/blog
</VirtualHost>
<VirtualHost *:80>
ServerName test.com
ServerAlias http://www.test.com
DocumentRoot htdocs/test
</VirtualHost>
My Local Host File:
127.0.0.1 localhost
127.0.0.1 techbytes.myweb.com
192.168.2.6 http://www.myweb.com
192.168.2.6 techbytes.myweb.com
192.168.2.6 http://www.test.com