NotSoFancy! /install

Installation is pretty damn easy. All you need to know is the folder where all your web documents are stored. This is usually "html" or "public_html".

Upload all the files in /install/ to a folder on your webspace. For this example we'll pretend you uploaded it to ~/yourhtmlfolder/shared/.

Now rename "config.php-dist" to "config.php", I make you do this to be sure you're actually following directions. There is one line you simply must edit in this file; the rest are optional.

First off, edit $nsf_install to point to the web location where you installed NotSoFancy!. If you installed it in ~/yourhtmlfolder/shared/ like the example above, this would probably be "/shared". Do not include trailing slashes.

Edit $nsf_folder to point to what point in your path you would like things to be chopped out. I'll explain in detail. Most servers, regardless of what you see when you log in, have a path like:

     /var/website/users/user18/home/yourusername/html/
Or something similar. Chances are on login all you'll ever see is the tail end: /yourusername/html/. If the root of your website is where you want to start the index, just put "html" for this variable. The effect will be transformation of:
     /var/website/users/user18/home/yourusername/html/pub/myfolder/
Into something far more readable and web-friendly:
     /pub/myfolder/
Yes, you can run without this, but you'll probably end up giving out far more information about your server than you would like.

If you made it this far without e-mailing me, give yourself a pat on the back: you're smarter than 99.9~% of the internet.

Now comes the easy part, the /web/ folder. It only has two files, so upload them to whatever folder you want indexed.

There's a few lines in index.php you should edit. The first is $nsf_path, which is the relative path to where you installed NotSoFancy! earlier in this guide. We installed it in ~/yourhtmlfolder/shared/. So say you are putting "index.php" in ~/yourhtmlfolder/pub/myfolder/. This means $nsf_path should be "../../shared" since we need to go up two directories and change to shared.

Congratulations, your install works.

Parent Directory

File name Last modified Size Description
edit config.php/ 4/30/2005 12:25 AM 5.05KB <Directory> Set up the look and feel
edit index.php/ 4/30/2005 12:25 AM 4.73KB <Directory> Extra options for listings
templates/ 4/30/2005 12:25 AM 7.24KB <Directory> Things you should know …
SourceForge.net Logo