View Full Version : [all variants] XAMPP setup question
omarali
July 12th, 2008, 08:32 PM
I just downloaded xampp for linux and installed it in /opt.
When I open the browser and type in locahost it redirects me to /localhost/xampp. How do I stop it from redirecting?
Dr Small
July 12th, 2008, 09:48 PM
Delete /opt/lampp/htdocs/index.html
omarali
July 12th, 2008, 11:39 PM
Delete /opt/lampp/htdocs/index.html
I tried that but the problem still exists. I'm guess the redirect is set somewhere in apache's config files, but I can't find out where.
RHAnthony
July 12th, 2008, 11:53 PM
Are there any virutal hosts setup?
What are the config files defined data dirs?
Are there any error handlers set to that directory?
All common things I've missed in the past years with similar situations :)
omarali
July 13th, 2008, 12:23 AM
Are there any virutal hosts setup?
What are the config files defined data dirs?
Are there any error handlers set to that directory?
I'm not sure how to check for those things. Everything is still set to the default settings. I just installed xampp today. If you know how xampp does the redirect by default then that's what I need to change.
RHAnthony
July 13th, 2008, 03:02 AM
A default redirect should be in your /etc/apache2/apache2.conf file. Just look for any line that lists that directory it's sending you to. You could also grep the entire /etc/apache2 dir for that as well I would think, incase it's in another file.
Are there any symbolic links to that directory on your machine that you know of?
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.