1
Ifrit
Forbidden! O_o
  • 2004/5/18 7:06

  • Ifrit

  • Just popping in

  • Posts: 23

  • Since: 2003/7/6 8


Hi everyone.

I just noticed the nastiest bug(?) on my XOOPS :(, but i believe it's because of the hosting server, maybe you can help nonetheless.

Ok, you know how xoops_url var defines ur homepage right, well mine is "http://pttracker.secil.pt/~lusotakus/ifrit/site/html/" well my little problem is, when i access that url, i get the message:

"Forbidden
You don't have permission to access /~lusotakus/ifrit/site/html/ on this server."

It's not redirecting me to the index.php for some reason i went to the main menu template and made a temporary tweak, which was to add 'index.php' where the xoops_url var is called, but ofcourse there are other places where this var is called allover the site and i don't want my users to be seeing a 'forbidden' message as you can understand.

Thanks for your time, and help out if you can please

2
Ifrit
Re: Forbidden! O_o
  • 2004/5/18 7:17

  • Ifrit

  • Just popping in

  • Posts: 23

  • Since: 2003/7/6 8


I searched around and came up with this:

I made a index.html on the same folder as index.php, and when i accesshttp://pttracker.secil.pt/~lusotakus/ifrit/site/html/, it works! it directs me to the index.html >.< meaning this is server related... but im the server's own host <.< how do i go about to change this thing?

3
Ifrit
Re: Forbidden! O_o
  • 2004/5/18 7:24

  • Ifrit

  • Just popping in

  • Posts: 23

  • Since: 2003/7/6 8


Well here i am again...

I made this as a temporary solution:

Created the index.html on main folder (same where the index.php is);
Put the following code in it:
Quote:

<meta HTTP-EQUIV="REFRESH" content="0; url=http://pttracker.secil.pt/~lusotakus/ifrit/site/html/modules/news/index.php">


As you can see it redirects to exactly where i want it to.

This is probably temporary until i can solve this in another way, i hope it helps people with the same problem ^^.

4
Dave_L
Re: Forbidden! O_o
  • 2004/5/18 12:34

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7



5
tl
Re: Forbidden! O_o
  • 2004/5/18 12:44

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Quote:
Ok, you know how xoops_url var defines ur homepage right, well mine is "http://pttracker.secil.pt/~lusotakus/ifrit/site/html/" well my little problem is, when i access that url, i get the message:


Also try to remove the slash in the url. It should not be included.
Quote:

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

// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
define('XOOPS_URL', 'http://url_to_xoops_directory');


6
Ifrit
Re: Forbidden! O_o
  • 2004/5/18 19:15

  • Ifrit

  • Just popping in

  • Posts: 23

  • Since: 2003/7/6 8


Thanks guys, ill try that

7
Mithrandir
Re: Forbidden! O_o

also, perhaps your webserver is not setup to recognise index.php as a default page to show.

Someone with more experience in this can probably give directions on how to get around that problem, should it be the case.

Edit: which is EXACTLY what Dave wrote in the thread, he linked to. Do read that one and don't mind me

Login

Who's Online

120 user(s) are online (69 user(s) are browsing Support Forums)


Members: 0


Guests: 120


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