Forward to different address

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

Forward to different address

Postby AmazingTrans » 26. June 2015 22:58

Hi there, I have a xampp, and when i open the browser, http://172.16.16.10, it will forward me to http://172.16.16.10/xampp
Where can i change so there it forward to http://172.16.16.10/Site2 ?

Also, is it possible to just show http://172.16.16.10/Site2 as http://172.16.16.10 ?

Hope to hear from someone.

THanks,
AT
AmazingTrans
 
Posts: 2
Joined: 26. June 2015 22:55
Operating System: Ubuntu 14.04

Re: Forward to different address

Postby glitzi85 » 28. June 2015 17:03

AmazingTrans wrote:Hi there, I have a xampp, and when i open the browser, http://172.16.16.10, it will forward me to http://172.16.16.10/xampp
Where can i change so there it forward to http://172.16.16.10/Site2 ?

C:\xampp\htdocs\.htaccess
Edit: /opt/xampp/htdocs/.htaccess (just a guess)

AmazingTrans wrote:Also, is it possible to just show http://172.16.16.10/Site2 as http://172.16.16.10 ?

You can change the value of DocumentRoot in the httpd.conf. Please be aware that you will not be able to visit the xampp site afterwards.

BTW: Please don't change both at the same time. If you change DocumentRoot to Site2 there is no need to modify .htacces!

Edit: Crap, just realized that we are in the Linux-Forum :-( I can't really give you exact paths as the linux version does not come as an archive
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Re: Forward to different address

Postby AmazingTrans » 29. June 2015 03:30

Thanks for the tips. :)
AmazingTrans
 
Posts: 2
Joined: 26. June 2015 22:55
Operating System: Ubuntu 14.04


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 66 guests