{"id":247,"date":"2015-08-18T19:02:00","date_gmt":"2015-08-18T19:02:00","guid":{"rendered":""},"modified":"2020-01-17T07:36:45","modified_gmt":"2020-01-17T07:36:45","slug":"dispatcher-configuration-on-apache2-server-2","status":"publish","type":"post","link":"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/","title":{"rendered":"Dispatcher Configuration on Apache2 Server"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\">In this blog, I will explain the easiest way of<i><span style=\"color: purple;\"> dispatcher configuration<\/span><\/i> on <i><span style=\"color: purple;\">Apache2 Server<\/span><\/i> and <i><span style=\"color: purple;\">OS version Ubuntu 15.04<\/span><\/i>.&nbsp;This configuration will also work on <i><span style=\"color: purple;\">Ubuntu 14.04<\/span><\/i>.<\/p>\n<p>Let&#8217;s start:-<br \/>\nFirstly, you have to install Apache2 server on your Ubuntu machine using this command-<br \/>\n<i><span style=\"color: purple;\"><gs ginger_software_uiphraseguid=\"d755df02-43ff-4368-b776-c3c711465e30\"><gs ginger_software_uiphraseguid=\"11933ae9-02e9-406e-b6e8-b89659c4f82b\">sudo<\/gs><\/gs> apt-get install apache2<\/span><\/i><\/p>\n<p>Now type the command-<br \/>\n<i><span style=\"color: purple;\"><gs ginger_software_uiphraseguid=\"e9c21480-8105-412b-9fa3-f421202633f4\"><gs ginger_software_uiphraseguid=\"21378ad5-bf48-4e29-9a17-03cce1134a97\">sudo<\/gs><\/gs>&nbsp;service apache2 start<\/span><\/i><\/p>\n<p>Now hit a url in a web browser-<br \/>\n<i><span style=\"color: purple;\">http:\/\/localhost<\/span><\/i><\/p>\n<p>You&nbsp;will get apache2 welcome screen as shown in figure-<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/08\/Screenshot-2Bfrom-2B2015-08-18-2B16-253A06-253A54.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img fetchpriority=\"high\" decoding=\"async\" border=\"0\" height=\"246\" src=\"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/08\/Screenshot-2Bfrom-2B2015-08-18-2B16-253A06-253A54-300x116.png\" width=\"640\"><\/a><\/div>\n<p>Now download the dispatcher package from this link-<br \/>\n<i><span style=\"color: purple;\">https:\/\/www.adobeaemcloud.com\/content\/companies\/public\/adobe\/dispatcher\/dispatcher.html<\/span><\/i><br \/>\n<i><span style=\"color: purple;\"><br \/>\n<\/span><\/i>If you are using the apache2 version 2.4.10, you have to download dispatcher version 4.1.9<br \/>\nExtract this <i><span style=\"color: purple;\">*<gs ginger_software_uiphraseguid=\"db2ee9d9-c405-4d81-a1a1-ca5219a61047\"><gs ginger_software_uiphraseguid=\"0313cc35-8593-4982-924e-513f8d96c559\">.<\/gs><\/gs>tar<gs ginger_software_uiphraseguid=\"db2ee9d9-c405-4d81-a1a1-ca5219a61047\"><gs ginger_software_uiphraseguid=\"0313cc35-8593-4982-924e-513f8d96c559\">.<\/gs><\/gs><gs ginger_software_uiphraseguid=\"db2ee9d9-c405-4d81-a1a1-ca5219a61047\"><gs ginger_software_uiphraseguid=\"0313cc35-8593-4982-924e-513f8d96c559\">gz<\/gs><\/gs> file<\/span><\/i>, You will get a folder named as <i><span style=\"color: purple;\">dispatcher-apache2<gs ginger_software_uiphraseguid=\"db2ee9d9-c405-4d81-a1a1-ca5219a61047\"><gs ginger_software_uiphraseguid=\"0313cc35-8593-4982-924e-513f8d96c559\">.<\/gs><\/gs>4-<gs ginger_software_uiphraseguid=\"db2ee9d9-c405-4d81-a1a1-ca5219a61047\"><gs ginger_software_uiphraseguid=\"0313cc35-8593-4982-924e-513f8d96c559\">linux<\/gs><\/gs>-x86-64-4.1.9<\/span><\/i>.<\/p>\n<p>In this folder you have a file <i><span style=\"color: purple;\">dispatcher-apache2<gs ginger_software_uiphraseguid=\"e7c8b1b4-664b-4b8c-bfa9-2e489d52e9a5\"><gs ginger_software_uiphraseguid=\"d3ab2354-db12-4533-bb8b-668dd24553a0\">.<\/gs><\/gs>2-4.1.9<gs ginger_software_uiphraseguid=\"e7c8b1b4-664b-4b8c-bfa9-2e489d52e9a5\"><gs ginger_software_uiphraseguid=\"d3ab2354-db12-4533-bb8b-668dd24553a0\">.<\/gs><\/gs>so<\/span><\/i> file,&nbsp;just rename this file with <i><span style=\"color: purple;\"><gs ginger_software_uiphraseguid=\"e7c8b1b4-664b-4b8c-bfa9-2e489d52e9a5\"><gs ginger_software_uiphraseguid=\"d3ab2354-db12-4533-bb8b-668dd24553a0\">dispatcher<\/gs><\/gs><gs ginger_software_uiphraseguid=\"e7c8b1b4-664b-4b8c-bfa9-2e489d52e9a5\"><gs ginger_software_uiphraseguid=\"d3ab2354-db12-4533-bb8b-668dd24553a0\">.<\/gs><\/gs>so<\/span><\/i><br \/>\nThe location of this file will be like as shown in figure-<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/08\/Screenshot-2Bfrom-2B2015-08-18-2B16-253A17-253A05.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img decoding=\"async\" border=\"0\" height=\"186\" src=\"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/08\/Screenshot-2Bfrom-2B2015-08-18-2B16-253A17-253A05-300x87.png\" width=\"640\"><\/a><\/div>\n<p>Copy and paste this dispatcher<gs ginger_software_uiphraseguid=\"14edf5aa-80d0-4458-81ca-b3bc68cb971c\"><gs ginger_software_uiphraseguid=\"e414045b-0531-4dff-b851-e3badd0839f3\">.<\/gs><\/gs>so file&nbsp;to <i><span style=\"color: purple;\">\/usr\/lib\/apache2\/modules <\/span><\/i>as shown in figure-<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/08\/Screenshot-2Bfrom-2B2015-08-18-2B16-253A23-253A58.png\" style=\"clear: left; float: left; margin-bottom: 1em; margin-right: 1em;\"><img decoding=\"async\" border=\"0\" src=\"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/08\/Screenshot-2Bfrom-2B2015-08-18-2B16-253A23-253A58.png\"><\/a><\/div>\n<p>Before <gs ginger_software_uiphraseguid=\"6c458b63-38e6-46e8-8c4e-aee759f0bbad\"><gs ginger_software_uiphraseguid=\"28980e3f-70d0-460f-998a-65798d92761c\">paste<\/gs><\/gs>&nbsp;this file into this directory you have to change the permission of the directory using this command-<br \/>\n<i><span style=\"color: purple;\"><gs ginger_software_uiphraseguid=\"83d0aece-7d5c-4309-99c5-084a28d072af\"><gs ginger_software_uiphraseguid=\"efbb7ff7-7106-477a-8648-627ece61835a\">sudo<\/gs><\/gs>&nbsp;chmod&nbsp;777 -R \/usr\/lib\/apache2\/modules<\/span><\/i><\/p>\n<p>Now copy an another file named as <i><span style=\"color: purple;\"><gs ginger_software_uiphraseguid=\"d7a6b21f-81a6-45c1-917e-5de0f34c2fc4\"><gs ginger_software_uiphraseguid=\"b57dca5d-35c9-43b6-87cd-5aa36c2c7bba\">dispatcher<\/gs><\/gs><gs ginger_software_uiphraseguid=\"d7a6b21f-81a6-45c1-917e-5de0f34c2fc4\"><gs ginger_software_uiphraseguid=\"b57dca5d-35c9-43b6-87cd-5aa36c2c7bba\">.<\/gs><\/gs>any<\/span><\/i> file from <i><span style=\"color: purple;\">dispatcher-apache2<gs ginger_software_uiphraseguid=\"d7a6b21f-81a6-45c1-917e-5de0f34c2fc4\"><gs ginger_software_uiphraseguid=\"b57dca5d-35c9-43b6-87cd-5aa36c2c7bba\">.<\/gs><\/gs>4-<gs ginger_software_uiphraseguid=\"d7a6b21f-81a6-45c1-917e-5de0f34c2fc4\"><gs ginger_software_uiphraseguid=\"b57dca5d-35c9-43b6-87cd-5aa36c2c7bba\">linux<\/gs><\/gs>-x86-64-4.1.9\/<gs ginger_software_uiphraseguid=\"b57dca5d-35c9-43b6-87cd-5aa36c2c7bba\">conf<\/gs><\/span><\/i>&nbsp;directory and paste to the <i><span style=\"color: purple;\"><gs ginger_software_uiphraseguid=\"d7a6b21f-81a6-45c1-917e-5de0f34c2fc4\"><gs ginger_software_uiphraseguid=\"b57dca5d-35c9-43b6-87cd-5aa36c2c7bba\">etc<\/gs><\/gs>\/apache2\/conf-available<\/span><\/i> directory.<br \/>\nAgain, if you <gs ginger_software_uiphraseguid=\"756fe9ac-38a6-4ceb-a972-a9645acf0d27\"><gs ginger_software_uiphraseguid=\"b295a533-b540-492c-934e-90a23b3781c1\">can&#8217;t paste<\/gs><\/gs> this file into this&nbsp;directory &nbsp;you have to change the permission of the directory using this command-<br \/>\n<i><span style=\"color: purple;\"><gs ginger_software_uiphraseguid=\"af8ac908-b55b-4f6c-bfb4-4aff8b879b18\"><gs ginger_software_uiphraseguid=\"329bb06b-bec7-471e-b0b8-7c2bea1c55ee\">sudo<\/gs><\/gs>&nbsp;chmod&nbsp;777 -R \/etc\/apache2<\/span><\/i><\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/08\/Screenshot-2Bfrom-2B2015-08-18-2B16-253A56-253A06.png\" style=\"clear: right; float: right; margin-bottom: 1em; margin-left: 1em;\"><img decoding=\"async\" border=\"0\" height=\"172\" src=\"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/08\/Screenshot-2Bfrom-2B2015-08-18-2B16-253A56-253A06-300x161.png\" width=\"320\"><\/a><\/div>\n<p>Now you can easily paste your file in this directory and all those directories which are placed into appache2 directory. The location of this directory is shown in figure-<br \/>\n<i><span style=\"color: purple;\">&#8220;In this file you have to change the port number to&nbsp;4503 as the default number 8080&#8221;.<\/span><\/i><\/p>\n<p>After this, you have to create a soft link of <i><span style=\"color: purple;\"><gs ginger_software_uiphraseguid=\"07559593-c550-4b23-8d04-da70fbfa437a\"><gs ginger_software_uiphraseguid=\"5c947580-6ed5-4f3a-a34f-d6a3e84f0708\">dispatcher<\/gs><\/gs><gs ginger_software_uiphraseguid=\"07559593-c550-4b23-8d04-da70fbfa437a\"><gs ginger_software_uiphraseguid=\"5c947580-6ed5-4f3a-a34f-d6a3e84f0708\">.<\/gs><\/gs>any<\/span><\/i>&nbsp;file <gs ginger_software_uiphraseguid=\"07559593-c550-4b23-8d04-da70fbfa437a\"><gs ginger_software_uiphraseguid=\"5c947580-6ed5-4f3a-a34f-d6a3e84f0708\">into<\/gs><\/gs> the <i><span style=\"color: purple;\"><gs ginger_software_uiphraseguid=\"5c947580-6ed5-4f3a-a34f-d6a3e84f0708\">conf<\/gs>-enabled<\/span><\/i>&nbsp;directory using this <gs ginger_software_uiphraseguid=\"07559593-c550-4b23-8d04-da70fbfa437a\"><gs ginger_software_uiphraseguid=\"5c947580-6ed5-4f3a-a34f-d6a3e84f0708\">cammand<\/gs><\/gs>&#8211;<br \/>\n<i><span style=\"color: purple;\">ln&nbsp;-s \/etc\/apache2\/conf-available\/dispatcher.any \/etc\/apache2\/conf-enabled\/dispatcher.any<\/span><\/i><br \/>\n<i><span style=\"color: purple;\"><br \/>\n<\/span><\/i><\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/08\/Screenshot-2Bfrom-2B2015-08-18-2B17-253A04-253A36.png\" style=\"clear: right; float: right; margin-bottom: 1em; margin-left: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"191\" src=\"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/08\/Screenshot-2Bfrom-2B2015-08-18-2B17-253A04-253A36-300x179.png\" width=\"320\"><\/a><\/div>\n<p>&nbsp;It will look like this-<\/p>\n<p>Now create a <i><span style=\"color: purple;\">dispatcher<gs ginger_software_uiphraseguid=\"d76c7b9c-4ab6-4196-8574-eb5a34cec5f0\"><gs ginger_software_uiphraseguid=\"624c056f-9d72-4e5a-9c05-f6c577f21389\">.<\/gs><\/gs>load<\/span><\/i> file in <i><span style=\"color: purple;\">mods-available<\/span><\/i> folder and write a line in this file-<br \/>\n<i><span style=\"color: purple;\">LoadModule dispatcher_module \/usr\/lib\/apache2\/modules\/dispatcher<gs ginger_software_uiphraseguid=\"4eadb525-105d-488b-8b52-e97912a398c9\"><gs ginger_software_uiphraseguid=\"890d88ca-8646-4ffa-86f5-9d0630124377\">.<\/gs><\/gs>so<\/span><\/i><br \/>\n<i><span style=\"color: purple;\"><br \/>\n<\/span><\/i>It will look like this-<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/08\/Screenshot-2Bfrom-2B2015-08-18-2B17-253A12-253A10.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"424\" src=\"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/08\/Screenshot-2Bfrom-2B2015-08-18-2B17-253A12-253A10-300x200.png\" width=\"640\"><\/a><\/div>\n<p><i><span style=\"color: purple;\">&#8220;Note: &#8211; This file will be used to load dispatcher module on Apache2 server&#8221;.<\/span><\/i><\/p>\n<p>Now create a <i><span style=\"color: purple;\">soft link<\/span><\/i> in <i><span style=\"color: purple;\">mods-enabled<\/span><\/i>&nbsp;directory using this command-<br \/>\n<i><span style=\"color: purple;\">ln&nbsp;-s \/etc\/apache2\/mods-available\/dispatcher.load \/etc\/apache2\/mods-enabled\/dispatcher.load<\/span><\/i><\/p>\n<p>It will look like this-<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/08\/Screenshot-2Bfrom-2B2015-08-18-2B17-253A19-253A51.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"360\" src=\"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/08\/Screenshot-2Bfrom-2B2015-08-18-2B17-253A19-253A51-300x169.png\" width=\"640\"><\/a><\/div>\n<p>Now open <i><span style=\"color: purple;\">apache2-<gs ginger_software_uiphraseguid=\"69dc8691-2087-4ff8-9962-d59305af8aed\">conf<\/gs><\/span><\/i> file which is placed in <i><span style=\"color: purple;\"><gs ginger_software_uiphraseguid=\"0afaf281-17bd-4f16-b444-81b82f6daf41\"><gs ginger_software_uiphraseguid=\"69dc8691-2087-4ff8-9962-d59305af8aed\">etc<\/gs><\/gs>\/apache2<\/span><\/i> directory and search for the Directory tag. Here you have to add one more directory tag as<gs ginger_software_uiphraseguid=\"aeb8251b-7c01-4c22-a641-b86794e45557\"> gi<\/gs>ven below-<\/p>\n<p><i><span style=\"color: purple;\">&lt;Directory \/&gt;<\/span><\/i><br \/>\n<i><span style=\"color: purple;\">&nbsp; &lt;<gs ginger_software_uiphraseguid=\"a52f7051-d39b-47f6-9a39-18ce1813e637\"><gs ginger_software_uiphraseguid=\"6409be9e-ebd6-4f69-8327-9d854a8a85f6\">IfModule<\/gs><\/gs> disp_apach<gs ginger_software_uiphraseguid=\"9c7498cd-837a-402e-8b52-64cf896eee67\">e2<\/gs><gs ginger_software_uiphraseguid=\"a52f7051-d39b-47f6-9a39-18ce1813e637\"><gs ginger_software_uiphraseguid=\"6409be9e-ebd6-4f69-8327-9d854a8a85f6\">.<\/gs><\/gs><\/span><\/i><i><span style=\"color: purple;\">c&gt;<\/span><\/i><br \/>\n<i><span style=\"color: purple;\">&nbsp;<\/span><\/i><i><span style=\"color: purple;\">&nbsp; SetHandler dispatcher-handler<\/span><\/i><br \/>\n<i><span style=\"color: purple;\">&nbsp; &lt;\/<gs ginger_software_uiphraseguid=\"f0840a54-9fc1-4ab3-bec1-8b6bda50b316\"><gs ginger_software_uiphraseguid=\"27d2effc-322d-4df3-851b-09d4f48f6a44\">IfModule<\/gs><\/gs>&gt;<\/span><\/i><br \/>\n<i><span style=\"color: purple;\">&nbsp; Options FollowSymLinks<\/span><\/i><br \/>\n<i><span style=\"color: purple;\">&nbsp; AllowOverride None<\/span><\/i><br \/>\n<i><span style=\"color: purple;\">&lt;\/Directory&gt;<\/span><\/i><\/p>\n<p>Now open <i><span style=\"color: purple;\">ports<gs ginger_software_uiphraseguid=\"211b826f-908d-4b35-a9ee-355d87d12648\"><gs ginger_software_uiphraseguid=\"9aeb21a6-eb5f-4401-9b83-c603dd84a537\">.<\/gs><\/gs><gs ginger_software_uiphraseguid=\"9aeb21a6-eb5f-4401-9b83-c603dd84a537\">conf<\/gs> <\/span><\/i>file &amp; add these <gs ginger_software_uiphraseguid=\"211b826f-908d-4b35-a9ee-355d87d12648\"><gs ginger_software_uiphraseguid=\"9aeb21a6-eb5f-4401-9b83-c603dd84a537\">some<\/gs><\/gs> line at the end of the file-<br \/>\n<i><span style=\"color: purple;\"><br \/>\n<\/span><\/i><i><span style=\"color: purple;\">&lt;<gs ginger_software_uiphraseguid=\"70ca582e-e595-476e-8e7f-445c4e5b0ba5\"><gs ginger_software_uiphraseguid=\"5451e6f2-e40a-4d54-b686-853f83767380\">IfModule<\/gs><\/gs> disp_apache2<gs ginger_software_uiphraseguid=\"70ca582e-e595-476e-8e7f-445c4e5b0ba5\"><gs ginger_software_uiphraseguid=\"5451e6f2-e40a-4d54-b686-853f83767380\">.<\/gs><\/gs>c&gt;<\/span><\/i><br \/>\n<i><span style=\"color: purple;\">&nbsp; &nbsp; &nbsp;<gs ginger_software_uiphraseguid=\"7537b728-a35c-477b-81ee-fbd2c21bff54\"><gs ginger_software_uiphraseguid=\"289ac986-9489-4595-90d0-9b3871213546\">DispatcherConfig<\/gs><\/gs> conf-enabled\/dispatcher<gs ginger_software_uiphraseguid=\"7537b728-a35c-477b-81ee-fbd2c21bff54\"><gs ginger_software_uiphraseguid=\"289ac986-9489-4595-90d0-9b3871213546\">.<\/gs><\/gs>any<\/span><\/i><br \/>\n<i><span style=\"color: purple;\">&nbsp; &nbsp; &nbsp;<gs ginger_software_uiphraseguid=\"a8a37fc6-73ae-4780-bf3e-99d9ddb823e1\"><gs ginger_software_uiphraseguid=\"0e08030c-6949-435b-a541-a7f91d3aebef\">DispatcherLog<\/gs><\/gs> &nbsp; &nbsp;logs\/dispatcher.log<\/span><\/i><br \/>\n<i><span style=\"color: purple;\">&nbsp; &nbsp; &nbsp;<gs ginger_software_uiphraseguid=\"247c9113-0c19-40c2-8fe0-10f4b64cb76e\"><gs ginger_software_uiphraseguid=\"98ca3cc0-a91b-43e9-9dc8-a1c4803e4e26\">DispatcherLogLevel<\/gs><\/gs> 3<\/span><\/i><br \/>\n<i><span style=\"color: purple;\">&nbsp; &nbsp; &nbsp;<gs ginger_software_uiphraseguid=\"cf26528d-a55b-42df-a2a7-aa24f421d999\"><gs ginger_software_uiphraseguid=\"469f22c5-99a7-4d02-b478-52429eb39af2\">DispatcherNoServerHeader<\/gs><\/gs> 0<\/span><\/i><br \/>\n<i><span style=\"color: purple;\">&nbsp; &nbsp; &nbsp;<gs ginger_software_uiphraseguid=\"cb3589d5-661f-49f3-80b7-15d886cc45d0\"><gs ginger_software_uiphraseguid=\"e18959a9-18e9-4a5b-961e-62c5e3804b88\">DispatcherDeclineRoot<\/gs><\/gs> 0<\/span><\/i><br \/>\n<i><span style=\"color: purple;\">&nbsp; &nbsp; &nbsp;<gs ginger_software_uiphraseguid=\"1e92fd6a-3b6d-45c6-bba6-7dcb00816e98\"><gs ginger_software_uiphraseguid=\"9d6dc6b0-4ae6-445f-93a5-7f5f888828d7\">DispatcherUseProcessedURL<\/gs><\/gs> 0<\/span><\/i><br \/>\n<i><span style=\"color: purple;\">&nbsp; &nbsp; &nbsp;<gs ginger_software_uiphraseguid=\"a3f202f9-9148-4477-a4f4-7e1a9dc20901\"><gs ginger_software_uiphraseguid=\"6f8d5fd8-87b4-4a09-90e0-ae089ce775b7\">DispatcherPassError<\/gs><\/gs> 0<\/span><\/i><br \/>\n<i><span style=\"color: purple;\">&lt;\/<gs ginger_software_uiphraseguid=\"dafad153-f32a-42de-8e49-0e22ffbce4c6\"><gs ginger_software_uiphraseguid=\"05cfb46d-5d8b-43ca-8ce9-13d3064a6402\">IfModule<\/gs><\/gs>&gt;<\/span><\/i><\/p>\n<p>Now go to <i><span style=\"color: purple;\">\/<gs ginger_software_uiphraseguid=\"0c843529-8f8e-4831-bc85-a2e44b60c802\"><gs ginger_software_uiphraseguid=\"5192742e-9a80-4785-aa78-0fa34ca94d46\">etc<\/gs><\/gs>&nbsp;directory<\/span><\/i> and open<i><span style=\"color: purple;\"> hosts file<\/span><\/i> using this command-<br \/>\n<i><span style=\"color: purple;\"><gs ginger_software_uiphraseguid=\"c917ccfc-c03f-40d0-a78b-d354a3d61cd0\"><gs ginger_software_uiphraseguid=\"d5fe62a8-fc6d-4847-aea5-9d3272024e20\">sudo<\/gs><\/gs>&nbsp;gedit&nbsp;\/etc\/hosts<\/span><\/i><\/p>\n<p>Add one more line in this file-<br \/>\n<i><span style=\"color: purple;\">127.0.0.1 &nbsp; &nbsp; &nbsp; publish.sjigaurav.com<\/span><\/i><\/p>\n<p>You can add anything whatever you want at the place of publish.sjigaurav.com.<\/p>\n<p>Now configuration is complete you can restart your apache2 server using this command-<br \/>\n<i><span style=\"color: purple;\"><gs ginger_software_uiphraseguid=\"d2f81ade-07bf-4ce7-90d0-2b639c65d139\"><gs ginger_software_uiphraseguid=\"ebff6078-e7f0-4897-81e9-31458664f76d\">sudo<\/gs><\/gs>&nbsp;service apache2 restart<\/span><\/i><\/p>\n<p>Go to your web browser and hit the url <i><span style=\"color: purple;\">publish.sjigaurav.com<\/span><\/i> you will find the welcome screen.<br \/>\nIt starts successfully.<\/p>\n<p><i><span style=\"color: purple;\">Be Happy<\/span><\/i><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this blog, I will explain the easiest way of dispatcher configuration on Apache2 Server and OS version Ubuntu 15.04.&nbsp;This [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,33,65,237,236],"tags":[],"class_list":["post-247","post","type-post","status-publish","format-standard","hentry","category-aem","category-cq","category-dispatcher","category-dispatcher-configuration-on-apache2server","category-how-to-configure-dispatcher-in-aem"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Dispatcher Configuration on Apache2 Server - AEM Blog | Lhotse Technologies<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Dispatcher Configuration on Apache2 Server - AEM Blog | Lhotse Technologies\" \/>\n<meta property=\"og:description\" content=\"In this blog, I will explain the easiest way of dispatcher configuration on Apache2 Server and OS version Ubuntu 15.04.&nbsp;This [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/\" \/>\n<meta property=\"og:site_name\" content=\"AEM Blog | Lhotse Technologies\" \/>\n<meta property=\"article:published_time\" content=\"2015-08-18T19:02:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-01-17T07:36:45+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/08\/Screenshot-2Bfrom-2B2015-08-18-2B16-253A06-253A54-300x116.png\" \/>\n<meta name=\"author\" content=\"Team Lhotse\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Team Lhotse\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/\"},\"author\":{\"name\":\"Team Lhotse\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/fd7bee89b050d7c7195fc75b681b053d\"},\"headline\":\"Dispatcher Configuration on Apache2 Server\",\"datePublished\":\"2015-08-18T19:02:00+00:00\",\"dateModified\":\"2020-01-17T07:36:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/\"},\"wordCount\":637,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/08\/Screenshot-2Bfrom-2B2015-08-18-2B16-253A06-253A54-300x116.png\",\"articleSection\":[\"AEM\",\"CQ\",\"dispatcher\",\"Dispatcher configuration on Apache2server\",\"how to configure Dispatcher in AEM\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/\",\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/\",\"name\":\"Dispatcher Configuration on Apache2 Server - AEM Blog | Lhotse Technologies\",\"isPartOf\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/08\/Screenshot-2Bfrom-2B2015-08-18-2B16-253A06-253A54-300x116.png\",\"datePublished\":\"2015-08-18T19:02:00+00:00\",\"dateModified\":\"2020-01-17T07:36:45+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/#primaryimage\",\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/08\/Screenshot-2Bfrom-2B2015-08-18-2B16-253A06-253A54.png\",\"contentUrl\":\"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/08\/Screenshot-2Bfrom-2B2015-08-18-2B16-253A06-253A54.png\",\"width\":795,\"height\":308},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/lhotsetechnologies.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Dispatcher Configuration on Apache2 Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#website\",\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/\",\"name\":\"AEM Blog | Lhotse Technologies\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/lhotsetechnologies.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#organization\",\"name\":\"AEM Blog | Lhotse Technologies\",\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2019\/07\/lhotse-logo.png\",\"contentUrl\":\"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2019\/07\/lhotse-logo.png\",\"width\":539,\"height\":172,\"caption\":\"AEM Blog | Lhotse Technologies\"},\"image\":{\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/fd7bee89b050d7c7195fc75b681b053d\",\"name\":\"Team Lhotse\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"caption\":\"Team Lhotse\"},\"url\":\"https:\/\/lhotsetechnologies.com\/blog\/author\/team-lhotse\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Dispatcher Configuration on Apache2 Server - AEM Blog | Lhotse Technologies","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/","og_locale":"en_US","og_type":"article","og_title":"Dispatcher Configuration on Apache2 Server - AEM Blog | Lhotse Technologies","og_description":"In this blog, I will explain the easiest way of dispatcher configuration on Apache2 Server and OS version Ubuntu 15.04.&nbsp;This [&hellip;]","og_url":"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/","og_site_name":"AEM Blog | Lhotse Technologies","article_published_time":"2015-08-18T19:02:00+00:00","article_modified_time":"2020-01-17T07:36:45+00:00","og_image":[{"url":"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/08\/Screenshot-2Bfrom-2B2015-08-18-2B16-253A06-253A54-300x116.png","type":"","width":"","height":""}],"author":"Team Lhotse","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Team Lhotse","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/#article","isPartOf":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/"},"author":{"name":"Team Lhotse","@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/fd7bee89b050d7c7195fc75b681b053d"},"headline":"Dispatcher Configuration on Apache2 Server","datePublished":"2015-08-18T19:02:00+00:00","dateModified":"2020-01-17T07:36:45+00:00","mainEntityOfPage":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/"},"wordCount":637,"commentCount":0,"publisher":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/#organization"},"image":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/#primaryimage"},"thumbnailUrl":"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/08\/Screenshot-2Bfrom-2B2015-08-18-2B16-253A06-253A54-300x116.png","articleSection":["AEM","CQ","dispatcher","Dispatcher configuration on Apache2server","how to configure Dispatcher in AEM"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/","url":"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/","name":"Dispatcher Configuration on Apache2 Server - AEM Blog | Lhotse Technologies","isPartOf":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/#primaryimage"},"image":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/#primaryimage"},"thumbnailUrl":"http:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/08\/Screenshot-2Bfrom-2B2015-08-18-2B16-253A06-253A54-300x116.png","datePublished":"2015-08-18T19:02:00+00:00","dateModified":"2020-01-17T07:36:45+00:00","breadcrumb":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/#primaryimage","url":"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/08\/Screenshot-2Bfrom-2B2015-08-18-2B16-253A06-253A54.png","contentUrl":"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2015\/08\/Screenshot-2Bfrom-2B2015-08-18-2B16-253A06-253A54.png","width":795,"height":308},{"@type":"BreadcrumbList","@id":"https:\/\/lhotsetechnologies.com\/blog\/dispatcher-configuration-on-apache2-server-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/lhotsetechnologies.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Dispatcher Configuration on Apache2 Server"}]},{"@type":"WebSite","@id":"https:\/\/lhotsetechnologies.com\/blog\/#website","url":"https:\/\/lhotsetechnologies.com\/blog\/","name":"AEM Blog | Lhotse Technologies","description":"","publisher":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/lhotsetechnologies.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/lhotsetechnologies.com\/blog\/#organization","name":"AEM Blog | Lhotse Technologies","url":"https:\/\/lhotsetechnologies.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2019\/07\/lhotse-logo.png","contentUrl":"https:\/\/lhotsetechnologies.com\/blog\/wp-content\/uploads\/2019\/07\/lhotse-logo.png","width":539,"height":172,"caption":"AEM Blog | Lhotse Technologies"},"image":{"@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/fd7bee89b050d7c7195fc75b681b053d","name":"Team Lhotse","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lhotsetechnologies.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"Team Lhotse"},"url":"https:\/\/lhotsetechnologies.com\/blog\/author\/team-lhotse\/"}]}},"_links":{"self":[{"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/247","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=247"}],"version-history":[{"count":3,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/247\/revisions"}],"predecessor-version":[{"id":561,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/247\/revisions\/561"}],"wp:attachment":[{"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=247"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lhotsetechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}