Koozali.org: home of the SME Server

rewrite_module in a single Ibay

Offline groyk

  • ****
  • 140
  • +0/-0
rewrite_module in a single Ibay
« 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?


Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: rewrite_module in a single Ibay
« Reply #1 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
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
Re: rewrite_module in a single Ibay
« Reply #2 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.

Offline perelandra

  • *
  • 62
  • +0/-0
Re: rewrite_module in a single Ibay
« Reply #3 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:
Greetings, Johannes

Offline groyk

  • ****
  • 140
  • +0/-0
Re: rewrite_module in a single Ibay
« Reply #4 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?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: rewrite_module in a single Ibay
« Reply #5 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.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)