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.