Elxis CMS Forum

Support => Administration => Topic started by: forgetms on October 26, 2009, 09:51:10

Title: Can't enable SEO Pro in Elxis 2008.1
Post by: forgetms on October 26, 2009, 09:51:10
Hi!

I have two sites under Apache 2:

/var/www/www.mysite1.idv/htdocs/<ELXIS stuff>
/var/www/www.mysite2.idv/htdocs/<ELXIS stuff>

and I selected "SEO Pro" in Global Configuration | SEO | Apply. Immediately I got the following error:
Quote
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

I kept the content of the file intact:  /var/www/www.mysite1.idv/htdocs/.htaccess, that is,
Quote
RewriteBase /

I also refreshed the home page (http://www.mysite1.idv) on another browse page in the same browser (Opera) and got the same error:
Quote
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Apache 2 log:
Quote
[Mon Oct 26 14:57:08 2009] [alert] [client 127.0.0.1] /var/www/www.mysite1.idv/htdocs/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.mysite1.idv/index.php

What am I doing wrong?

Thank you in advance!

CN
Title: Re: Can't enable SEO Pro in Elxis 2008.1
Post by: Ivan Trebješanin on October 26, 2009, 13:08:07
Hi, are you sure mod_rewrite is enabled on your apache?
Title: Re: Can't enable SEO Pro in Elxis 2008.1
Post by: forgetms on October 26, 2009, 15:21:42
Hi, are you sure mod_rewrite is enabled on your apache?
Friend, Thank you very much!

I simply typed this command in Debian after googling:
Quote
a2enmod rewrite
The errors from Apache are gone after mod_rewrite has been enabled.

The problem I have now is that since the changes, which ever language I choose, only English pages show up. When any langage other than English is chosen, the address in my browser's address bar is always redirected to this ghost address:
Quote
http://www.mysite1.idv//
(Note the double slashes at the tail.)

Regards,

CN