I finally got to the point where i broke apache, and it gives me this error:
- Code: Select all
Starting XAMPP for Linux 1.6.8a...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Error 1! Couldn't start Apache!
XAMPP: Starting diagnose...
XAMPP: Sorry, I've no idea what's going wrong.
XAMPP: Please contact our forum http://community.apachefriends.org/f/
XAMPP: XAMPP-MySQL is already running.
XAMPP: XAMPP-ProFTPD is already running.
XAMPP for Linux started.
the only files i have been changing are /etc/hosts:
- Code: Select all
127.0.0.1 localhost
127.0.1.1 endgame.sonic.net endgame
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
and /opt/lampp/etc/extra/httpd-vhosts.conf
- Code: Select all
#
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.2/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
# Use name-based virtual hosting.
#
NameVirtualHost *:80
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
<VirtualHost crystalmath.org>
DocumentRoot /opt/lampp/htdocs/crystalmath.org
ServerName crystalmath.org
ErrorLog opt/lampp/htdocs/crystalmath.org/error_log
CustomLog opt/lampp/htdocs/crystalmath.org/access_log common
</VirtualHost>
<VirtualHost frenzy.twilightparadox.com>
DocumentRoot /opt/lampp/htdocs/frenzy.twilightparadox.com
ServerName frenzy.twilightparadox.com
ErrorLog logs/frenzy.twilightparadox.com-error_log
CustomLog logs/frenzy.twilightparadox.com-access_log common
</VirtualHost>
Please help me set up these two sites and fix apache, i have the DNS of both of these pointing to the external ip for my server.