Cannot get Xampp or Ubuntu to redirect
Posted: 19. September 2008 20:06
I am running the current Ubuntu server (8.04) with Xampp. When I go to my webpage I always get the Xampp page.
Xampp is being read from: /opt/lampp/htdocs
I have loaded Wordpress at: /var/www/wordpress
I have gone into /opt/lampp/htdocs/index.html and changed the:
<meta http-equiv="refresh" content="0;url=/xampp/">
to:
<meta http-equiv="refresh" content="0;url=/var/www/wordpress/">
and also to:
<meta http-equiv="refresh" content="0;url=./var/www/wordpress/">
It always redirects to the default Xampp page.
I believe that Xampp places their httpd.conf file under /opt/lampp/etc/
I have gone into that document and replaced:
DocumentRoot "/opt/lampp/htdocs"
with
DocumentRoot "/var/www/wordpress"
It is still going to the Xampp default. So I also changed:
<Directory "/opt/lampp/htdocs">
to
<Directory "/var/www/wordpress">
Which also has made no change.
I have also checked with the Xampp for Linux forum and it said to delete the /opt/lampp/htdocs/index.html file, which I did. When i tried to refresh I still got the same Xampp page, so I cleared the cache (recommended on your site.) Now I am seeing:
Index of /
Icon Name Last modified Size Description[ ] favicon.ico 11-May-2007 06:40 30K
[DIR] webalizer/ 26-Dec-2004 03:30 -
[DIR] wordpress/ 19-Sep-2008 08:16 -
[DIR] xampp/ 10-Nov-2006 02:03 -
Apache/2.2.9 (Unix) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h PHP/5.2.6 mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0 Server at dnsnamechanged.dyndns.biz Port 80
Any Ideas?
Thanks,
Regulusrigel
Xampp is being read from: /opt/lampp/htdocs
I have loaded Wordpress at: /var/www/wordpress
I have gone into /opt/lampp/htdocs/index.html and changed the:
<meta http-equiv="refresh" content="0;url=/xampp/">
to:
<meta http-equiv="refresh" content="0;url=/var/www/wordpress/">
and also to:
<meta http-equiv="refresh" content="0;url=./var/www/wordpress/">
It always redirects to the default Xampp page.
I believe that Xampp places their httpd.conf file under /opt/lampp/etc/
I have gone into that document and replaced:
DocumentRoot "/opt/lampp/htdocs"
with
DocumentRoot "/var/www/wordpress"
It is still going to the Xampp default. So I also changed:
<Directory "/opt/lampp/htdocs">
to
<Directory "/var/www/wordpress">
Which also has made no change.
I have also checked with the Xampp for Linux forum and it said to delete the /opt/lampp/htdocs/index.html file, which I did. When i tried to refresh I still got the same Xampp page, so I cleared the cache (recommended on your site.) Now I am seeing:
Index of /
Icon Name Last modified Size Description[ ] favicon.ico 11-May-2007 06:40 30K
[DIR] webalizer/ 26-Dec-2004 03:30 -
[DIR] wordpress/ 19-Sep-2008 08:16 -
[DIR] xampp/ 10-Nov-2006 02:03 -
Apache/2.2.9 (Unix) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h PHP/5.2.6 mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0 Server at dnsnamechanged.dyndns.biz Port 80
Any Ideas?
Thanks,
Regulusrigel