[Solved] any addresses are redirected to xxx.xxx/dashboard

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

[Solved] any addresses are redirected to xxx.xxx/dashboard

Postby hanpedro » 11. November 2015 00:37

I've installed xampp at centos 7.1 x64.

Any addresses including "localhost", "192.168.0.4", and "test.dns.com" are redirected to "localhost/dashboard", "192.168.0.4/dashboard", and "test.dns.com/dashboard".

These are my settings

1. at /etc/httpd.conf
Code: Select all
   DocumentRoot "/opt/lampp/htdocs"
   <Directory "/opt/lampp/htdocs">
      Options Indexes FollowSymLinks ExecCGI Includes
      AllowOverride All
      Require all granted
   </Directory>


2. at httpd-vhosts.conf

Code: Select all
<VirtualHost *:80>
   ServerAdmin webmaster@server2.net
   DocumentRoot /var/www/html/gold
   ServerName localhost.gold
   ServerAlias www.localhost.gold
    <Directory /var/www/html/gold/> 
        Order allow,deny 
        Allow from all 
    </Directory>
   CustomLog "logs/localhost.gold_access_log.%Y-%m-%d 86400 +540" common
   ErrorLog "logs/localhost.gold_error_log.%Y-%m-%d 86400 +540"
</VirtualHost>


3. at apache2/conf/httpd.conf
Code: Select all
Alias /bitnami/ "/opt/lampp/htdocs/"
Alias /bitnami "/opt/lampp/htdocs"

<Directory "/opt/lampp/htdocs">
    Options Indexes FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>


Please let me know what I am wrong.

Any helpful comments would be appreciated.
Thanks in advance.
Last edited by hanpedro on 11. November 2015 06:06, edited 1 time in total.
hanpedro
 
Posts: 133
Joined: 09. February 2005 06:03
Operating System: SCientific Linux 6.1 x86

Re: any addresses are redirected to xxx.xxx.xxx/dashboard

Postby hanpedro » 11. November 2015 06:05

The command "/opt/lampp/bin/httpd -S" show me the answer.
hanpedro
 
Posts: 133
Joined: 09. February 2005 06:03
Operating System: SCientific Linux 6.1 x86


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 6 guests