
|
demo/demo
|
Installation Requirements:
The Free Directory Script was designed to run on just about any PHP-enabled web server with very minimal requirements.
Unlike most directory software, no SQL database is required; as all directory data is stored in flat-file ASCII databases.
The Free Directory Script does require:
Installation Instructions:
Step 1. Unpacking The FilesThe Free Directory Script comes packaged as a Zip file that needs to be unpacked prior to use. Once you have downloaded the script to your local machine, first unpack the entire zip so the contents (individual files) are located in a folder on your hard drive. Step 2. Uploading The Files Upload the files to your web server in a new folder above your root directory, i.e. http://www.yourdomain.com/directory/. You may use whatever name you want for this new folder, you'll alter that a couple of steps later in the configuration file. All files should be kept in their respective sub-folders during unpacking and uploading. Step 3. Setting File Permissions Set permissions on all the .cgi files in the /_Data/ folder (a sub directory within your new script folder) to writable (chmod 777). Note that the .cgi extensions are just to prevent direct browser access, these particular files are actually the ASCII databases containing your directory contents, and do not 'run' or contain any Perl (they're basically text files). Step 4. Edit The Configuration File Edit the configuration file located in /directory/_config/config.php file to reflect the proper settings for your website. There are three instances that need to be changed:
At this point the basic installation is complete, and you should be able to see your default directory and access the admin area through your browser. Assuming you installed the script in a folder named /directory/, the respective URL's would be:
Password Protecting The Administration Area:
This is done through the use of standard .htaccess and .htpasswd files located within the /_admin/ sub-directory.
You should have already uploaded both files during the initial installation, but they will require a couple of quick changes to work properly.
First, open the .htaccess file located in the /_admin/ directory, and change the AuthUserFile reference on line 3 to match the actual server path to your .htpasswd file.
(The root and script directories are the same information you used in Step 4 when editing your config file.)
You should change both the username and password right away to prevent unauthorized access. Here's how to do it:
Now when you re-visit your administration area, you will be prompted for this new username and password. If you ever want to change your login, simply create a new username/password and repeat the process. That's it, you're done! If you'd like, you can however make more 'search engine friendly' directory pages using mod-rewrite functions. Click Here For Mod-Rewrite Instructions. |
All Rights Reserved, FreeDirectoryScript.com |
|