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:

 

0 0 votes
Article Rating
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x