کد PHP:
mod_rewrite is enabled by default on cPanel serversHoweverin order for accounts to use itthey will need to add the following entry to their .htaccess:
RewriteEngine On 
کد PHP:
You can verify that mod_rewrite is enabled by typing the following:
root@cptest [~]# /usr/local/apache/bin/httpd -l |grep rewrite
 
mod_rewrite.