Pages: 123Next
Current Page: 1 of 3
WAMP doesnt take me to my folder spec.
Posted by: hingsmaf003 (---.dyn.optonline.net)
Date: February 28, 2008 10:09PM

my vh file shows this:

<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
</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>

and i set it in the host file like in guides but for some reason it just takes me to the home page when i even have it take me to like C:/wamp/apps/phpmyadmin2.10.1 it takes me to my default page am i missing something

Options: ReplyQuote
Re: WAMP doesnt take me to my folder spec.
Posted by: hingsmaf003 (---.dyn.optonline.net)
Date: February 28, 2008 11:00PM

found my problem but ran into another 1 and have been stumped for almost an hr.
now it just takes me to my home for my non sub domained site??? any ideas please help

Options: ReplyQuote
Re: WAMP doesnt take me to my folder spec.
Posted by: hingsmaf003 (---.dyn.optonline.net)
Date: February 28, 2008 11:02PM

actually heres my vh code:
<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
</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>

in addition it even takes local host to my hingsmaf.com page!!!!!!
what am i doing wrong ill post waht ever u need me too i just need to get this up

Options: ReplyQuote
Re: WAMP doesnt take me to my folder spec.
Posted by: yfastud (Moderator)
Date: February 29, 2008 12:08AM

Do you have this line in your httpd-vhost.conf?

NameVirtualHost *:80

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: WAMP doesnt take me to my folder spec.
Posted by: hingsmaf003 (---.dyn.optonline.net)
Date: February 29, 2008 12:11AM

thanks that worked didnt see that in your guide

Options: ReplyQuote
Re: WAMP doesnt take me to my folder spec.
Posted by: hingsmaf003 (---.dyn.optonline.net)
Date: February 29, 2008 12:19AM

ok one last problem my php script is set to connect to mysql but i put in my mysql.hingsmaf.com which forwards to my phpmyadmin folder my uname and pwd and my db and it says mysql cannot connect ) and the error i get is error 10061

any ideas how to do this im going to try an avoid local host because im not always going to be running it off of here because i have an app for a bussines that needs to connect to a database

Options: ReplyQuote
Re: WAMP doesnt take me to my folder spec.
Posted by: hambuler (---.cpe.net.cable.rogers.com)
Date: February 29, 2008 04:44AM

You need to add
<Directory "C:/wamp/apps/phpmyadmin2.10.1/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all
</Directory>

to virtual host mysql.hingsmaf.com

Options: ReplyQuote
Re: WAMP doesnt take me to my folder spec.
Posted by: hingsmaf003 (---.dyn.optonline.net)
Date: February 29, 2008 12:49PM

where do i put it in my virtual hosts file????

Options: ReplyQuote
Re: WAMP doesnt take me to my folder spec.
Posted by: hingsmaf003 (---.dyn.optonline.net)
Date: February 29, 2008 12:52PM

my vhosts.conf file reads this:
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
</VirtualHost>

<Directory "C:/wamp/apps/phpmyadmin2.10.1/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all
</Directory>

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

i also tried
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>
go no luck with any but, i could be putting it in wrong place

Options: ReplyQuote
Re: WAMP doesnt take me to my folder spec.
Posted by: hingsmaf003 (---.dyn.optonline.net)
Date: February 29, 2008 12:56PM

also tried putting it in my phpmyadmin.conf in the alias folder still no luck am im not doing this right

Options: ReplyQuote
Re: WAMP doesnt take me to my folder spec.
Posted by: hambuler (---.cpe.net.cable.rogers.com)
Date: February 29, 2008 06:35PM

You're doing that right. Make sure the mysql server is running. Try another method:

Create a file shortcut to phpmyadmin2.10.1 index.php file and put that shortcut in any of your working virtual host directory. I prefer to put it in the parent website www.hingsmaf.com. You can name the short cut as phpmyadmin. You may comment with # to the virtual host mysql.hingsmaf.com temporarily.

Then open the browser, and type in www. websitename.com/phpmyadmin

Options: ReplyQuote
Re: WAMP doesnt take me to my folder spec.
Posted by: hambuler (---.cpe.net.cable.rogers.com)
Date: February 29, 2008 07:39PM

You can also try any your website name like this websitename.com/phpmyadmin and it will work too because alias is already setup in phpmyadmin.conf

Options: ReplyQuote
Re: WAMP doesnt take me to my folder spec.
Posted by: hingsmaf003 (---.dyn.optonline.net)
Date: February 29, 2008 08:58PM

im confused what ur telling me to do ive been trying all day can u lent more advice and steps

Options: ReplyQuote
Re: WAMP doesnt take me to my folder spec.
Posted by: hingsmaf003 (---.dyn.optonline.net)
Date: February 29, 2008 09:04PM

and i dont think this is wat im trying to do.. im trying to change mysql from being localhost to being mysql.hingsmaf.com i have an online db the says moysql.eclipsefit.com on my phpmyadmin page and thats wat i need to do with this one

Options: ReplyQuote
Re: WAMP doesnt take me to my folder spec.
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 29, 2008 09:07PM

well the easier way is to put the phpmyadmin folder into the www folder.


then

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

will work


just make sure you put a .htacces file into your phpmyadmin folder so ween u go to the site it asks for password first

Options: ReplyQuote
Re: WAMP doesnt take me to my folder spec.
Posted by: hingsmaf003 (---.dyn.optonline.net)
Date: February 29, 2008 09:13PM

my vhost folder reads 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/www/phpmyadmin2.10.1
<Directory "C:/wamp/www/phpmyadmin2.10.1/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all
</Directory>

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

and my wamp toobar is yellow after restart

Options: ReplyQuote
Re: WAMP doesnt take me to my folder spec.
Posted by: hingsmaf003 (---.dyn.optonline.net)
Date: February 29, 2008 09:43PM

found the probelem u didnt ende that code u gave me with </virtualhost> but it still doesnt work if u go into phpmyadmin and on the homepage ull see localhost i need to change that to say mysql.hingsmaf.com i need to change my mysqls host

pretty much wat it comes down to is making my mysql server a remote hose



Edited 1 time(s). Last edit at 02/29/2008 10:06PM by hingsmaf003.

Options: ReplyQuote
Re: WAMP doesnt take me to my folder spec.
Posted by: hingsmaf003 (---.dyn.optonline.net)
Date: February 29, 2008 10:30PM

does anyone know how to do it or what im talkin about???? i just want to make my mysql a remote server instead of running locally

Options: ReplyQuote
Re: WAMP doesnt take me to my folder spec.
Posted by: stevenmartin99 (---.b-ras1.blp.dublin.eircom.net)
Date: February 29, 2008 10:32PM

you dont seem to be able to set up virtual hosts. have any of them managed to work for you?

Options: ReplyQuote
Re: WAMP doesnt take me to my folder spec.
Posted by: hingsmaf003 (---.dyn.optonline.net)
Date: February 29, 2008 10:35PM

yes my statfink site works fine and so does my default but its not the virtual hosts thats the problem its i need to change my mysql connection so its not localhost like my user is root@localhost when it shud be root@mysql.hingsmaf.com

Options: ReplyQuote
Pages: 123Next
Current Page: 1 of 3


Sorry, only registered users may post in this forum.