Forums / Install & configuration / ez Module conflict with my Site Manager
Softriva .com
Saturday 14 October 2006 3:50:57 am
My website Site Manager and phpmyadmin are located in the htdocs. Before uploading my ezp site , I used to go to the aforementioned programs as
www.mysite.com/managerwww.mysite.com/pma
After I uploaded my ezp site and when I go to either
www.mysite.com/manager
or
www.mysite.com/pma
I get the kernel 20 error
Module not found The requested module manager could not be found. Possible reasons for this are: * The module name was misspelled, try changing the URL. * The module does not exist on this site. * This site uses siteaccess matching in the URL and you didn't supply one, try inserting a siteaccess name before the module in the URL .
How can I solve this issue?
Patrick Kaiser
Saturday 14 October 2006 6:30:47 am
you have to adjust your rewrite rules of apache. if you are using an vhost based setup add the following line to you httpd.conf (or the file where you defined your vhost):
<IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^/manager - [L] RewriteRule ^/pma - [L] [...] further ez rewrite rules here RewriteRule .* /index.php </IfModule>
with the code above you instruct apache NOT to rewrite the request of /manager and /pma to ez's index.php.
if you are using non virtual host mode then you have to edit the .htaccess file and change the rewrite rule and the FilesMatch directive accordingly.
best regards, patrick
Best regards, Patrick
Xavier Dutoit
Saturday 14 October 2006 11:58:28 am
[edit] For some reasons, the previous post wasn't displayed when I wrote this one[/edit]
By modifying your rewrite rules to exclude these directories
add after the RewriteEngine on
Rewriterule ^/manager* - [L]
and the others.
X+
http://www.sydesy.com
Saturday 14 October 2006 2:07:18 pm
Unfortunately, it did not work. I am sure that I am doing something wrong but I can't figure it out. Anyhow, I am using Virtual Private Server (VPS) and my .htaccess file is shown below; anything wrong with it?
DirectoryIndex index.php RewriteEngine On RewriteRule ^/manager* - [L] RewriteRule ^/pma* - [L] RewriteRule !\.(gif|jpe?g|png|css|js|jar|html)|var(.+)storage.pdf(.+)\.pdf?$ - [C] RewriteCond %{HTTP_HOST} ^webdav\..* RewriteRule ^(.*) webdav.php [L] RewriteCond %{HTTP_HOST} ^soap\..* RewriteRule ^(.*) soap.php [L] RewriteRule ^var/cache/debug.html.* - [L] RewriteRule ^var/[^/]+/cache/debug.html.* - [L] Rewriterule ^var/storage/.* - [L] Rewriterule ^var/[^/]+/storage/.* - [L] RewriteRule ^var/cache/texttoimage/.* - [L] RewriteRule ^var/[^/]+/cache/texttoimage/.* - [L] Rewriterule ^design/[^/]+/(stylesheets|images|javascript)/.* - [L] Rewriterule ^share/icons/.* - [L] Rewriterule ^extension/[^/]+/design/[^/]+/(stylesheets|images|javascripts?)/.* - [L] Rewriterule ^packages/styles/.+/(stylesheets|images|javascript)/[^/]+/.* - [L] RewriteRule .* index.php [L]
Saturday 14 October 2006 2:40:51 pm
I also tried these links but still could not figure it out
http://ez.no/products/ez_publish/documentation/configuration/configuration/tips_tricks/exclude_uris_from_rewritehttp://ez.no/products/ez_publish/documentation/installation/virtual_host_setup/excluding_other_parts_of_your_website
Thank you for your help.
Kristof Coomans
Sunday 15 October 2006 1:51:17 am
Hi OOzy
Try without the leading slashes:
RewriteRule ^manager* - [L] RewriteRule ^pma* - [L]
independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org
Sunday 15 October 2006 2:14:34 am
Thank you all.
It worked.