views:

75

answers:

1

I'm currently moving a dev magento build to my live test subdomain on ubuntu and using Easy Hosting Control Panel (EHCP).

If I rename my .htaccess file to .htaccess and refresh my subdomain url, I get an internal server error 500. If I rename the .htaccess file to .htaccess.bak, and refresh, the subdomain displays my magento store fine. BUT, if I try to navigate, since the index.php isn't removed in the .htaccess file, all my links are dead unless I insert index.php between my root url and the actual page/directory I'm navigating to.

I tried over riding the /etc/apache2/sites-available/000-default and /etc/apache2/sites-available/default files to AllowOverride All:

<VirtualHost *>

    DocumentRoot /var/www
    <Directory />
            Options FollowSymLinks
            AllowOverride All
    </Directory>

    <Directory /var/www/vhosts/>
            Options -Indexes FollowSymLinks MultiViews
            AllowOverride All
            Order Allow,Deny
            Allow from All
    </Directory>

    <FilesMatch "access_log|error_log">
            Deny from All
    </FilesMatch>

    ErrorLog /var/log/apache2/error.log
    LogLevel debug
    CustomLog /var/log/apache2/access.log combineddefault

but changing that in either file, or both, and then reenabling the .htaccess file still gives me the 500 error.

anything I'm doing wrong here? Somewhere else I should be placing the mod rewrite information?

thanks!

A: 

is it rules available? maybe apache is disabled rewrite mod,you can try to enable.

type 'a2enmod rewrite' to turn on.

mivec
yeah, already tried that one... I'm ditching the setup and going back to a non ve server on mediatemple
Rick Pickett