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

404 on install. 
 
Willou
Jr. Member
 
Avatar
Total Posts:  3
Joined:  2007-09-02
Nantes
 

Hello,

I’ve got a problem with the magento install.
My version : Magento Light :
My error : 404 on the magento/install URL.

Here’s informations on my server :

Code:

# uname -a
Linux hyrkul 2.6.17-5mdv #1 SMP Wed Sep 13 14:32:31 EDT 2006 i686 AMD
Sempron(tmProcessor 2600GNU/Linux

répertoire magento
/# ls -la
total 68
drwxrwxr
-x 10 david david  4096 oct  2 23:28 ./
drwxr-xr-x 29 david david  4096 oct  4 01:19 ../
drwxrwxr-x  6 david david  4096 oct  2 23:28 app/
-
rw-rw-r--  1 david david   770 oct  2 23:20 cron.php
drwxrwxr
-x  2 david david  4096 oct  2 23:28 de/
-
rw-rw-r--  1 david david  1150 oct  2 23:20 favicon.ico
drwxrwxr
-x  2 david david  4096 oct  2 23:28 fr/
-
rw-rw-r--  1 david david   349 oct  4 15:00 .htaccess
-rw-rw-r--  1 david david  1328 oct  2 23:20 index.php
drwxrwxr
-x 11 david david  4096 oct  2 23:28 js/
drwxrwxr-x  4 david david  4096 oct  2 23:28 lib/
-
rw-rw-r--  1 david david 10410 oct  2 23:20 LICENSE.txt
drwxrwxrwx  2 david david  4096 oct  2 23
:28 media/
drwxrwxr-x  4 david david  4096 oct  2 23:28 skin/
drwxrwxrwx  4 david david  4096 oct  3 22:31 var/

# grep rewrite /etc/httpd/conf/httpd.conf
LoadModule rewrite_module modules/mod_rewrite.so

# rpm -qa |grep ^php-
php-hash-5.2.1-1mdv2007.1
php
-timezonedb-2007.3-1mdv2007.1
php
-pgsql-5.2.1-1mdv2007.1
php
-devel-5.2.1-4.3mdv2007.1
php
-mhash-5.2.1-1mdv2007.1
php
-simplexml-5.2.1-1mdv2007.1
php
-suhosin-0.9.18-4mdv2007.1
php
-mbstring-5.2.1-1.1mdv2007.1
php
-pdo_mysql-5.2.1-1mdv2007.1
php
-gd-5.2.1-1.2mdv2007.1
php
-mysqli-5.2.1-1mdv2007.1
php
-ctype-5.2.1-1mdv2007.1
php
-json-1.2.1-3mdv2007.1
php
-sysvsem-5.2.1-1mdv2007.1
php
-xmlreader-5.2.1-1mdv2007.1
php
-filter-5.2.1-0.1mdv2007.1
php
-dom-5.2.1-1mdv2007.1
php
-mysql-5.2.1-1mdv2007.1
php
-openssl-5.2.1-4.3mdv2007.1
php
-zlib-5.2.1-4.3mdv2007.1
php
-gettext-5.2.1-1mdv2007.1
php
-posix-5.2.1-1mdv2007.1
php
-sysvshm-5.2.1-1mdv2007.1
php
-xmlwriter-5.2.1-1mdv2007.1
php
-xml-5.2.1-1mdv2007.1
php
-session-5.2.1-1mdv2007.1
php
-iconv-5.2.1-1mdv2007.1
php
-pdo-5.2.1-1mdv2007.1
php
-ini-5.2.1-2mdv2007.1
php
-tokenizer-5.2.1-1mdv2007.1
php
-ftp-5.2.1-1.1mdv2007.1
php
-mcrypt-5.2.1-1.1mdv2007.1

Necessary module are loaded, non rights access problem. All seems to be OK.

Here’s the log of apache when I open the magento/install

# tail -f /var/log/httpd/*_log
==> /var/log/httpd/access_log <==
80.74.64.42 - - [04/Oct/2007:15:36:31 +0200] "GET /magento/install/
HTTP/1.1" 
404 1088 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr;
rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7"

==> /var/log/httpd/error_log <==
[Thu Oct 04 15:36:31 2007] [error] [client 80.74.64.42] File does not
exist
: /home/david/public_html/www.willou.net/home

Thanks for any informations or advice about this problem.

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

Do you know why apache looks for /home/david/public_html/www.willou.net/home ?

Is it DocumentRoot and does not exist?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Willou
Jr. Member
 
Avatar
Total Posts:  3
Joined:  2007-09-02
Nantes
 

Here’s the vhost configuration :

<VirtualHost *:80>
    
ServerName www.willou.net
    ServerAlias willou
.net
    DocumentRoot 
/home/david/public_html/www.willou.net/

     
alias /magento /home/david/magento

    
<Directory /home/david/magento/>
        
Order Allow,Deny
        Allow from all
        Options Indexes FollowSymLinks
        AllowOverride All
    
</Directory>
</
VirtualHost>
 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

Try this:

Alias /magento"/home/david/magento/"
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top