automatically jumps to /xampp page

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

automatically jumps to /xampp page

Postby soujiro0725 » 14. March 2013 09:52

MacOS 10.6.8
xampp 1.7.3

xampp, apache, and mysql are running properly.

When I open a local development page, say, http://bacongrouporganizer.facebookapp, it automatically jumps to

http://bacongrouporganizer.facebookapp/xampp

showing XAMPP welcome page. I don't believe I have anything that activates the jump action. And since at least it shows the page, the local server is running properly.

Can anyone guess what causes the jump? There are many files including templates/*.html files, so if you need to see my setting, please indicate which is important.

soujiro0725

P.S. vhosts.conf file follows


in httpd-vhosts.conf,
<VirtualHost *:80>
DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/www/bacongrouporganizer/webroot/"
ServerName bacongrouporganizer.facebookapp
</VirtualHost>
<VirtualHost *:443>
DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/www/bacongrouporganizer/webroot/"
ServerName bacongrouporganizer.facebookapp:443
SSLEngine on
SSLCertificateFile "/Applications/XAMPP/etc/ssl.crt/server.crt"
SSLCertificateKeyFile "/Applications/XAMPP/etc/ssl.key/server.key"
</VirtualHost>

added.

index.php
soujiro0725
 
Posts: 2
Joined: 14. March 2013 09:44
Operating System: MacOSX 10.6.8

Re: automatically jumps to /xampp page

Postby Nobbie » 14. March 2013 14:31

Look into index.php and/or index.html of your htdocs folder and look, if there is a redirection to Xampp subfolder (this is the default behaviour for Xampp installations older than Xampp 1.8.x). You have to replace index.php by your own index.php, if you want a different behaviour.

The vhost-configuration looks incorrect (incomplete), either you did not show us the full configuration or it is simply wrong. Look into the error_log if Apache issues an error message. Therefore the VirtualHosts will be ignored and the standard DocumentRoot will be taken for all Domain Names.
Nobbie
 
Posts: 13182
Joined: 09. March 2008 13:04


Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 60 guests