xampp virtual hosts problem

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

xampp virtual hosts problem

Postby rwalkerarn » 29. September 2008 11:14

Hi everyone!

I am running xampp on the latest version of ubuntu. I have successfully setup a couple of joomla websites to test on localhost and over the local network.

Once I was happy that one of them was ready I decided to shut down my windows server (also running xampp) and switch to my ubuntu box.

I turned on the line in the httpd.conf that links to the virtual hosts file ( Include etc/extra/httpd-vhosts.conf ) and then added the following into the httpd-vhosts.conf file : ...

Code: Select all
<VirtualHost *:80>
ServerName www.colchestersamaritans.org
DocumentRoot /opt/lampp/htdocs/samaritans
</VirtualHost>

<VirtualHost *:80>
ServerName www.test.johnrayjuniors.com
DocumentRoot /opt/lampp/htdocs/johnrayjuniors
</VirtualHost>


This is exactly what I had done successfully using the windows install of xamp, however now when you go to the address you get redirected to the xampp folder that asks you for your lampp password. ie if you go to http://www.colchestersamaritans.org you get http://www.colchestersamaritans.org/xamp/

Anyone got any ideas what could be causing this?
rwalkerarn
 
Posts: 5
Joined: 29. September 2008 11:12

Postby Wiedmann » 29. September 2008 11:22

There is a line missing with the NameVirtualHosts directive and clear your browser cache.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby rwalkerarn » 29. September 2008 11:46

turns out its actually working fine, but theres a DNS problem somewhere (ubuntu server is linked to two seperate networks with two seperate internet connections)

Nothing is working internally but I just remoted into my machine at home and it can see all the websites I have setup just fine. Looks like i'll have to bug the network administrator to give me some help.

Can someone do me the favor of double checking the following sites :

http://humanities.notleyhigh.com/
http://test.johnrayjuniors.com
http://colchestersamaritans.org
rwalkerarn
 
Posts: 5
Joined: 29. September 2008 11:12

Postby glitzi85 » 29. September 2008 22:47

All 3 Sites are showing different sites, no one is directing to xampp. Looks good!

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 17 guests