LAMPP in Ubuntu 9.04

Problems with the Linux version of XAMPP, questions, comments, and anything related.

LAMPP in Ubuntu 9.04

Postby belpyro » 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?
belpyro
 
Posts: 2
Joined: 15. July 2009 10:43

Re: LAMPP in Ubuntu 9.04

Postby glitzi85 » 15. July 2009 14:20

If you have
Code: Select all
NameVirtualHost 127.0.0.1:80

you must use
Code: Select all
<VirtualHost 127.0.0.1:80>

Then VirtualHost-Directive must match the NameVirtualHost-Directive, except you use *:80 in NameVirtualHost

And please clear your browser cache.

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Re: LAMPP in Ubuntu 9.04

Postby belpyro » 15. July 2009 14:31

glitzi85 wrote:And please clear your browser cache.

Yes. I has been cleared my browser cache. Not worked ((

glitzi85 wrote:If you have

Code: Select all
NameVirtualHost 127.0.0.1:80


you must use

Code: Select all
<VirtualHost 127.0.0.1:80>


On Windows it normal worked. May be Linux Apache work anything? ))
belpyro
 
Posts: 2
Joined: 15. July 2009 10:43

Re: LAMPP in Ubuntu 9.04

Postby glitzi85 » 15. July 2009 16:09

You redirected the domain to 127.0.0.1 with the hosts-file?

Pleas try something like this: http://example.com/something_that_does_not_exist
then post the access.log and error.log files.

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 7 guests