Reinstalled wamp and now my subs dont work again?
Posted by: hingsmaf003 (---.dyn.optonline.net)
Date: March 02, 2008 08:32PM

here is my file and the code taht is read in them:
httpd-vhosts:
NameVirtualHost *:80

<VirtualHost *:80>
ServerName www.hingsmaf.com
ServerAlias hingsmaf.com hingsmaf
DocumentRoot C:/wamp/www/hingsmaf
ErrorLog C:/wamp/www/hingsmaf/logs/error.log
CustomLog C:/wamp/www/hingsmaf/logs/access.log common
</VirtualHost>

<VirtualHost *:80>
ServerName statfink.hingsmaf.com
ServerAlias statfink
DocumentRoot C:/wamp/www/statfink
ErrorLog C:/wamp/www/statfink/logs/error.log
CustomLog C:/wamp/www/statfink/logs/access.log common
</VirtualHost>

<VirtualHost *:80>
ServerName mysql.hingsmaf.com
ServerAlias mysql
DocumentRoot C:/wamp/apps/phpmyadmin2.10.1
<Directory "C:/wamp/apps/phpmyadmin2.10.1/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all
</Directory>
</VirtualHost>

<VirtualHost *:80>
ServerName localhost
DocumentRoot C:/wamp/www
ErrorLog C:/wamp/www/logs/error.log
CustomLog C:/wamp/www/logs/access.log common
</VirtualHost>

my subs dont work now it just takes me back to my wamp home.

next problem

i think i figured out a good way to explain it:
my server right now is # Server: localhost via TCP/IP my user is root@localhost
now it works fine when i have the website on my server (i can also access it threw a url and it works) but for a vb application that isnt run nor located on my server i cant use localhost becuase it will just try and access the current computer... so i took a look at buddy of mines paid web server... and his says
Server: mysql.eclipsefit.com via TCP/IP
User: eclipsefit@babyruth.dreamhost.com
so what i need to do is get my mysql server to run on mysql.hingsmaf.com via TCP/IP instead of localhost

if we could solve the first problem first then we can worry bout mysql but if you need any clairifications let me know and i will try my best.

please help,
thanks,
hings

Options: ReplyQuote
Re: Reinstalled wamp and now my subs dont work again?
Posted by: hambuler (---.cpe.net.cable.rogers.com)
Date: March 03, 2008 12:10AM

You must put directory directive in every virtual host so the server won't redirect to a default wamp home if something wrong happens.

Options: ReplyQuote
Re: Reinstalled wamp and now my subs dont work again?
Posted by: hingsmaf003 (---.dyn.optonline.net)
Date: March 03, 2008 12:32AM

o i realized i never activated it in httpd but now i need to get my mysql host running not off of localhost but off of mysql.hingsmaf.com ill provide any clairfications i just cant figure it out

Options: ReplyQuote


Sorry, only registered users may post in this forum.