• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

enabling htaccess for individual sites

amit290

Basic Pleskian
Hi,

Hope someone can help me. I wish to turn register_globals off for the whole server, but have an OSCOMMERCE site that requires it to be ON. I understand I can change php default values per site via .htaccess files.

Can someone tell me how to enable .htaccess files to do this? I have tried following this article http://kb.swsoft.com/en/124 but it still does not work.

I have this in my .htaccess

Code:
php_value session.use_trans_sid 0
php_value register_globals On
php_value register_long_arrays On

Thanks in advance,
 
Back
Top