Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: groyk on February 02, 2009, 03:40:20 PM

Title: rewrite_module in a single Ibay
Post by: groyk on February 02, 2009, 03:40:20 PM
Hi

I have installed Drupal 6 i one of my Ibays. But I can't use URL rewrite in the Ibay.

How do I turn this on?

Further I get this warning in the "Drupal status page"
Code: [Select]
Unicode library Standard PHP
Operations on Unicode strings are emulated on a best-effort basis. Install the PHP mbstring extension for improved Unicode support.
Does this error has anytnig with url_rewrite to do?

Title: Re: rewrite_module in a single Ibay
Post by: cactus on February 02, 2009, 07:06:47 PM
Hi

I have installed Drupal 6 i one of my Ibays. But I can't use URL rewrite in the Ibay.

How do I turn this on?

Further I get this warning in the "Drupal status page"
Code: [Select]
Unicode library Standard PHP
Operations on Unicode strings are emulated on a best-effort basis. Install the PHP mbstring extension for improved Unicode support.
Does this error has anytnig with url_rewrite to do?
No, it has to do with the fact that your version of Drupal needs php-mbstring installed, which is not available on SME Server by default, not sure if you can find it to install either. You would need a RHEL4/CentOS4 package compatible with the current release of php on your server, which if you did not do anything special should be PHP 4.3.9-3.22.12.

Rewrite rules in ibays might be possible when using htaccess files for that ibay as an override/addition to the configuration in the main server configuration file, this might point you in the right direction on your redirect(s): http://wiki.contribs.org/Htaccess
Title: Re: rewrite_module in a single Ibay
Post by: Normando on February 02, 2009, 08:11:33 PM
If you want to enable .htaccess at the ibays follow the wiki page:

http://wiki.contribs.org/DB_Variables_Configuration#Apache_server_ibay_specific_.28httpd-e-smith.29

So issue these commands:

Code: [Select]
db accounts setprop ibayname AllowOverride All
db accounts setprop ibayname FollowSymLinks enabled
signal-event ibay-modify ibayname
Change ibayname with the real ibay name.
The above commands only allow apache to read .htaccess files, so you must add the drupal .htaccess file under the html folder of your ibay.
Title: Re: rewrite_module in a single Ibay
Post by: perelandra on February 03, 2009, 12:33:45 AM
If you want to enable .htaccess at the ibays follow the wiki page:

http://wiki.contribs.org/DB_Variables_Configuration#Apache_server_ibay_specific_.28httpd-e-smith.29

So issue these commands:

Code: [Select]
db accounts setprop ibayname AllowOverride All
db accounts setprop ibayname FollowSymLinks enabled
signal-event ibay-modify ibayname
Change ibayname with the real ibay name.
The above commands only allow apache to read .htaccess files, so you must add the drupal .htaccess file under the html folder of your ibay.


Thanks a lot! That saved my day :pint:
Title: Re: rewrite_module in a single Ibay
Post by: groyk on February 04, 2009, 09:56:54 AM
Normando: Thank you for your information regarding .htaccess file. I found that by searching the site myself.

Cactus: Regarding the mb_string extension My Drupal is installed in an Ibay running PHP 5.2.8 through cgi

Will the procedure for the mb-string extension be the same?

Just a loose question regarding the upcoming SME 8
Where do I see witch packets it comes with by default?
Is there any relese date known for the final SME8?
Title: Re: rewrite_module in a single Ibay
Post by: cactus on February 04, 2009, 04:45:45 PM
Regarding the mb_string extension My Drupal is installed in an Ibay running PHP 5.2.8 through cgi
Yes.