Elxis CMS Forum
Support => Language => Topic started by: mazzeltof on July 10, 2009, 22:39:56
-
I have downloaded Elxis 2009.0 and installed it on a sub site fore testing, so It is not in de root but in A dir called " cms".
I have made the changes in the htacces file as follows
## Uncomment the following line, if it produces erors, comment it again
Options -Indexes +FollowSymLinks
# mod_rewrite in use
RewriteEngine On
# The following line tells the web server where your Elxis installation is located in relation
# to the web server root directory. By default this is set to the www root folder ( RewriteBase / ).
# If you have installed Elxis in a sub-folder then set this path properly.
# For example if your elxis site is accessible via this URL http://www.mysite.com/elxis/
# You should set: RewriteBase /elxis/
RewriteBase /cms/
# Uncomment the line bellow if you use static cache in order to deny direct access to cached files.
#RewriteRule ^cache/static/(.*)$ - [F]
# Language Handling
# You may remove the languages that you dont need or add other languages not listed here
# For the proper language names and the 2-letter iso code languages consider includes/Core/locale.php file
RewriteCond %{QUERY_STRING} !mylang=[dutch|english]{2,}
RewriteRule ^([nl]{2})/(.*)$ /index.php?mylang=dutch [QSA,L]
RewriteRule ^([en]{2})/(.*)$ /index.php?mylang=english [QSA,L]
#
# Exclude Files and directories
#
RewriteRule ^(administrator/|bridges/|cache/|components/|editor/|help/|images/|includes/|language/|mambots/|media/|modules/|templates/|tmpr/) - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php
turned on seo pro
the site appears in the default lang, and when I klik a flag to change it I get a 404
what did I do wrong
-
it give error only when change lang?
in same lang all working well?
-
online or local installation ?
If it is on line give us a link to check it out.
If it is local, view the next https://www.elxis.org/guides/developers-guides/local-apache-and-virtual-hosts.html
Also check this http://wiki.elxis.org/wiki/Enable_SEO_PRO
-
it is a online installation http://comhair.nl/cms (http://comhair.nl/cms).
i'm working one it it so take a look
T.I.A
-
i dont get any error now.
-
Neither I get any any error, probably you have fix it.
-
no i turned seo pro off and removed htacces in order to see the admin site working.
the problem with the admin site work perfect with every thing turned off and no .htacces and there no problems as in https://forum.elxis.org/index.php?topic=3649.0 (https://forum.elxis.org/index.php?topic=3649.0)
when i turn everey thing on then the problems are there again
here are the last 10 line off the error log " I know Idon'y have a 404.shtml or error file
[Sat Jul 11 14:02:24 2009] [error] [client 62.238.166.99] File does not exist: /home/comhair/domains/comhair.nl/public_html/404.shtml, referer: http://comhair.nl/cms/administrator/index2.php?option=com_config&hidemainmenu=1
[Sat Jul 11 14:02:26 2009] [error] [client 62.238.166.99] File does not exist: /home/comhair/domains/comhair.nl/public_html/includes, referer: http://comhair.nl/cms/administrator/index2.php?option=com_config&hidemainmenu=1
[Sat Jul 11 14:02:26 2009] [error] [client 62.238.166.99] File does not exist: /home/comhair/domains/comhair.nl/public_html/404.shtml, referer: http://comhair.nl/cms/administrator/index2.php?option=com_config&hidemainmenu=1
[Sat Jul 11 14:02:53 2009] [error] [client 62.238.166.99] File does not exist: /home/comhair/domains/comhair.nl/public_html/includes, referer: http://comhair.nl/cms/administrator/index2.php?option=com_config&hidemainmenu=1
[Sat Jul 11 14:02:53 2009] [error] [client 62.238.166.99] File does not exist: /home/comhair/domains/comhair.nl/public_html/404.shtml, referer: http://comhair.nl/cms/administrator/index2.php?option=com_config&hidemainmenu=1
[Sat Jul 11 14:06:38 2009] [error] [client 62.238.166.99] File does not exist: /home/comhair/domains/comhair.nl/public_html/includes, referer: http://comhair.nl/cms/administrator/index2.php?option=com_config&hidemainmenu=1
[Sat Jul 11 14:10:40 2009] [error] [client 62.238.166.99] File does not exist: /home/comhair/domains/comhair.nl/public_html/includes, referer: http://comhair.nl/cms/administrator/index2.php?option=com_config&hidemainmenu=1
[Sat Jul 11 14:10:40 2009] [error] [client 62.238.166.99] File does not exist: /home/comhair/domains/comhair.nl/public_html/404.shtml, referer: http://comhair.nl/cms/administrator/index2.php?option=com_config&hidemainmenu=1
[Sat Jul 11 14:13:38 2009] [error] [client 62.238.166.99] script '/home/comhair/domains/comhair.nl/public_html/index.php' not found or unable to stat, referer: http://comhair.nl/cms/
[Sat Jul 11 14:13:38 2009] [error] [client 62.238.166.99] File does not exist: /home/comhair/domains/comhair.nl/public_html/404.shtml, referer: http://comhair.nl/cms/
everything is turned on so please try
T.I.A.
-
I have installed everything in the root off a different site and now it is working.
the line in .htacces
# You should set: RewriteBase /elxis/
RewriteBase /cms/
does not work properly