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 10 Pro 64bit) (Wampserver 3.1.3 32bit & 64bit)
<Apache 2.4.29/2.2.31> <PHP 7.2/7.1/7.0/5.6/5.5/5.4> <MySQL 5.7.19/5.6.39/5.5.28>
<MariaDB 10.2.14> <phpMyAdmin4.8.1> <MySQL Workbench 6.3.10>

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 MySQL databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.