summaryrefslogtreecommitdiff
path: root/www/pivotx/files/pkg-message.in
blob: b9ff9dcf13b9b624e4d85c12bdecf0b36f72952d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
*********************************************************************

Sample %%PREFIX%%/etc/apache22/Includes/pivotx.conf for the module
version of PHP:

	Alias /%%BLOGURL%% "%%WWWDIR%%"
	<Directory "%%WWWDIR%%">
	    AddType application/x-httpd-php .php
	    DirectoryIndex index.php
	    Options SymLinksIfOwnerMatch
	    AllowOverride Indexes FileInfo Limit

	    Order Deny,Allow
	    Deny from All
	    Allow from localhost
	    ### Change above ACL properly after adding the first user.
	</Directory>
	<LocationMatch "^/*%%BLOGURL%%/+pivotx(?:/+(?:index(?:\..*)?)?)?$">
	    Order Deny,Allow
	    Deny from all
	    Allow from localhost
	    ### Change above ACL properly for loginable users.
	</LocationMatch>

Adding the above alias allows you to access the admin page at
  http://localhost/%%BLOGURL%%/pivotx/
Use usernames that are hard to guess.

%%EXAMPLESDIR%%/example.htaccess is a sample .htaccess for %%WWWDIR%%.

Setting date.timezone of %%PREFIX%%/etc/php.ini in POSIX style may
ease your life.

To use MySQL, connect to the MySQL server and create a database, for
example "pivotx", with
  CREATE DATABASE pivotx DEFAULT CHARSET utf8 DEFAULT COLLATE utf8_unicode_ci;
and specify preferences on the page of adding the first user, or on
  http://localhost/%%BLOGURL%%/pivotx/index.php?page=configuration#section-2

See http://book.pivotx.net/ and http://forum.pivotx.net/ to continue
the setup.

*********************************************************************