Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

403 forbidden error
 
yewjin
Jr. Member
 
Avatar
Total Posts:  20
Joined:  2007-09-06
Kuala Lumpur, Malaysia
 

Need help. I received the error below after editing my .httpd, adding in php.ini and chmod 777 on all the folders. Anything else that I need to do? my domain name is http://www.shooweb.com/my_en/ <this is where I uploaded all the magento files>

Any help is appreciated. Error received:

You don’t have permission to access /mys_en/ on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

Looks like invalid vhost configuration.

Is there anything suppose to be in the root? http://www.shooweb.com/

This should be 404: http://www.shooweb.com/blah

 
Magento Community Magento Community
Magento Community
Magento Community
 
PaulAlford
Member
 
Total Posts:  64
Joined:  2007-12-04
Summerville, SC
 

I am getting a 403 Forbidden error too.  This is what I get -

Forbidden
You don’t have permission to access /store/ on this server.

--------------------------------------------------------------------------------

Apache/2.0.52 (Red Hat) Server at http://www.wrapitsigns.com Port 80

The store is located at http://www.WrapitSIgns.com/store Would anyone know what to do to fix this ?  I have uploaded a fresh 1.0 without any changes, I did change the permissions to the required files and folders already, and created a new DBase for it.  I went to the install.php to do the install setup and it gives me the 403 forbidden.  Now what ? 

Moshe, from your reply.. what is a vhost configuration and HOW do I change that if I need to ??

 
Magento Community Magento Community
Magento Community
Magento Community
 
TechBundle
Member
 
Avatar
Total Posts:  51
Joined:  2008-03-26
 

If I remember correctly, we solved this issue back in 0.8 by uncommenting and changing the following line in .htaccess and then installing.

#RewriteBase /

to

RewriteBase /store/

Sorry if that doesn’t work, this was a few weeks ago.

 
Magento Community Magento Community
Magento Community
Magento Community
 
PaulAlford
Member
 
Total Posts:  64
Joined:  2007-12-04
Summerville, SC
 

Thanks TechBundle.....  I have no idea what you just said though or how to do that.  I just had version .9177 running fine (located in a different folder on my site).... and now installed version 1.0 in a new folder on my site, with no modifications from the default downloaded files.  I changed permissions of the required files and cant ge the install screen to come up. 

Now, tell me again what I need to try to get the install screen to come up ?  (I didnt have to do this with .9177)

Thanks in advance
Paul

 
Magento Community Magento Community
Magento Community
Magento Community
 
TechBundle
Member
 
Avatar
Total Posts:  51
Joined:  2008-03-26
 

I don’t even know that this is what is causing your issue, but we had some 403 errors with our first install. What we did to fix the problem was edit the .htaccess file in your Magento directory.

Find the line that says “#RewriteBase /” and change it to “RewriteBase /store/”. Then reinstall Magento.

 
Magento Community Magento Community
Magento Community
Magento Community
 
PaulAlford
Member
 
Total Posts:  64
Joined:  2007-12-04
Summerville, SC
 
TechBundle - 01 April 2008 08:47 AM

I don’t even know that this is what is causing your issue, but we had some 403 errors with our first install. What we did to fix the problem was edit the .htaccess file in your Magento directory.

Find the line that says “#RewriteBase /” and change it to “RewriteBase /store/”. Then reinstall Magento.

OK, I can handle the “change that line to this....” - but what exactly does “reinstall Magento” mean ?  I havent been able to install it the first time.  Do you mean re-upload all of the files and folders again ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
TechBundle
Member
 
Avatar
Total Posts:  51
Joined:  2008-03-26
 

If you haven’t been able to install it at all, then you can probably ignore the “re-” part. =)

Just in case, check /app/etc/ and see if you have a file called local.xml in there. If you do, delete it. Then try installing again.

 
Magento Community Magento Community
Magento Community
Magento Community
 
PaulAlford
Member
 
Total Posts:  64
Joined:  2007-12-04
Summerville, SC
 

I have a file in there called local.xml.template, which I deleted and re-uploaded from the clean 1.0 folder… but still same forbidden error

 
Magento Community Magento Community
Magento Community
Magento Community
 
TechBundle
Member
 
Avatar
Total Posts:  51
Joined:  2008-03-26
 

If you edited that line in .htaccess and are still getting the same error, you have a different issue than we had.

Sorry it didn’t solve your problem, it is just what worked for us on a similar issue. =)

 
Magento Community Magento Community
Magento Community
Magento Community
 
Prodigy
Jr. Member
 
Total Posts:  9
Joined:  2009-10-13
 

One issue…if magento is installed in a subfolder you have to edit index.php line 45 (my install).

Change:

“$mageFilename = ‘app/Mage.php’;”
to

“$mageFilename = ‘{path_to_magento}/app/Mage.php’;

Peace.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top