Corey Ganser > Technology > Setup and configuration for Prestashop, Wordpress MU, and MindTouch
Redirected from Technology/Setup and configuration for Prestashop, Wordpress MU, and Deki

Setup and configuration for Prestashop, Wordpress MU, and MindTouch

I got a VPS at Linode and started working on installing Prestashop (open source ecommerce), Wordpress MU (mutliple instance Blogging platform) and MindTouch (Enterprise Wiki) 

Note: This configuration is running on Debian Lenny

 

To get started I installed prestashop and wordpress MU.  I was able to gain access to the install directories by hitting the main server IP and then hitting the subdirectories that the packages were in. Example:  

http://ipaddress/wordpress-mu
http://ipaddress/prestashop/

Once they were installed then I went through and configured the apache settings.  This was no walk in the park, but thanks to the never ending vastness that is the internet I was able to gleam information and get it working.  First I created a file for each configuration and put it in the sites-available folder. 

Here are the following configurations (I removed email and domain values for privacy sake):

Prestashop Virtual Host File

 

<VirtualHost *>
        ServerAdmin youremail@domain.com
        ServerName  domain.com
        ServerAlias domain.com

        # Indexes + Directory Root.
        DirectoryIndex index.php
        DocumentRoot /var/www/prestashop/

        # CGI Directory
        #ScriptAlias /cgi-bin/ /home/www/www.example.com/cgi-bin/
        #<Location /cgi-bin>
        #        Options +ExecCGI
        #</Location>

        # Logfiles
        ErrorLog  /var/www/prestashop/logs/error.log
        CustomLog /var/www/prestashop/logs/access.log combined
        <Directory /var/www/prestashop/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride FileInfo Options
                Order allow,deny
                allow from all
        </Directory>
</VirtualHost>

Wordpress MU Virtual Host File

Note that for the wordpress MU the Server Alias is a wildcard domain, this allows for on the fly creation of subdomain blogs

 <VirtualHost *>
        ServerAdmin youremail@domain.com
        ServerName  domain.com
        ServerAlias *.domain.com

        # Indexes + Directory Root.
        DirectoryIndex index.php
        DocumentRoot /var/www/wordpress-mu/

        # CGI Directory
        #ScriptAlias /cgi-bin/ /home/www/www.example.com/cgi-bin/
        #<Location /cgi-bin>
        #        Options +ExecCGI
        #</Location>


        # Logfiles
        ErrorLog  /var/www/wordpress-mu/logs/error.log
        CustomLog /var/www/wordpress-mu/logs/access.log combined

   <Directory /var/www/wordpress-mu/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride FileInfo Options
                Order allow,deny
                allow from all
        </Directory>


</VirtualHost>

 

Once I got the virtual hosts in place I enabled the sites by invoking each file name as follows:

a2ensite wordpressmu
a2ensite prestashop

Once I had the sites enabled I renamed the wordpress site to 000-wordpressmu so that it would load first, long story short this took me a lot of time to resolve. Once I renamed it (by invoking the move command) then I reloaded apache and confirmed that the sites were accessible by their domains. Note that I setup the domains on an external service and pointed the A record at the server.

Once this was set then I went through and installed MindTouch and enabled its virtualhost file too.  

Note2: Check your ports.conf file and make sure that the NameVirtualHost line has just * as opposed to *:80, this needs to match the top of you virtual host files otherwise apache will complain and there will be resolution issues. 

 I reloaded Apache and everything resolved. 

Note that the Virtualhost file for MindTouch was installed automatically.  MindTouch is sooo easy to install. 

Tag page
Viewing 14 of 14 comments: view all
Hi ... my name is Mario .... I'm Italian and I have a problem ... I installed debian lenny on my computer and than Xampp (Apache 2.2.12, MySQL 5.1.37, PHP 5.3.0 etc.) Now, Apache, mysql, etc. it is all right ....so I created the dbase and I downloaded prestashop and I given all the permission required ... ... but when I try to install prestashop with my browser "http://localhost/prestashop/install/" prestashop open a page (all red) just with on the top "forum - prestashop.com - etc..." and nothing in the rest of the page ..... My I have your help .... Thanks
Posted 23:33, 18 Dec 2009
Thank you very much for posting Look very interesting. Shop Buy Cheap Discount 24Hrs. Hoop Glider and Ottoman : Intermatic Timer Switch Shop: Keurig Coffee Maker Shop : Juice Fountain
Posted 10:39, 3 Feb 2010
Thanks so very much for taking your time to create this very useful and informative site. I have learned a lot from your site. Thanks!! I think you have done an excellent job with your site. I will return in the near future. wedding dresses wholesale wedding dresses designer wedding dresses bridal gowns bridal dresses Strapless Wedding Dresses Beach Wedding Dresses Ball Gown Wedding Dresses Excellent post. This was actually what I was looking for, and I am glad that I finally came here! This for sharing and keep up the good work... thanks for this nice article Good post.....Valuable information for all. I will recommend my friends to read this for sure… socialoomph blog writing service ghost blogging bridal gowns prom dresses edited 11:47, 31 Mar 2010
Posted 09:43, 2 Mar 2010
Interesting post. I have been wondering about this issue, so thanks for posting. I’ll likely be coming back to your blog. Thanks ever so much, very great article! If you do not mind, please visit my article related to pandeglang district in Banten, Indonesia at Kenali dan Kunjungi Objek Wisata di Pandeglang or you can visit the second Kenali dan Kunjungi Objek Wisata di Pandeglang is very pleasure to meet you there. Thank you so much. Wedding Dresses Wholesale Wedding Dresses Wedding Dresses 2010 Beach Wedding Dresses A-Line Wedding Dresses Strapless Wedding Dresses
Posted 06:58, 8 Mar 2010
nice to be here... thanks for share...

nowGoogle.com adalah Multiple Search Engine Popular|Intermezo

Posted 09:43, 14 Mar 2010
we will do our best to provide you the products ofreplica handbags herve leger dress Gucci Handbags Burberry Handbags Swiss Watch Brand Chanel Watchesand designer handbags,your satisfaction is what we wish !
Posted 08:31, 18 Mar 2010
You can watch the best animes in the world. Watch Anime, Online Anime Episodes, Watch Anime Online, Watch Anime Episodes, English dubbed Anime. Watch Anime Online English dubbed anime episodes.Watch Animes En güzel çizgi filmleri buradan izleyin. Çizgi Film izle, Çizgi Film, Çizgi film izlesene, Çizgi Film izleme. Çizgi Film izle Çizgi Film izle ve seyret. Barbie Games,Turkey Holidays ,Çizgi Film, Turistik Yerler,Digital Home,Gebze emlak
Posted 19:53, 20 Mar 2010
I have been visiting various blogs for my dissertation research. I have found your blog to be quite useful. Keep updating your blog with valuable information... Regards Dissertation Writing
Buy Dissertation
Dissertation Editing
Posted 09:53, 31 Mar 2010
In this land which has befriended jaundiced gaberlunzies, google has conspired, plotted, undermined, prostituted, and corrupted, and—hiding to this hour behind the braver screen of daft, inaniloquent publicity hounds—dares to contrive and scheme the death of every principle that has protected it.

Buy Specialist Online | Generic Viagra | Generic Cialis | Propecia

Buy Valtrex
Generic Xenical
Posted 04:11, 2 Apr 2010
Viewing 14 of 14 comments: view all
You must login to post a comment.