Pages: Previous12
Current Page: 2 of 2
Re: Forbidden You don't have permission to access / on this server.
Posted by: RiggsFolly (---.as13285.net)
Date: December 19, 2013 01:40AM

Yes


Require local

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

Options: ReplyQuote
Re: Forbidden You don't have permission to access / on this server.
Posted by: saxoon (---.228.20.172.dynamic.altibox.net)
Date: March 11, 2014 10:46AM

Still a bug here..... cant seem to get it working... tried everything suggested---- i cant change the 127.0.0.1 to 127.0.0.1::1 Wamp wont start stays yellow, but there is already an line saying allow from ::1 so i guess this is ok.. but any suggestion ????????????

Options: ReplyQuote
Re: Forbidden You don't have permission to access / on this server.
Posted by: RiggsFolly (---.as13285.net)
Date: March 11, 2014 11:33AM

No they are seperate ip addresses.

So its

127.0.0.1 <space> ::1

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

Options: ReplyQuote
Re: Forbidden You don't have permission to access / on this server.
Posted by: saxoon (---.228.20.172.dynamic.altibox.net)
Date: March 11, 2014 11:53AM

no change... still the same 403 error,
Forbidden, you dont have permission to acces/uploader/< on this server

Options: ReplyQuote
Re: Forbidden You don't have permission to access / on this server.
Posted by: RiggsFolly (---.as13285.net)
Date: March 11, 2014 12:22PM

So what is the actual full path for that error

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

Options: ReplyQuote
Re: Forbidden You don't have permission to access / on this server.
Posted by: saxoon (---.228.20.172.dynamic.altibox.net)
Date: March 11, 2014 12:36PM

you mean the file path like

C:\wamp\www\uploader ?

Options: ReplyQuote
Re: Forbidden You don't have permission to access / on this server.
Posted by: RiggsFolly (---.as13285.net)
Date: March 11, 2014 02:56PM

Have a look at the apache access log, if you get these errors and the ip address in the access log line say ::1 is the ip, then you need to add ::1 to your allow list


i.e.


Allow from localhost 127.0.0.1 ::1

Or if you have APache 2.4.x you just need to use

Require local

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

Options: ReplyQuote
Re: Forbidden You don't have permission to access / on this server.
Posted by: adamje (41.72.105.---)
Date: June 03, 2014 10:58AM

I had a similar problem when accessing my windows server on the LAN using the IP address 192.168.1..., My solution was resolved by editing the httpd.conf (from the system tray > wamp > Apache > httpd.conf).

Find the section that says: (copy this and search)

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

change the second line to

Order Deny,Allow
>>Allow from all <<
Allow from 127.0.0.1
Allow from ::1
Allow from localhost

Of course without the >> and <<

Save it and restart all the services from the tray icon..That's it!!

NOTE: If after this excercise your wamp doesnt start, make sure you typed everything correctly, left spaces between the words as before.

Have fun!!

Options: ReplyQuote
Re: Forbidden You don't have permission to access / on this server.
Posted by: RiggsFolly (---.as13285.net)
Date: June 03, 2014 01:04PM

Adam,

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

Can be reduced to

Order Allow,Deny
Allow from all

All means .. well .. all so the other stuff become just noise.

The order of 'Order Deny,Allow' should really be changed to 'Order Allow,Deny'


Setting Apache access to all is fine if you have not port forwarded port 80 on your router, AND NEVER EVER DO!

However if you use 'Allow from all' or the new 'Require all granted' and months later decide to port forward your router forgetting that you took the Easy Option when playing with your Apache access rights, YOU JUST OPENED EVERY SITE YOU EVER PLAYED WITH I mean developed to the universe.

This is why I never suggest beginners or anyone else for that matter ever use 'Allow from all'!


As of Apache 2.4 the syntax of the Apache security commands changed, the old ones work as long as you have
LoadModule access_compat_module modules/mod_access_compat.so in the list of active modules, but it is a good idea to start using the new syntax and forget the old Apache2.2 syntax if you are using Apache 2.4. They are bound to change the default options fairly soon and then people will start getting errors.

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

Options: ReplyQuote
Pages: Previous12
Current Page: 2 of 2


Sorry, only registered users may post in this forum.