Elxis CMS Forum
Support => Administration => Topic started 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:
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,
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:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Apache 2 log:
[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
-
Hi, are you sure mod_rewrite is enabled on your apache?
-
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:
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:
http://www.mysite1.idv//
(Note the double slashes at the tail.)
Regards,
CN