403 Forbidden
Posted by: mburke (213.205.194.---)
Date: June 07, 2017 03:31PM

1. Windows 10 64 BIT
2. Version 3.06 64 bit
3. Apache version - 2.4.23
4. PHP version 5.6.25
5. MySQL version - 5.7.14
6. Wamp icon is Green
7: Every line has a # infront - only lines with local host is :
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
8. Yes - access to wampserver homepage
8.a. No error message at bottom of homepage
9. Yes - access to phpmyadmin
10. When i try to submit a php form, I get the following error message:
Forbidden
You don't have permission to access /code/contact/< on this server.
Apache/2.4.23 (Win64) PHP/5.6.25 Server at localhost Port 80
11. I use Mcafee Live Safe antivirus software
12. C:/Wamp64/

Any help would be greatly appreciated. I should note that I was previously trying to use Xampp for this and was receiving a similar error message.

Thanks!

Options: ReplyQuote
Re: 403 Forbidden
Posted by: RiggsFolly (Moderator)
Date: June 08, 2017 12:09AM

Remove the `#` so it looks like

127.0.0.1 localhost
::1 localhost

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> <PHP 7.1.2/7.0.16/5.6.28/5.5.38/5.4.45/5.3.29> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.6.5.2> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

Options: ReplyQuote


Sorry, only registered users may post in this forum.