Details regarding Plesk File Structure!

The exact value of path variables can be known from /etc/psa/psa.conf file on Parallels Plesk Panel server. Below is example of /etc/psa/psa.conf file: Plesk tree PRODUCT_ROOT_D /usr/local/psa Directory of SysV-like Plesk initscripts PRODUCT_RC_D /etc/init.d Directory for config files PRODUCT_ETC_D /usr/local/psa/etc Virtual hosts directory HTTPD_VHOSTS_D /var/www/vhosts Apache configuration files directory HTTPD_CONF_D /etc/httpd/conf Apache include files directory […]

See More

How to reset the mysql root password from mysql safe?

Steps to reset mysql root password from mysql safe: # service mysqld stop # mysqld_safe –skip-grant-tables & That should start up mysql without the need for a root password. Once in, type >use mysql >UPDATE user SET password=PASSWORD(‘newpass’) WHERE user=’root’; >FLUSH PRIVILEGES; >quit That will reset the root password for you. Kill all old processes […]

See More

WordPress .htaccess basic code!

The following permalink rewrite code should be included in your .htaccess file: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress

See More