Creating Virtual Directory in Apache

Usually, I write about robotics, computer vision and machine learning in this website but today I decided to make back of my website in my PC and I felt it’s not bad ti know a bit about XAMPP and especially Apache.
1) First, download and install XAMPP

2) Then edit “/opt/lampp/etc/httpd.conf” and uncomment the line:

3) Then edit “/opt/lampp/etc/extra/httpd-vhosts.conf” and add add the followings:

4) Then edit “/etc/hosts” and add:

5) Now create the index.php file inside “/home/behnam/ros-developer.com” and put the following inside:

6) Run:

 

Leave a Reply

avatar
  Subscribe  
Notify of