| Posted by | Messages text |
|---|---|
![]() Total post : 68 Profile |
Written on : 05/03/2010 13:25 ( more than one month ) Object : mod_rewrite returns 404 error Hello, I'm using a hosting where mod_rewrite is on (I have a domain where it is working) but when I create pages in Docebo's CMS and I try to access them clicking over the corresponding menu item I get the 404 error: Page not found The link to a page is similar to the one listed below: http://www.mydomainname.com/folder/doceboCms/page/3/courses.html I've checked and Docebo doesn't create any page folder Do you have any idea about how can I solve this? Thanks in advance, |
![]() Total post : 1861 Profile |
Written on : 08/03/2010 10:05 ( more than one month ) Object : Re: mod_rewrite returns 404 error Hello, in order to work, mod_rewrite should be enabled from the apache configuration or from the local .htaccess file. The standard .htaccess file you should have in your doceboCms' root folder should tell apache to enable the mod rewrite engine but if it has been disabled by your hosting provider then it can't works; so my suggestion is to ask to your hosting provider if mod rewrite can be enabled for your account. Of course, being an apache feature, it doesn't works with IIS or other webservers. bye, Docebo Staff |
![]() Total post : 68 Profile |
Written on : 26/03/2010 13:25 ( more than one month ) Object : Re: mod_rewrite returns 404 error Hello Giovanni, I was doing tests and although I have the mod_rewrite module activated for Apache I cannot get it to work in any of my docebo's installations (localhost or remote hosting). The only difference between the results I get with both installations is that in localhost I don't get any error but I see the complete path instead of the seo optimized one while in the remote I get the 404 error. I've tried several configurations for .htaccess with no luck. Do you have any idea about how can I solve this? Thanks, |
![]() Total post : 1861 Profile |
Written on : 29/03/2010 09:49 ( more than one month ) Object : Re: mod_rewrite returns 404 error The only difference between the results I get with both installations is that in localhost I don't get any error but I see the complete path instead of the seo optimized one while in the remote I get the 404 error. hello, Try to check this and if I'm right, try to enable it and see if it works or if you get a 404 in localhost too. Anyway it sounds also strange for me that on your remote hosting the mod_rewrite is on cause if the problem was with the .htaccess file then you should get another error code (not 404). Also please check that the file name is exactly .htaccess (all lowercase, starting with a dot) bye, Docebo Staff |
![]() Total post : 68 Profile |
Written on : 29/03/2010 13:15 ( more than one month ) Object : Re: mod_rewrite returns 404 error Hello, http://localhost:8080/lms/doceboCms/index.php?special=changearea&newArea=6 that's what I get when I select a page from the cms. On the other hand, I'm sure that mod_rewrite is on and that I have the mod_rewrite option activated in the CMS and the .htaccess is called exactly .htaccess, so I don't know what to think because I've done a new installation in localhost from scratch (this at the standard port,80) and Docebo's mod_rewrite option doesn't work either. Saluti, Message modified by : halane on : 31/03/2010 19:05 |
![]() Total post : 1861 Profile |
Written on : 31/03/2010 10:09 ( more than one month ) Object : Re: mod_rewrite returns 404 error Writted by: halane Hello,
hello, So if this doesn't works as expected, probably there are some other configuration problems.. to do a test you could try to open the file doceboCms/modules/menu/block.menu.php and before the line "function write_open_link..." add this line: var_dump($GLOBALS["cms"]["use_mod_rewrite"]); then save the page and try to open a page of the cms that has a menu block; you should see something like string(3) "off" or string(2) "on" at the end of the page. Please tell me which one you see. bye, Docebo Staff |
![]() Total post : 68 Profile |
Written on : 31/03/2010 19:58 ( more than one month ) Object : Re: mod_rewrite returns 404 error Hello,
This is what the cms generates when I click on one of the menu options I have in the cms, you know, home, courses.... var_dump($GLOBALS["cms"]["use_mod_rewrite"]);I did what you said and the result was String(3) "off" . I guess this means the mod_rewrite is not enabled, but I have the LoadModule rewrite_module modules/mod_rewrite.so loaded, the docebo's .htaccess and the mod_rewrite enabled for Docebo in the CMS.... Thanks, Message modified by : halane on : 31/03/2010 19:58 |
![]() Total post : 1861 Profile |
Written on : 01/04/2010 09:38 ( more than one month ) Object : Re: mod_rewrite returns 404 error Writted by: halane I did what you said and the result was String(3) "off" . I guess this means the mod_rewrite is not enabled, but I have the LoadModule rewrite_module modules/mod_rewrite.so loaded, the docebo's .htaccess and the mod_rewrite enabled for Docebo in the CMS.... hello, bye, Docebo Staff |
![]() Total post : 68 Profile |
Written on : 01/04/2010 14:20 ( more than one month ) Object : Re: mod_rewrite returns 404 error Hello you have to enable it also from admin > main > configuration > cms > main > use mod_rewrite .. if you select this item and then save check that the setting has actually been saved by reopening the page of the configuration (... cms > main ).
From the beginning I have activated it from Main --> Configuration --> Web portal --> General options --> Use the apache module mod_rewrite . Never found any other place in Docebo to do this ; and after doing so I always got the message "Operation successfully completed" and I've checked that the right option was selected...but I still don't know why it is not working properly Message modified by : halane on : 05/04/2010 11:51 |