Running Redaxo 4.4.x On Nginx (LEMP) On Debian Wheezy/Ubuntu 12.10 - Page 2

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Tue, 2013-04-02 19:14. ::

Next you can select if you want to start with an empty Redaxo site (select Setup database), or if you'd like to have some demo data installed to play with - in this case select Import REDAXO 4.4 export [Import Demo] and choose an SQL dump to import:

Next specify an admin login and click on Proceed to step 5:

Your Redaxo installation is now complete:

You can reach the backend under http://www.example.com/redaxo/index.php:

This is how the backend looks:

To enable real URLs, we need to install one of the real URL addons from http://www.redaxo.org/de/download/addons/. I choose the realurl addon here. For Redaxo 4.4, it can be installed as follows:

First go to the redaxo/include/addons/ directory:

cd /var/www/www.example.com/web/redaxo/include/addons/

Download, unzip and chown the addon:

wget http://www.redaxo.org/files/realurl_remastered_27.zip
unzip realurl_remastered_27.zip
chown www-data:www-data realurl_remastered
rm -f realurl_remastered_27.zip

Next open install.inc.php...

cd realurl_remastered
vi install.inc.php

... and change TYPE=MyISAM to ENGINE=MyISAM:

[...]
  $db->setQuery('CREATE TABLE IF NOT EXISTS `'.$REX['TABLE_PREFIX'].'realurl_pathcache` (
                      `realurl_id` int(11) NOT NULL auto_increment,
                      `realurl_article_id` int(11) NOT NULL default 0,
                      `realurl_clang` int(11) NOT NULL default 0,
                      `realurl_hash` text NOT NULL,
                      `realurl_path` text NOT NULL,
                      `realurl_createdate` int(11) NOT NULL default 0,
                       PRIMARY KEY  (`realurl_id`)
                    ) ENGINE=MyISAM;');
[...]

In the Redaxo backend, under AddOn, the realurl_remastered addon should now be listed. Click on install...

... and activate to enable it:

Afterwards, you should find Realurl in the AddOns category in the menu on the left. Go there, enable rewriting (Benutze mod_rewrite), and click on Speichern (= save):

Now you can visit the frontend and browse it (if you have installed demo data). If everything is ok, real URLs should work:

 

4 Links

 

About The Author

Falko Timme is the owner of nginx WebhostingTimme Hosting (ultra-fast nginx web hosting). He is the lead maintainer of HowtoForge (since 2005) and one of the core developers of ISPConfig (since 2000). He has also contributed to the O'Reilly book "Linux System Administration".


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.