Page 1 of 1

xampp application not works correctly

PostPosted: 19. March 2015 12:39
by siaswar
I install virtual host in xampp this way:
add my virtuall host data to httpd.host.conf
and 127.0.0.1 testsite.local to /etc/host
when I restartd apache it show some errors. errors beloged to to virtualhosts in httpd.host so I removed them :evil:
I restarted apache and it workd and bringed my host.
then I needed xampp application: 127.0.0.1/xampp. but it not workd. :(
well I add new host for xampp but now it just shows me the http://localhost/xampp/splash.php and http://xampp.local/xampp/splash.php. no liks works in this page. I click english and other languages but it brings back http://xampp.local/xampp/splash.php :oops:
this is my httpd.vhosts
Code: Select all
<VirtualHost *:80>
   ServerAdmin ###########@gmail.com
   DocumentRoot /opt/lampp/htdocs/
   ServerName xampp.local
   ServerAlias www.xampp.local
   ErrorLog logs/error_log
   CustomLog logs/access_log common
</VirtualHost>

<VirtualHost *:80>
   ServerAdmin ########@gmail.com
   DocumentRoot /opt/lampp/htdocs/testsite
   ServerName testsite.local
   ServerAlias www.testsite.local
   ErrorLog logs/testsite.local-error_log
   CustomLog logs/testsite.local-custom_log common
</VirtualHost>

how can I fix this and have access to xampp application again?