Weblog 1.6 - Mother of Perl | 4 | WebReference

Weblog 1.6 - Mother of Perl | 4

To page 1To page 2To page 3current pageTo page 5To page 6To page 7
[previous] [next]

Weblog 1.6

Alternate Installation

If you do not have root access to your Web server, you will need to use these installation procedures to get Weblog to work for you.

Step 1.

Copy the bin/, var/, and config/ directories to a directory that can execute CGI scripts. If you don't want just anyone to be able to edit your channels, you must secure this directory using whatever standard password protection your Web server uses. This is often done by placing an .htaccess file in the directory, which points to a file containing a list of logins and passwords.

Step 2.

Make sure that the <script_url> XML variable in the config/config.xml file in the location you just copied it to is pointing to the URL of the weblog.pl script. Also, make sure that the <temp_dir>, <archive_dir>, and <lock_dir> variables in the config/config.xml file point to the directories under the var/ directory you just copied the directories to.

Step 3.

Copy the stories/ and templates/ directories located under the channels/webnews/ directory to a location that's accessible by the Web server. This contains your default output and RSS files.

Step 4.

Make sure that the XML variables under the <channel> element match up with the directories and URLs. These variables include <palm_story>, <palm_url>, <palm>, <wml_story>, <wml_url>, <wml>, <tmpl_dir>, <rss1.0>, <rss0.9>, <rss0.91>, and <html>.

Step 5.

Next, you will need to make sure that the files in the rss/, html/, palm/, and wml/ as well as the directories under var/ are all owned by the Web user. Alternatively, you can make the files and directories world writable if you don't have permissions to change ownerships. If this is not done, you will get errors when you try to update your channel.

Step 6.

Goto the bin/ directory and execute the Weblog script: ./weblog.pl

You shouldn't get any errors if it's working.

Step 7.

Load weblog.pl in your browser. You should now be able to edit your RSS channels. Change the Channel Summary information to match your channel in the Weblog Manager.


To page 1To page 2To page 3current pageTo page 5To page 6To page 7
[previous] [next]

http://www.internet.com

Produced by Jonathan Eisenzopf
All Rights Reserved. Legal Notices.
Created: January 5, 2000
Revised: January 5, 2000

URL: http://www.webreference.com/perl/tutorial/18/4.html