Home » V2 » Post Install

Installing Short URLs with mod_rewrite

In order to enable short URL's with phpFox2 you will need mod_rewrite, most servers today have support for this. To enable this feature open the file on your server:

htaccess.txt

Look for:

RewriteBase /

If you have installed phpFox2 in a sub-folder you will need to change the trailing slash with the sub-folder path. For example if you installed your site on:

http://www.yoursite.com/folder/

Yuo will need to change the RewriteBase to:

RewriteBase /folder/

If you installed your phpFox2 in your sites root directory (eg. http://www.yoursite.com) you can leave this setting as it is.

Next lets rename the file

htaccess.txt

to

.htaccess

Once you have done that open the file

/include/setting/server.sett.php

and look for

$_CONF['core.url_rewrite'] = '2';

and replace that with

$_CONF['core.url_rewrite'] = '1';

Save and close the file. You should now have short url's enabled on your site.

Enabling the Video Module

Since our video module relies on 3rd party scripts the ability to upload and convert videos is disabled by default. This feature needs to be enabled. First, we need to verify if FFMPEG and MENCODER is installed and we can find the correct path to them. During the install process we attempt to find these paths for you, however if these paths were wrong you can change them direct from the AdminCP.

Navigate to...

AdminCP >> Settings >> Manage Settings >> Video

Look for

Path to FFMPEG

and

Path to MENCODER

Make sure the full path to these scripts are correct. If you are unsure you can ask your web host or connect to your server via SSH.

If you have connected to your server via SSH execute this command

whereis ffmpeg

It would output something like this:

ffmpeg: /usr/bin/ffmpeg /usr/X11R6/bin/ffmpeg /usr/bin/X11/ffmpeg /usr/local/bin/ffmpeg /usr/share/man/man1/ffmpeg.1.gz

The full path would then be:

/usr/bin/ffmpeg

This same method needs to be done for mencoder.

Once you have entered the correct path enable this option

Enable Uploading of Videos

Once enabled submit the form and the script will attempt to connect to both scripts and if successful it will enable this feature. If unable to connect to the scripts a set of error message(s) will appear to guide you on what is wrong.

Previous Chapter: Installing the Product



Copyright © Benc Enterprises AB, 2005-2010. All Rights Reserved.
Toll Free (US/Canada):