Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

System requirements

Code Block
languagetext
Server capable of handling PUT requests (eg. Apache)
Enabled htaccess
Enabled mod_rewrite module

.htaccess file

This file should be located in sharing/ directory in your Hostbill root directory

Code Block
languagetext
 <Limit GET PUT POST>
   order deny,allow
   allow from all
</Limit>
<IfModule mod_rewrite.c>
   Options +FollowSymLinks
   RewriteEngine On
   RewriteBase /sharing/
   RewriteRule ^(.*)/(.*)$ index.php?/$1/$2 [L]
</IfModule>

In case if your HostBill installation is not located in your site root directory, change:

Code Block
languagetext
 RewriteBase /sharing/

to the location on your server eg.

Code Block
languagetext
 www.hostbill.com/billing/sharing/
 RewriteBase /billing/sharing/

Enabling htaccess

 

If htaccess is not enabled, and you have access to your server configuration files, edit your httpd.conf and change AllowOverride directive to All, you can find it under one of yours Directory tags

...

languagetext

...

Notice: this feature is deprecated and no longer supported by HostBill