XAMPP for Joomla "Access forbidden!" error message

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

XAMPP for Joomla "Access forbidden!" error message

Postby login418 » 02. June 2009 16:21

I followed this tutorial for setting up xampp for using joomla1.5:
http://www.veoh.com/collection/screencasts/watch/v1802750A7Mnpe7z

I successfully got Xampp running. Apache and MySQL runs too. I set up a new database and a new user assigned to that database. I extracted my files to a folder called "joomla" and put it in the htdocs folder. Now when I go to http://localhost/joomla I get this error message:

----------------------------
Access forbidden!
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.
Error 403
localhost
Wed Jun 3 00:07:59 2009
Apache/2.2.11 (Unix) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.7l PHP/5.2.9 mod_perl/2.0.4 Perl/v5.10.0
----------------------------

Going to "http://localhos"t will still take to xampp. So that still works. Can anyone help please!????
login418
 
Posts: 2
Joined: 02. June 2009 16:10

Re: XAMPP for Joomla "Access forbidden!" error message

Postby Max Biomass » 02. June 2009 23:13

I get the same sort of thing from 'localhost' page when i try to open the "securtiy" from the xamp for windows page, I,m running vista ??

Access forbidden!
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.

Error 403
localhost
06/03/09 07:55:32
Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8
Max Biomass
 
Posts: 2
Joined: 02. June 2009 23:04

Re: XAMPP for Joomla "Access forbidden!" error message

Postby MegaChriz » 03. June 2009 13:03

Which permissions are set to the Joomla-folder?

1. In Finder, select the Joomla-folder.
2. Choose 'Show info' from the File-menu (or press command i).
3. Check what the permissions are by 'ownership & permissions' (or 'sharing & permissions').

The webserver should have at least read-permissions.
If you running Tiger, you can set the group to 'admin' or 'nobody' and the access to 'read only' (or 'read & write').
If you running Leopard, then I believe you need to change the permissions of 'staff' to at least 'read only'.

If the problem still exists after changing the permissions, you can also choose to apply the permissions on enclosed items. Only beware if you had chosen 'read only' and apply this on enclosed items. Some folders and files inside the Joomla-folder need to be set to 'read & write'.
MegaChriz
 
Posts: 158
Joined: 16. February 2009 15:04
Location: Amersfoort, The Netherlands
XAMPP Version: 1.8.3-3
Operating System: Mac OS X

Re: XAMPP for Joomla "Access forbidden!" error message

Postby login418 » 04. June 2009 07:25

Thanks. Got it to work. But a few more details:

Under "Ownership & Permissions" click "Details".
Next to "Owner" click the "unlock" button.
Set Group Access to Read&Write.
Set Others to Read&Write.
done!
login418
 
Posts: 2
Joined: 02. June 2009 16:10

Re: XAMPP for Joomla "Access forbidden!" error message

Postby MegaChriz » 05. June 2009 09:38

To set 'Others' to Read & Write is okay for a development environment, but not on a production server. Setting the read & write permissions for everyone means that anyone who could get access to the server, can do anything (for example changing files, delete files, etc.).
MegaChriz
 
Posts: 158
Joined: 16. February 2009 15:04
Location: Amersfoort, The Netherlands
XAMPP Version: 1.8.3-3
Operating System: Mac OS X

Re: XAMPP for Joomla "Access forbidden!" error message

Postby dagi » 17. October 2010 15:50

thank you very much!!!! it really does work
dagi
 
Posts: 1
Joined: 17. October 2010 15:43


Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 5 guests