oscommerce on Fedora Core 4

For those having problem with Step 2 installing oscommerce-2.2ms2 on Fedora Core 4 here is the solution:

  1. Edit _/etc/httpd/conf/httpd.conf _replacing:

    <Directory "/var/www/html">
    ...
    AllowOverride None
    ...
    </Directory>
    with
    <Directory "/var/www/html">
    ...
    AllowOverride Options
    ...
    </Directory>
  2. Create .htaccess file in _/var/www/html_with the following contents:

    php_flag register_globals on
    php_flag register_long_arrays on