1
Tronix102
Moving the index.php file
  • 2007/7/31 14:31

  • Tronix102

  • Just popping in

  • Posts: 3

  • Since: 2007/7/31


Hey all,

I have searched and searched and I can't seem to find a solution to my problem.

My xoop install is installed in mysite.com/xoop and I want to have the index.php file just in my mysite.com/ root directory. If I move it, I get a blank page, can this be done or do I have to reinstall xoop to the root directory to get it to work?

Thanks everyone in advanced.

2
Dave_L
Re: Moving the index.php file
  • 2007/7/31 14:57

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


You could create an index.php file in the web root directory that redirects to the /xoops directory. Its contents would be:

<?php header('Location: /xoops/'?>


I prefer this approach, rather than installing XOOPS in the web root.

3
Tronix102
Re: Moving the index.php file
  • 2007/7/31 15:21

  • Tronix102

  • Just popping in

  • Posts: 3

  • Since: 2007/7/31


awesome...thank you very much, I will try that now. I knew it was probably something easy heh.

4
Tronix102
Re: Moving the index.php file
  • 2007/7/31 15:30

  • Tronix102

  • Just popping in

  • Posts: 3

  • Since: 2007/7/31


works perfect ... thank you so much! Now if I can only figure out how to keep the mysite.com url in the address bar instead of making it goto mysite.com/xoops/blog/

Login

Who's Online

272 user(s) are online (166 user(s) are browsing Support Forums)


Members: 0


Guests: 272


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits