Hi,
I cannot make JoomSEF work properly! I get a 404 error on any page. Can you help me?
Thanks !
Here is my environment:
- Apache 1.3.37
- PHP 4.4.4
- MySQL 4.1.21
- Joomla 1.0.11
- JoomFish 1.7
- JoomSEF 1.3.3
My main site is www.compu-zen.com, but I made a test copy under www.compu-zen.com/_sandbox/compuzen/
My .htaccess file:
DirectoryIndex index.php
RewriteEngine On
RewriteBase /_sandbox/compuzen/
RewriteCond %{HTTP_HOST} ^compu-zen.com/_sandbox/compuzen/$
RewriteRule ^(.*)
www.compu-zen.com/_sandbox/compuzen/$1 [QSA,L,R=301]
RewriteCond %{REQUEST_URI} ^(/_sandbox/compuzen/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule ^(.*)$ index.php [F,L]
My configuration.php file:
$mosConfig_absolute_path = '/home/compuzen/public_html/_sandbox/compu-zen';
$mosConfig_live_site = '
www.compu-zen.com/_sandbox/compu-zen';
The JoomSEF configuration:
Basic Configuration
Enabled? Yes
Replacement character -
Page spacer character -
Strip characters ,|~|!|@|%|^|*|(|)|+|<|>|:|;|{|}|[|]|---|--|..
Trim friendly characters -|.
Use Title Alias? Full Title
File suffix .htm
Default index file index.php
Page text %s
All lowercase? Yes
Show Section? Yes
Show Category? Yes
404 Page (Default 404 Page)
Advanced Configuration
Non-ascii char replacements á|a, à |a, â|a, Â|A, ä|a, Ä|A, Ã¥|a, Ã…|A, Ã|A, é|e, É|E, è|e, ê|e, ë|e, Ã|i, ì|i, î|i, ï|i, ó|o, ò|o, ô|o, Ö|O, ú|u, ù|u, û|u, ü|u, Ãœ|U, ÿ|y, ç|c, Ç|C, ñ|n, Ñ|N
JoomFish Related Configuration
Language as path? No
Always use language? Yes
Translate URLs? Yes
Component Configuration
com_cloner (use default handler)
com_google_maps (use default handler)
com_joomfish (use default handler)
com_joomlaxplorer (use default handler)
com_poll (use default handler)
The JoomSEF URLs:
1 contactez-nous.htm index.php?Itemid=3&lang=fr&option=com_contact
2 index_en.htm index.php?Itemid=1&lang=en&option=com_frontpage
3 index_fr.htm index.php?Itemid=1&lang=fr&option=com_frontpage
4 informations/la-soci-t/la-soci-t_fr.htm index.php?id=12&lang=fr&option=com_content&task=view
5 informations/la-soci-t/nos-tarifs_fr.htm index.php?Itemid=36&id=29&lang=fr&option=com_content&task=view
6 informations/nos-produits/index_fr.htm index.php?Itemid=35&id=16&lang=fr&option=com_content§ionid=1&task=category
7 informations/nos-r-f-rences/index_fr.htm index.php?Itemid=31&id=18&lang=fr&option=com_content§ionid=1&task=category
8 informations/nos-services/index_fr.htm index.php?Itemid=29&id=15&lang=fr&option=com_content§ionid=1&task=category
9 lactualit-informatique/index_fr.htm index.php?Itemid=34&lang=fr&option=com_wrapper
The URLs I get when I click on my main menu topics:
www.compu-zen.com/_sandbox/compu-zen/index_fr.htm
www.compu-zen.com/_sandbox/compu-zen/inf...ervices/index_fr.htm
www.compu-zen.com/_sandbox/compu-zen/inf...roduits/index_fr.htm
www.compu-zen.com/_sandbox/compu-zen/inf...-t/nos-tarifs_fr.htm
www.compu-zen.com/_sandbox/compu-zen/inf...-rences/index_fr.htm
www.compu-zen.com/_sandbox/compu-zen/contactez-nous.htm
www.compu-zen.com/_sandbox/compu-zen/lac...matique/index_fr.htm
The error I get for each of these URLs:
Not Found
The requested URL /_sandbox/compuzen/index.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
--------------------------------------------------------------------------------
Apache/1.3.37 Server at
www.compu-zen.com Port 80