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!!!!!!!!!!!!!!!!!!!!!

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting