HELPPPPPPPPPPPPPPP
Posted by: mrrush101 (---.hsd1.ma.comcast.net)
Date: February 15, 2014 04:32PM

I installed wamp server and everything is fine the light is green and the server is online.

Edit from the moderator : Delete rest of the message as it shows how to open PhpMyAdmin to the universe.



Edited 1 time(s). Last edit at 02/17/2014 09:55AM by Otomatic.

Options: ReplyQuote
Re: HELPPPPPPPPPPPPPPP
Posted by: RiggsFolly (---.as13285.net)
Date: February 15, 2014 05:28PM

Your Virtual Host definitions are not pointing to the correct place.


Suggested changes to your Virtual Host definitions:


#This VH points to the wamp\www folder and allows you to get to the wamp homepage
#Always assuming yo have not deleted the index.php file from the wamp\www folder.
#It also provides a bit of security, as the first VH definition will be used as the default
#when just your ip address is used, for example by a hacker, because it is set to allow only internal access!

<VirtualHost *:80>
    ServerAdmin bryan@pcadvantage.info
    DocumentRoot "C:/wamp/www"
    ServerName localhost
    ServerAlias localhost
    ErrorLog "logs/pcadvantage.info-error.log"
    CustomLog "logs/pcadvantage.info-access.log" common
    <Directory "C:/wamp/www">
        Order Deny,Allow
        Deny from all
        Allow from 127.0.0.1 localhost ::1
    </Directory>
</VirtualHost>


#This VH points to wamp\www\pcadvantage and is the pcadvantage.info site accessible from the internet
<VirtualHost *:80>
    ServerAdmin bryan@pcadvantage.info
    DocumentRoot "C:/wamp/www/pcadvantage"
    ServerName pcadvantage.info
    ServerAlias www.pcadvantage.info
    ErrorLog "logs/pcadvantage.info-error.log"
    CustomLog "logs/pcadvantage.info-access.log" common
    <Directory "C:/wamp/www/pcadvantage">
        Order Allow,Deny
        Allow from all
    </Directory>
</VirtualHost>



#This VH could be used so you can set up a development version of the pcadvantage site accessible only #from inside your internal network and accessed by the url pcadvantage.dev

<VirtualHost *:80>
    ServerAdmin bryan@pcadvantage.info
    DocumentRoot "C:/wamp/www/dev-pcadvantage"
    ServerName pcadvantage.dev
    ServerAlias www.pcadvantage.dev
    ErrorLog "logs/pcadvantage.info-error.log"
    CustomLog "logs/pcadvantage.info-access.log" common
    <Directory "C:/wamp/www/dev-pcadvantage">
        Order Deny,Allow
        Deny from all
        Allow from localhost 127.0.0.1 ::1
        Allow from 192.168.0
    </Directory>
</VirtualHost>


Your hosts file should look like this
127.0.0.1  localhost
127.0.0.1  pcadvantage.dev
127.0.0.1  pcadvantage.info




Just as an aside, if you are using Apache 2.4.x installed with WAMPServer 2.4 then the Apache syntax for restricting access changed in Apache 2.4
You should use:

OLD SYNTAX
    Order Allow,Deny
    Allow from all          

NEW SYNTAX
    Require all granted

OLD SYNTAX
    Order Deny,Allow
    Deny from all
    Allow from localhost 127.0.0.1 ::1          

NEW SYNTAX
    Require local

OLD SYNTAX
Allow from 192.168.0

NEW SYNTAX
Require ip 192.168.0

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-



Edited 1 time(s). Last edit at 02/15/2014 05:29PM by RiggsFolly.

Options: ReplyQuote
Re: HELPPPPPPPPPPPPPPP
Posted by: mrrush101 (---.hsd1.ma.comcast.net)
Date: February 16, 2014 04:36AM

Thanks



Edited 2 time(s). Last edit at 02/17/2014 02:10AM by mrrush101.

Options: ReplyQuote
Re: HELPPPPPPPPPPPPPPP
Posted by: RiggsFolly (---.as13285.net)
Date: February 16, 2014 10:56PM

I am writing an email to you describing some of the errors you have made, so it is not in open view for others to take advantage of.
I will also ask a moderator to delete this and the other post so others dont mess it up quite this bad either.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-



Edited 1 time(s). Last edit at 02/16/2014 10:57PM by RiggsFolly.

Options: ReplyQuote


Sorry, only registered users may post in this forum.