Loading...
 
Architecture / Installation

Architecture / Installation


Rewrite Base Directive Error Message

posts: 758 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:

Copy to clipboard
# 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: 758 United States
Little help please? Just a little? biggrin
posts: 2428 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: 758 United States
That did it, thanks Luci!!!!!!!!!!!!!!!!!!!!!