where can i set register globals on for one website?

Discussion in 'Installation/Configuration' started by zumerman, Jul 20, 2006.

  1. zumerman

    zumerman New Member

    I found solution in forums:
    Actually I needed to add:

    php_admin_flag register_globals on
    php_admin_flag register_long_arrays on

    in it to make it work (OSCommercer)

    but when i make empty .htacces files with 2 lines in directory:
    i get error:
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

    what i do wrong?
    may be i mast create this file in diferent folder or mast add more lines in this file?
  2. badben

    badben ISPConfig Developer ISPConfig Developer

    You can put these in the apache directives box in the site setup in the ISPconfig web interface.
  3. Ben

    Ben ISPConfig Developer ISPConfig Developer

    Due to so many security holes mostly caused by a mixture of register globals on and allow url fopen, you should not use any software needing this.

    Instead use a software which does not need this or change the code of that software, there is no need for using that bad style of php programming, either the coder didn't now how to do it better...
  4. zumerman

    zumerman New Member

    thanks, now its working

Share This Page