Wampserver not working: Error 403
Posted by: Adolf_Kleinhans (---.dsl.mweb.co.za)
Date: June 15, 2013 02:12PM

Ok so when using the Wamp icon in my tasktray, clicking on "localhost" it opens up "[localhost]; wich seems to be right since im trying to use Joomla! ... but, when clicking on "phpMyAdmin" it opens up "[localhost]; with the error "Forbidden

You don't have permission to access /phpmyadmin/ on this server." .... I'm COMPLETELY new to website design, Wamp, Joomla and any or all services that go with it. I'm really strugling to get going. Please any advice would be much apriciated!

Thanks
Adolf_Kleinhans

Options: ReplyQuote
Re: Wampserver not working: Error 403
Posted by: RiggsFolly (---.as13285.net)
Date: June 15, 2013 05:24PM

This is usually due to having IPV6 and IPV4 active on the PC, Form Vista onwards this is the case.

Try this:

edit the httpd.conf file ( using the wampmanager menus to edit httpd.conf )

Look for Listen *:80 and change it to Listen 0.0.0.0:80


This will tell apache to only listen on the IPV4 address range only.
The default security is still set to Allow from 127.0.0.1 ( IPV4 ) and your browser may have arbitrarily decided to use an IPV6 address ( ::1 ) which is not set in the phpMyAdmin config as allowed.

Options: ReplyQuote
Re: Wampserver not working: Error 403
Posted by: imran.isaq99 (117.197.227.---)
Date: June 17, 2013 01:56PM

For Localhost :

wampserver icon --> Apache ---> httpd.conf


search:

# onlineoffline tag - don't remove

Order deny, allow
Deny from all
Allow from 127.0.0.1

change as:

# onlineoffline tag - don't remove

Order allow, deny
Allow from all


For phpMyAdmin:

goto c:wamp/alias/phpmyadmin.conf

open with notepad

search:

<Directory "c:/wamp/apps/phpmyadmin3.4.5/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>

change as:

<Directory "c:/wamp/apps/phpmyadmin3.4.5/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Allow from all
</Directory>


thats it...

Options: ReplyQuote
Re: Wampserver not working: Error 403
Posted by: RiggsFolly (---.as13285.net)
Date: June 17, 2013 02:39PM

I hope you have not done this Imran, its a VERY bad solution.

What that does is allow anybody on you subnet access to all your projects and all your databases via phpMyAdmin.

If you are just playing thats fine, but as soon as you want to show your site to a friend/client and you port forward your router you have give the world access to your databases and all your projects.

PROBABLY NOT WHAT YOU WANT TO DO!


Never use Allow from all unless you have created a Virtual Host and only then should you do it, and only then within the specific virtual hosts that you want to allow the world to see.

Options: ReplyQuote


Sorry, only registered users may post in this forum.