- 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.
- After downloading it, double click on 'msi' file to install the server on your local machine.
- 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.
- 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.
- Download Dispatcher( dispatcher-apache2.2-windows-x86-4.2.3.zip) to install it on our Apache web server. Links given below.
- 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.
- 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/
- Restart your Apache server and hit http://localhost:8080/content/we-retail/us/en.html
- Dispatcher log also we can check to get the proper installation of dispatcher.
- If you do not see cached content in /htdocs folder . Try hitting(http://localhost:8080/content/we-retail/us/en.html) in different window or clear the cookie.
No comments:
Post a Comment