21
tripmon
Re: Protector Module Usage/.htaccess
  • 2005/3/11 22:54

  • tripmon

  • Module Developer

  • Posts: 462

  • Since: 2004/2/28


Mongrel,

You may be getting the 500 because you have a module that requires globals to be on.

You can try de-activating any 3rd party modules (de-activate, don't remove, and your data will all remain intact) and see. If you don't find anything, just re-activate the modules and your back where you started minus one potential culprit.

GL

22
mongrel
Re: Protector Module Usage/.htaccess
  • 2005/3/15 3:56

  • mongrel

  • Just popping in

  • Posts: 62

  • Since: 2005/1/15


Hey Dave and tripmon!

Thanks for responding!!!

The file does have other content. I have included:

Quote:

Order allow,deny
Deny from all



per your(?) suggestion in the documentation.

Where would:

Quote:
php_flag   register_globals   off


go in relation to the above? AND how many spaces should be between the phrases? As Protector lists this command, there are three spaces between "flag" and "register." Also three between "globals" and "off." Does it matter?

Also, tripmon—

I am running third-party modules. And I seem to remember reading somewhere that this could be an issue. Once Dave (or someone) can verify what the .htaccesss file should look like, I'll be able to determine whether the deactivation testing will reveal the problem module. Of course, at this point, I don't even know if I inserted the code properly, so I guess I'll start there and get more involved as needed.

Thank you both for your help. I really appreciate it.

mongrel

23
Dave_L
Re: Protector Module Usage/.htaccess
  • 2005/3/15 5:29

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Put the register_globals directive outside the Files block, either before or after.

The number of spaces doesn't matter.

<Files "mainfile.php">
Order allow,deny
Deny from all
Files>

php_flag register_globals off

Login

Who's Online

293 user(s) are online (218 user(s) are browsing Support Forums)


Members: 0


Guests: 293


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