eZ Publish Symbolic Link Distribution Provides A Dependable Way To Host eZ Publish Multi Domain Installations With This Simple Trick!

Hello eZ Community!

I write today to fulfil on the commitment made to describe the eZ Publish Symbolic Link Distribution I talked about previously in passing.

Here is how it works. No files are needed. The eZ Publish Symbolic Link Distribution is A Process to Turning an Empty sub domain virtual host folder ~/doc/ (main site) + ~/doc/admin.ezpublish.one (subdomain site) into a full fledged working eZ Publish Installation.

We do this by creating our base normal installation which gives us the eZ Files needed in ~/doc (main site).

If your like me and prefer full control via directory structure abstraction you'll quickly see that we need a way to use the main site files without var dir duplication (variable) so admin.ezpublish.one links to the same eZ Installation as the main site.

Here is how to do it:

cd /home/ezp/doc/admin.ezpublish.one;

for filename in ../*; do ln -s $filename .; done

This takes care of the files an eZ request requires for operation and addresses the var directory variable with a dynamic link sharing the var dir for both virtual host eZ Installations.

It's really that simple of a process. The symbolic links are generated dynamically based on the installed files in the path of the command and is a quick solution in bash shell to do the heavy lifting.

Next and perhaps the most important on 7x cPanel Based Server Hosting is that fact that when using mod_rewrite in the main site ~/doc .htaccess file we require nothing special per say.

But with the admin.ezpublish.one subdomain we are using a subdomain virtualhost which requires the following added to the top of your .htaccess file to load the second virtualhost eZ Publish Installation Normally.

# Static Subdirectory Virtual Host Required Options
RewriteEngine On
RewriteOptions IgnoreInherit

DirectoryIndex index.html index.php

These are just a few power querks to using these software platforms to quickly build multi-domain installations when changing the directory path in the virtual host is not an option.

Remember folks, there is always another way in all things eZ!

Comments

Tag Cloud

100% Working Example 100% Working Installation 2024 2024/Q3 2.4.0.0 2.5.0.x 6.0.4 6.0.6 6.0.7 6.0.8 6.0.9 7x 7x Blog 7x Digg 7x Symbolic Link Distribution of eZ Publish 6 7x Valkey 8.3 Addons admin3 admin design Alpha Audio Automation BC Blog Book Bottom of the Pages Call Me Campaign Changes clone.digg.one cms CMS Community Composer Composer eZ Publish extension Contact Contribute Copy Subtree Count Cronjob CSS Databases Default Installation design Design Designs developer developer initiative Development DiggClone digg.one Digg Project Direction Documentation do not wait for the release to try Download drag and drop installation DragonflyDB Dual Kernel Educational Emails Embeded Image Class Engine Enterprise Grade Example Exp expand the future of eZ Publish Expansive Features Now Available! Exponentail Platform Legacy exponential Exponential Exponential CMS Exponential Platform Exponential Platform Legacy Extension Extensions ez eZ ezcommunity eZ Package Development eZpedia eZ PM ezpublish eZ Publish eZ Publish 6 eZ Publish 6.0 CMS eZ Publish Basic eZ Publish Database Configuration Builder eZ Publish Symbolic Link Distribution eZ Region eZ Update Features First Seps flexible Framework Free Documentation License Free Software Fun Funding fund me GFDL git github GitHub GNU Google GPL GPLv2 (or later) Graham Brookins Guide hcaptcha Headless CMS History Hit me up Home Page Hosting Howto Importing content Improvements Installation Configuration Introducing Introduction Kernel Key / Value Stores Learning eZ Publish Learning eZ Publish 3 Learning PHP Legacy Maintenance Messaging Mirror Multi Domain Installations Name Change Netgen Networking New Content New development New Developments New Features News New Stack New Year Now online Open Source Open Source Project Package Packages Page View Patreon Performance php PHP PHP 5.x PHP 7.x php8 PHP 8 PHP 8.2 PHP 8.3 PHP 8.3 Support PHP 8.4 Support PHP 8.x PHP CMS For Beginers PHP Websites Podcast Private Messager Project projects Questions Rebrand rebranding Rebranding recaptcha Recent Improvements Record Redesign Redis Release Releases responsive Responsive ReST APIs Restored RSS-Bridge Library RSS Feed Screen Recording Script Scripting Search Setup Wizard share simple SOAP Source Code Sponsor Sponsorship SQLite. eZ Publish. New feature Stable Status updates Styles support Support Symfony Sync System of Systems Testers Welcome Testing Tip Try Today update functionality Updates Upgrade valkey Valkey Value Added Features Vendors Version Version Control Version Numbers Websites Statistics Wordpress #working-late-nights

Mon Tue Wed Thu Fri Sat Sun
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          

Tags