Activare .htaccess

Enable .htaccess in iBay log on using shell (putty, etc.) with the root username and password. login as: rootroot@server’s password: password Enter the following commands: (where: my_ibay_name is the name of the ibay we want to enable for .htaccess override) [root@server ~] db accounts setprop my_ibay_name AllowOverride All[root@server ~] signal-event ibay-modify my_ibay_name Allow FollowSymLinks When […]

Continue Reading

Instalare MySQL 5

To upgrade to MySQL 5.0.68, do the following at a command prompt: yum upgrade mysql –enablerepo=centosplus signal-event post-upgrade; signal-event reboot   mysql_upgrade signal-event post-upgrade; signal-event reboot Errors like this in /var/log/httpd/admin_access_log: Premature end of script headers (index.cgi)Can’t do setuid (cannot exec sperl)Should be fixed by doing this: yum install perl-suidperl signal-event post-upgrade; signal-event reboot   […]

Continue Reading

Error Handling

Prevent public display of PHP errors via htaccess # supress php errorsphp_flag display_startup_errors offphp_flag display_errors offphp_flag html_errors offphp_value docref_root 0php_value docref_ext 0 Preserve (log) your site’s PHP errors via htaccess # enable PHP error loggingphp_flag log_errors onphp_value error_log /home/path/public_html/domain/PHP_errors.log

Continue Reading