Sunday 3 June 2018

Configuring Dispatcher in Local Enviornment

                                       

  • Set up AEM Author(localhost:4502) and Publish(localhost:4503) instances in local.
  • Download (httpd-2.2.25-win32-x86-no_ssl.msi ) Apache server from http://archive.apache.org/dist/httpd/binaries/win32/
  • Install the Apache Server. Steps given below. 
  1. After downloading it, double click on 'msi' file to install the server on your local machine.
  2. Just before the finish step change the directory for installation to “C:\Apache2”. We can keep any path for installation of Apache and later can make the changes in config files.The configuration files 'httpd' and 'dispatcher.any' provided here having path set to “C:\Apache2”, so if you directly copy paste this then there is no need to change the paths in file.
  3. To check Apache web server installed properly go to /bin folder and run the below commands
                                           httpd -k install
                                               httpd – k start
    4. If you don’t get any error. Open the browser hit localhost:8080. It will display a “It Works” message. Apache web server successfully installed now.


  • Unzip the folder and copy ‘disp_apache2.2.dll’ and move it here(C:\Apache2\modules) 

  •   Download the httpd and dispatcher.any file and paste it in /conf folder of our Apache server and replace the existing httpd. Link given below.               

                                       Dispatcher.any
                                  httpd.conf


  • All the changes already done to httpd and dispatcher file. To learn more about this please refer to this link.
                      http://www.aemcq5tutorials.com/tutorials/set-up-dispatcher-in-aem/










No comments:

Post a Comment