Unable to pass splash screen and Object not found

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

Unable to pass splash screen and Object not found

Postby angela_zou » 23. January 2013 07:13

Hello,

I have installed latest version of XAMPP (both full version and part of the developer package) on a newly installed Ubuntu. I have configured multiple virtual hosts as follows and modified /etc/hosts appropriately.
However, I am unable to access the default webadmin that comes with XAMPP because I could not pass the splash screen, but I am able to view the content of localhost/xampp/phpinfo.php.
As for the virtual hosts, I can not view any of its pages, when I do, I get an Object Not Found error.

I have double checked that port 80 is available, and not blocked by any other services. There are no errors when starting/stopping XAMPP services. Although there are a few weird messages when I do ps aux, but I'm not sure if it is revelant. Finally, I have also installed a few PEAR packages (all of them successfully).

Code: Select all
angela@angela-virtual-machine:/opt/lampp/etc/extra$ cat httpd-vhosts.conf
# Virtual Hosts
#
# Required modules: mod_log_config

# 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/trunk/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.

#
# 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 *:80>
#    ServerAdmin webmaster@dummy-host.example.com
#    DocumentRoot "/opt/lampp/docs/dummy-host.example.com"
#    ServerName dummy-host.example.com
#    ServerAlias www.dummy-host.example.com
#    ErrorLog "logs/dummy-host.example.com-error_log"
#    CustomLog "logs/dummy-host.example.com-access_log" common
#</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "/opt/lampp/htdocs/idu"
    ServerName idu.local.host
    ErrorLog "logs/idu-error_log"
    CustomLog "logs/idu-access_log" common
    <directory "/opt/lampp/htdocs/idu">
   AllowOverride All
   Options Indexes FollowSymLinks
   Order allow, deny
   Allow from all
    </directory>
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "opt/lampp/htdocs/test"
    ServerName test.local.host
    ErrorLog "logs/test-error_log"
    CustomLog "logs/test-access_log" common
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "opt/lampp/htdocs/localhost"
    ServerName localhost
</VirtualHost>


Code: Select all
root     17583  0.0  1.7  53628 17756 ?        Ss   14:03   0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
root     17599  0.0  0.0   2232   636 pts/0    S    14:03   0:00 /bin/sh /opt/lampp/bin/mysqld_safe --datadir=/opt/lampp/var/mysql --pid-file=/opt/lampp/var/mysql/angela-virtual-machine.pid
www-data 17841  0.0  1.1  48824 12184 ?        S    14:04   0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
www-data 17857  0.0  1.4  53760 14704 ?        S    14:04   0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
www-data 17865  0.0  1.5  53656 16324 ?        S    14:04   0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
www-data 17869  0.0  1.6  53628 16568 ?        S    14:04   0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
www-data 17876  0.0  1.3  53628 13688 ?        S    14:04   0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
www-data 17883  0.0  1.3  53628 13688 ?        S    14:04   0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
nobody   17967  0.0  2.5 187232 25708 pts/0    Sl   14:04   0:00 /opt/lampp/sbin/mysqld --basedir=/opt/lampp --datadir=/opt/lampp/var/mysql --plugin-dir=/opt/lampp/lib/mysql/plugin --user=nobody --log-error=/opt/lampp/var/mysql/angela-virtual-machine.err --pid-file=/opt/lampp/var/mysql/angela-virtual-machine.pid --socket=/opt/lampp/var/mysql/mysql.sock --port=3306
www-data 17984  0.0  1.3  53628 13688 ?        S    14:04   0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
www-data 18009  0.0  1.3  53628 13688 ?        S    14:04   0:00 /opt/lampp/bin/httpd -k start -DSSL -DPHP5 -E /opt/lampp/logs/error_log
angela   18061  0.0  0.0   4396   836 pts/0    S+   14:12   0:00 grep --color=auto lampp
angela_zou
 
Posts: 13
Joined: 30. November 2011 06:28
Operating System: Mac OS X Leopard

Re: Unable to pass splash screen and Object not found

Postby JonB » 29. January 2013 13:04

A. You probably can't access the XAMPP folder as you did not create a default vhost 'first'. Your vhosts effectively have removed access to the original htdocs heriarchy.

B. The best and most correct way to start lampp is with the 'lampp syntax', XAMPP is NOT a Linux stack, it is a bash script that runs everything via CLI executable calls. Please take a look at the /opt/lampp/lammp file in a programmer's editor (for syntax highlighting to make things clearer)

Good Luck
:)



yscc
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 28 guests