OSDN Git Service

translated by kitsune.info
[nucleus-jp/nucleus-jp-ancient.git] / euc / extra / fancyurls / fancyurls.config.php
1 <?\r
2         /*\r
3                 About\r
4                 -----\r
5                 This directory contains extra files to make the 'fancy urls' feature even more\r
6                 fancier, by eliminating the 'index.php'-part of the URL\r
7         \r
8                 Installation\r
9                 ------------\r
10                 \r
11                 1. Copy all files in this directory (except for index.html) to your main nucleus dir\r
12                    (where your index.php and action.php file are)\r
13                    \r
14                    If you have an already existing .htaccess file (most ftp-programs don't show hidden files\r
15                    by default, so don't start uploading it without checking your server). If you do, download\r
16                    that old one first, and copy the contents of the new .htaccess file (from the fancyurls\r
17                    folder) in your old one, and upload that... \r
18 \r
19                 2. Edit this file so that $CONF['Self'] points to your main directory. \r
20                         NOTE: this time, and only this time, the URL should NOT end in a slash\r
21 \r
22                 3. Also edit the $CONF['Self'] variable in your index.php, if you don't want to\r
23                    end up with index.php/item/1234 urls when people come via that way\r
24 \r
25                 4. Enable 'Fancy URLs' in the Nucleus admin area (nucleus management / edit settings)\r
26 \r
27                 5. Off you go!\r
28                 \r
29                 If it doesn't work:\r
30                 -------------------\r
31                 \r
32                 Remove the files again (don't forget the hidden file .htaccess). Voila.\r
33                 \r
34         */\r
35 \r
36         \r
37         // remember: this URL should _NOT_ end with a slash. \r
38         $CONF['Self'] = 'http://www.yourhost.com/yourpath';\r
39         \r
40 ?>