BrainDump
  Home arrow BrainDump arrow Page 4 - Installing a Joomla! Test Environment in W...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
BRAINDUMP

Installing a Joomla! Test Environment in Windows
By: Nilpo/Developer Shed Staff Writer
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 9
    2007-05-09

    Table of Contents:
  • Installing a Joomla! Test Environment in Windows
  • Installing the JSAS package.
  • Getting up and running.
  • Customizing the JSAS installation.

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Installing a Joomla! Test Environment in Windows - Customizing the JSAS installation.


    (Page 4 of 4 )

    I prefer to have a test environment that more closely resembles my live environment.  For instance, I would not be installing Joomla! in a sub-directory.  I would install it in my web site’s root.  Let’s take a look at how to change that.

    First off copy the entire directory tree from W:wwwJoomla to W:www.  This will move all of the site contents up one directory.  Now we need to make some changes to the JSAS configuration to reflect the new location.

    At the root of your JSAS installation you will find a file called configuration.php. (Now W:wwwconfiguration.php)  Open this file in any plain text editor such as Notepad.  Next, find the line that defines your Absolute Path:

    $mosConfig_absolute_path = 'w:/www/joomla';

    Now change it to reflect the new path.

    $mosConfig_absolute_path = 'w:/www';

    Down a bit further you’ll find the setting for Joomla!’s cache folder.  Make the same change.  You may find it easier to just search and replace.  This line should now look like this:

    $mosConfig_cachepath = 'w:/www/cache';

    Save configuration.php and close it.  You should now be able to see your live site at http://localhost:85.

    Your choice of incoming TCP port is irrelevant if you are behind a NAT firewall or router.  You can configure the device’s port forwarding feature to send all requests it receives on port 80 to whatever port you choose on your server.

    I also like to have my web server configured on Port 80.  This is especially true if it is being used for public broadcasting.  This is a change that has to be made to in the Apache web server configuration.

    Grab Notepad again and open W:usrlocalApache2confhttpd.conf.  This is Apache’s configuration file.  Find the line that says:

    Listen 85

    and change it to:

    Listen 80

    Now save and close the file.  You’ll need to stop and restart the Apache server in order for the changes to take effect.  You base site is now just http://localhost.

    You should now have a base Joomla! installation that very closely resembles your live site.  If you intend to run this as a live installation, you should take the time to read both the Apache and Joomla! documentation about securing your web server.  You can start securing your Joomla! installation by checking out the link below.

    http://dev.joomla.org/component/option,com_jd-wiki/Itemid,31/id,tips:make_secure/


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

       · Installing a Joomla website to run on Apache/Windows is very quick and easy. Learn...
     

    BRAINDUMP ARTICLES

    - Introduction to Office Live Workspace
    - Using MS Excel for One-way Analysis of Varia...
    - Comparing Data Sets Using Statistical Analys...
    - Import Blogger Posts into WordPress Using Wi...
    - Download WordPress from an FTP Server and Ru...
    - Install and Run WordPress in XAMPP Local Host
    - What Windows 7 Brings to the Table
    - Virtualization and Sandbox Detection
    - Advanced Firebug Techniques in Windows XP Ho...
    - Editing CSS with Firebug in Windows XP Home
    - Using Firebug in Windows XP Home
    - Migrating to Exchange Server 2007
    - Using System Restore on a Non-Bootable PC
    - Finding Logged on Users and More Scripting S...
    - Developing Macro Commands in MS Excel





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek