ubuntu
XAMPP Virtual Hosts in Ubuntu
Submitted by khairie on Sat, 08/15/2009 - 16:16
Related Terms :
Quick HOWTO to enable Virtual Hosts with XAMPP on Ubuntu (or any *nix distribution).
shell> sudo gedit /opt/lampp/etc/httpd.conf
Uncomment the line below (it should be towards the end of the file):
Include etc/extra/httpd-vhosts.conf
Save & Close the httpd.conf file.
shell> sudo gedit /opt/lampp/etc/extra/httpd-vhosts.conf
Make sure the line below is uncommented:
NameVirtualHost *:80
Add/Edit the following piece of code:
<VirtualHost *:80>
ServerAdmin admin@localhost
Recent comments
14 weeks 5 days ago
1 year 4 days ago
1 year 4 weeks ago