1
spudrussell
Correct syntax for the XOOPS Virtual Path (URL) during installation?
  • 2006/11/11 1:46

  • spudrussell

  • Just popping in

  • Posts: 7

  • Since: 2005/6/27


What is the correct syntax for the XOOPS Virtual Path (URL) during installation?

I am installing on a multi-user hosted server. In searching through this site and the XOOPS documentation site have seen a variety of expressions, but not a definitive answer. Sometimes I see a directory path -- other times a http://www.yoursite.com style URL. Which is correct?

Would the following work on a new installation of XOOPS 2.0.15 on a hosted environment?

http://localhost/public_html


Thank you for your advice.

2
Lance_
Re: Correct syntax for the XOOPS Virtual Path (URL) during installation?
  • 2006/11/11 3:50

  • Lance_

  • Home away from home

  • Posts: 983

  • Since: 2004/1/12


Here, use this for Virtual path. The other is the physical path.

// XOOPS Physical Path
    // Physical path to your main XOOPS directory WITHOUT trailing slash
    // Example: define('XOOPS_ROOT_PATH', '/home/username/public_html/xoops');
    
define('XOOPS_ROOT_PATH''/home/username/public_html/xoops');


    
// XOOPS Virtual Path (URL)
    // Virtual path to your main XOOPS directory WITHOUT trailing slash
    // Example: define('XOOPS_URL', 'http://www.yoururl.com');
    
define('XOOPS_URL'"http://{$_SERVER['HTTP_HOST']}");
GDL-Web.com :: Website development.
Xoopslance.com::Freelancing and Projects
thelionsden-arena.net:: Clan/League/Ladder Hosting

3
spudrussell
Re: Correct syntax for the XOOPS Virtual Path (URL) during installation?
  • 2006/11/14 18:28

  • spudrussell

  • Just popping in

  • Posts: 7

  • Since: 2005/6/27


Lance,

Thank you for the suggestion.

Unfortunately in my hosted environment, the suggested XOOPS Virtual Path (URL) was not accepted as valid by the XOOPS installer.

I used normal URL syntax, which was accepted as valid by the XOOPS installer, that is:

define('XOOPS_URL', 'http://www.mysitename.com');

Is there any downside to using this statement?

Thank you to anyone for advice.

Login

Who's Online

529 user(s) are online (399 user(s) are browsing Support Forums)


Members: 0


Guests: 529


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