LAMPP in Ubuntu 9.04
Posted: 15. July 2009 14:16
When I deploy XAMPP in Ubuntu and create new VirualHosts I have bug.
1. Unpack xampp to /opt/
2. Uncomment Include extra/xampp-vhosts.conf
3. Create
<VirtualHost *:80>
ServerName example.com
DocumentRoot /opt/lampp/htdocs/example.com/www
</VirtulalHost>
or
<VirtualHost example.com:80>
ServerName example.com
ServerAlias www.example.com
DocumentRoot /opt/lampp/htdocs/example.com/www
</VirtulalHost> and set NameVirtualHost 127.0.0.1:80
If I try enter to site example.com then I go to http://example.com/xampp. Why? I have in this folder index.php file, but it does not call ((
Do you know what my problem?
1. Unpack xampp to /opt/
2. Uncomment Include extra/xampp-vhosts.conf
3. Create
<VirtualHost *:80>
ServerName example.com
DocumentRoot /opt/lampp/htdocs/example.com/www
</VirtulalHost>
or
<VirtualHost example.com:80>
ServerName example.com
ServerAlias www.example.com
DocumentRoot /opt/lampp/htdocs/example.com/www
</VirtulalHost> and set NameVirtualHost 127.0.0.1:80
If I try enter to site example.com then I go to http://example.com/xampp. Why? I have in this folder index.php file, but it does not call ((
Do you know what my problem?