1
dean_collins
change path from /apache2-default/* to /*

I've installed XOOPS as specified in the install guide but now if you click on my domain

http://www.aussienymeetup.net

it will take you to

http://www.aussienymeetup.net/apache2-default/*

how do i change this to

http://www.aussienymeetup.net/*

I'm assuming I need to change the XOOPS install from the www/apache2-default/* path to www/*


any help? thanks? (not sure why this isn't in the faq already, I searched maybe I'm just missing something.

TIA,
Dean

2
rabideau
Re: change path from /apache2-default/* to /*
  • 2005/8/29 21:13

  • rabideau

  • Home away from home

  • Posts: 1042

  • Since: 2003/4/25


Check the contents of mainfile.php for the error.
Pax vobiscum,
...mark

may the road rise to meet your feet!

http://treemagic.org

3
dean_collins
Re: change path from /apache2-default/* to /*

Can you give me a little more advice?

I change the display setting to "/" instead of "/apache2-default/" but that didn't solve the problem.

Do I need to move the files physically? Will that break links and functionality?

TIA,
Dean

4
dean_collins
Re: change path from /apache2-default/* to /*

still lookign advice on how to fix this, is this related to 2.2.3? or is it just the way I have set it up incorrectly.


Cheers,
Dean

5
m0nty
Re: change path from /apache2-default/* to /*
  • 2005/9/2 15:33

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


yup change the paths physically by moving the files.. and yes it will break the links, but then u edit mainfile.php and it won't be broken..

if u get stuck the FAQ section has all this information in.

6
dean_collins
Re: change path from /apache2-default/* to /*

Ho Do I edit the mainfile? I mean I know how to edit but 'What' do i edit?

sorry for asking basic newbie questions.

Also is there a url for the faq you are referring to as I've searched and cant find it.

https://xoops.org/modules/smartfaq/

cheers,
dean

7
m0nty
Re: change path from /apache2-default/* to /*
  • 2005/9/2 15:55

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


if u open up mainfile.php, you'll see ;)

url & path

8
dean_collins
Re: change path from /apache2-default/* to /*

sorry to be obtuse but I already did modify it.

I deleted all references to apache2-default but it stopped working.

sorry if this is such a base question

9
m0nty
Re: change path from /apache2-default/* to /*
  • 2005/9/2 16:03

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


well that has to be the same as the actual path of your XOOPS installation. so if u changed that and u didn't physically move all the files into the web root instead of in the apache folder.. there's no wonder it didn't work.

10
dean_collins
Re: change path from /apache2-default/* to /*

ok so if I understand this correctly, I need to
1/ copy all files currently in the

www/apache2-default/ folder
to
www/

and then modify the two lines below (and reboot I assume)


// XOOPS Physical Path
// Physical path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_ROOT_PATH', '/var/www/apache2-default');
define('XOOPS_ROOT_PATH', '/var/www/apache2-default');


To
define('XOOPS_ROOT_PATH', '/var/www/');


// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_URL', '/apache2-default');
define('XOOPS_URL', '/apache2-default');

To
define('XOOPS_URL', '/');


is there anything else I need to do?

TIA,
Dean

Login

Who's Online

335 user(s) are online (286 user(s) are browsing Support Forums)


Members: 0


Guests: 335


more...

Donat-O-Meter

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

Latest GitHub Commits