Loading...
 

Architecture / Installation


Rewrite Base Directive Error Message

posts: 515 United States

Installing tiki on it’s own domain with sefurl enabled, this issue does not appear, but if I install a tiki in a sub directory, acme.com/tiki with sefurl enabled,
Then I get this error message:

Warning
The RewriteBase directive seems not to be set up correctly. This is required for sefurl to function correctly.
The current value in .htaccess is / but the base url for this site is /main/

I have followed instructions for enabling sefurl by renaming _htaccess to .htaccess without success, and I have modified per the error message and .htaccess to:

# If Tiki is installed in a subdirectory of the web root, then customize and enable it below.
    RewriteRule ^(.+[^/])/$  /main/HomePage [R=301,L]


/main/ is the subdirectory in the root where tiki is installed.

this occurres with tiki 17 and 18

posts: 515 United States
Little help please? Just a little? biggrin
posts: 1945 Czech Republic

Hi John,
what you are looking for in .htaccess is RewriteBase, not RewriteRule directive. Modify the RewriteBase only to /main/.

HTH, luci


posts: 515 United States
That did it, thanks Luci!!!!!!!!!!!!!!!!!!!!!

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.