Cannot get Xampp or Ubuntu to redirect

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

Cannot get Xampp or Ubuntu to redirect

Postby regulusrigel » 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
regulusrigel
 
Posts: 2
Joined: 19. September 2008 20:00

Postby Wiedmann » 19. September 2008 20:21

The easiest way:
- reinstall the complete XAMPP.
- put wordpress into the dir "/opt/lampp/htdocs"
- access it with "http://localhost/"

(or put it in "/opt/lampp/htdocs/wordpress"
and access it with "http://localhost/wordpress/")
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby regulusrigel » 19. September 2008 21:04

Most Excellent!

The above suggestion did work!

Thanks Wiedmann

Regulusrigel
regulusrigel
 
Posts: 2
Joined: 19. September 2008 20:00


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 3 guests