Page 1 of 1

New Installation, Can't get around 403 Error

PostPosted: 15. March 2015 21:49
by m_gerrity
Hi,

just downloaded xampp 5.6.3 today for windows 7, i have been messing around with doing a few different things. I tried to make a form that takes in input from the user on the webpage and adds it to a database with mysql and php. When i press the submit button I keep getting this message: " You don't have permission to access the requested object. It is either read-protected or not readable by the server. If you think this is a server error, please contact the webmaster. " Im really new to this and honestly don't know what to do. I tried adding:
<Directory "C:/xaamp/htdocs/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Allow,Deny
Allow from all
Require all granted
</Directory>


to different config files(httpd.conf, http-xampp.conf, httpd-vhosts.conf) but each time its the same error. I'd really appreciate it if anyone knew the fix for this its really bugging me, Thanks!!

Re: New Installation, Can't get around 403 Error

PostPosted: 15. March 2015 23:50
by JJ_Tagy
Revert these changes (or install fresh if you must). Those are incorrect in more than one way.

Re: New Installation, Can't get around 403 Error

PostPosted: 16. March 2015 00:52
by m_gerrity
I did a fresh install already just to have everything back to default. Any ideas what is the correct thing to do?

Re: New Installation, Can't get around 403 Error

PostPosted: 16. March 2015 08:09
by JJ_Tagy
Depends on what you are trying to do. Simple PHP/MySQL doesn't need anything changed from stock settings.

Re: New Installation, Can't get around 403 Error

PostPosted: 16. March 2015 15:25
by mark.mcdonald
JJ_Tagy wrote:Depends on what you are trying to do. Simple PHP/MySQL doesn't need anything changed from stock settings.


There are things you can do to improve server performance as there are notes in PHP settings on what to change from development -> production settings. Beyond this JJ_Tagy is right. You don't need to change anything as stock options should allow you to do everything you need.