You know, I hate cleanUrls! I think they vary from machine to machine. Certainly I am no expert at this. I can only share what I did.
My setup is very similar to yours, except I have a bunch of boltwire fields. And only one using cleanUrls. But they definitely work there. In my root .htacess I have for the "fast" field this line: RewriteRule ^fast/(.*)$ fast/index.php?p=$1 [QSA,L,NC] In my "fast" field index.php file I have $sharedURL = 'http://www.fast.st/code/boltwire/shared'; $cleanURL = 'http://' . $_SERVER['HTTP_HOST'] . '/fast/'; $fieldURL = 'http://' . $_SERVER['HTTP_HOST'] . '/fast'; Maybe there should not be a / at the end of the fieldURL. And farmURL is now sharedURL. Hope this helps! Cheers, Dan On Sat, Jun 14, 2014 at 3:46 AM, TheOldFellow <[email protected]> wrote: > I decided to try and get URLs clean. I followed the instructions: > > http://www.boltwire.com/index.php?p=docs.admin.cleanurls > > using the 'Farm Installation' method. > > The URLs are clean!! But I can't login, or register, seems anything with > a form accepts input but doesn't work. I'm not an expert on Apache2 > Re-write rules, for sure. > > My site is on a cheap shared hosting server as an additional domain, so > there is some .htaccess-ware already. > > The directory structure: > > public_html contains: > > ctik - the field directory > boltwire - the boltwire files > x - another website not boltwire > y - ditto > z - ditto > .htaccess provided by the host, to support multiple sites, containing: > ---- > Options +FollowSymLinks > RewriteEngine on > > RewriteCond %{HTTP_HOST} ctik.org.uk > RewriteCond %{REQUEST_URI} !^/ctik > RewriteRule ^(.*)$ ctik/$1 [L] > > RewriteCond %{HTTP_HOST} x.org.uk > RewriteCond %{REQUEST_URI} !^/x > RewriteRule ^(.*)$ x/$1 [L] > > RewriteCond %{HTTP_HOST} y.org.uk > RewriteCond %{REQUEST_URI} !^/y > RewriteRule ^(.*)$ y/$1 [L] > > RewriteCond %{HTTP_HOST} z.org.uk > RewriteCond %{REQUEST_URI} !^/z > RewriteRule ^(.*)$ z/$1 [L] > ---- > > In ctik I added the .htaccess as: > ---- > RewriteEngine On > RewriteBase /ctik > RewriteRule ^$ index.php [L] > RewriteRule ^index\.php$ index.php [L] > RewriteRule ^(.*)$ index.php?p=$1 [QSA,L] > ---- > > and altered the index.php to: > --- > <?php > $BOLTadmin='admin'; > $cryptkey='somethingsecret'; > $cleanURL='http://www.ctik.org.uk/ctik/'; > $fieldURL='http://www.ctik.org.uk/ctik/'; > $farmURL='http://www.ctik.org.uk/ctik/'; > include_once('../boltwire/scripts/engine.php'); > ---- > > Can anyone see where I have gone wrong? > Thanks, > TOF. > > -- > You received this message because you are subscribed to the Google Groups > "BoltWire" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/boltwire. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "BoltWire" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/boltwire. For more options, visit https://groups.google.com/d/optout.
