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

Infamous 404 error
 
totallyjamie
Jr. Member
 
Total Posts:  2
Joined:  2007-11-21
 

I have been getting the infamous 404 error and I have searched high and low for the solution

I have also changed .htaccess dozen of times (based on different threads here) and it didn’t work.

I can’t figure out what is wrong with the .htaccess and I contacted my host (Bluehost) and they couldn’t update httpd.conf to allow “AllowOverride All”

Also, i noticed that http://mydomain.com/magento/index.php/install gives the instalation wizard but you can’t proceed after that. However,

http://mydomain.com/magento/install/ or http://mydomain.com/magento/ gives the 404 error.

Here’s my .htaccess file at magento directory (under main root).. Should I do anything to my main root’s .htaccess??

<IfModule mod_php5.c>
    
php_flag magic_quotes_gpc off
    php_flag short_open_tag on
</IfModule>

DirectoryIndex index.php

RewriteEngine on

#RewriteBase /

RewriteCond %{REQUEST_URI} !^/media/
RewriteCond %{REQUEST_URI} !^/skin/
RewriteCond %{REQUEST_URI} !^/js/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond 
%{REQUEST_FILENAME} !-d
RewriteCond 
%{REQUEST_FILENAME} !-l

RewriteRule 
.* /index.php

So I am stucked!! Please help!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Michael_1
Enthusiast
 
Total Posts:  826
Joined:  2007-08-31
 

Do you have an access to your account apache logs ? Could you post here what is logged when you try to go to any magento url ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
GregC
Sr. Member
 
Avatar
Total Posts:  76
Joined:  2007-11-23
A^2, MI
 

Hi all,

I just ran into the same problems with a fresh WAMP install.  I finally got this to work by making a simple change the .htaccess file

Change #RewriteBase / to

RewriteBase /magento

where /magento is the alias for the directory you put magento into.  If you don’t do this then the rewrite engine can not find the index.php file.

GregC

 
Magento Community Magento Community
Magento Community
Magento Community
 
totallyjamie
Jr. Member
 
Total Posts:  2
Joined:  2007-11-21
 

No it still doesn’ work.. :(

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