manolob Posted November 3, 2007 Share Posted November 3, 2007 I am using max osx, and i am running apache server and php. I can view the default apache page, but when I try to view my personal page I get the access denied error, so I was hoping some one can point me in the right direction. thanks! Quote Link to comment https://forums.phpfreaks.com/topic/75932-403-error-on-local-host/ Share on other sites More sharing options...
nuxy Posted November 19, 2007 Share Posted November 19, 2007 You should use the user_dir module if you want to view directories/file within your account folder. Example: http://localhost/~yourname/ If it's not his wht your problem is, please explain a bit more of your problem. Quote Link to comment https://forums.phpfreaks.com/topic/75932-403-error-on-local-host/#findComment-394731 Share on other sites More sharing options...
jdubs Posted November 26, 2007 Share Posted November 26, 2007 I would ensure that your directory has the proper permissions, user:user and has a mode of 755. After doing that, I would make sure that your files are located in the correct location defined by the DocumentRoot. And if still doesn't work, make sure your not doing any crazy stuff with allow,deny based on ips. checking /var/log/httpd/error_log is pretty groovey, I'm not sure if its in that location on a mac machine, but it most cases it ends up there or where ever you define it in your httpd.conf search for errordocument <path> Quote Link to comment https://forums.phpfreaks.com/topic/75932-403-error-on-local-host/#findComment-399418 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.