1
mixmaster
404 Not Found URL Error
  • 2005/2/1 22:02

  • mixmaster

  • Just popping in

  • Posts: 28

  • Since: 2005/1/21


I get the following 404 Not Found error when I try to access my site without including the forward slash to the path folder (http://www.mysite.com/xoops or http://mysite.come/xoops):

The requested URL /xoops was not found on this server
Additionallya 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


But when I include the forward slash (mysite.com/xoops/) I get directed to the correct page. This seems to only happen with my XOOPS directory, all other directories add the forward slash automatically when I try to access them: mysite.com/directory -> mysite.com/directory/ . Is this something that needs to be adjusted in the config file? Any suggestions would be appreciated. Cheers

2
jdseymour
Re: 404 Not Found URL Error

Is this a local server? What do you have entered in mainfile.php for the root path and virtual directory?

3
mixmaster
Re: 404 Not Found URL Error
  • 2005/2/1 22:43

  • mixmaster

  • Just popping in

  • Posts: 28

  • Since: 2005/1/21


No, it's on a remote server. This is what I have in the mainfile.php:
// XOOPS Physical Path
    // Physical path to your main XOOPS directory WITHOUT trailing slash
    // Example: define('XOOPS_ROOT_PATH', '/home/****/public_html/xoops');
    
define('XOOPS_ROOT_PATH''/home/****/public_html/xoops');

    
// XOOPS Virtual Path (URL)
    // Virtual path to your main XOOPS directory WITHOUT trailing slash
    // Example: define('XOOPS_URL', 'http://www.mysite.com/xoops');
    
define('XOOPS_URL''http://www.mysite.com/xoops');

4
jdseymour
Re: 404 Not Found URL Error

The way it is written you have a folder XOOPS in your root directory with all the XOOPS files contained within. Is that correct?

The reason I ask is that usually you load all the XOOPS files directly in the root directory so that way you just need:

http://www.yoursite.com

Is there a reason that you have it enclosed in a subdirectory?

5
mixmaster
Re: 404 Not Found URL Error
  • 2005/2/2 7:59

  • mixmaster

  • Just popping in

  • Posts: 28

  • Since: 2005/1/21


Yes, I'm aware that XOOPS usually installs in the root directory but I have several different cms installed which I use for testing purpose. I am only experiencing this problem with my XOOPS directory.

Login

Who's Online

300 user(s) are online (254 user(s) are browsing Support Forums)


Members: 0


Guests: 300


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