Problem With Solutions

Something Different In Linux

Home » cpanel » Create your own Apache Rewrite Log file

Create your own Apache Rewrite Log file

Posted by Rishikesh Vispute Categories: cpanel, htaccess

How to Create your own Apache Rewrite Log file ?

If your account is hosted on suexec server then you need to add this code in http.conf file otherwise you can enable it by using .htaccess file.

By using  http.conf file

You need to
=============================
# Roll your own Rewrite log
# Log details via scale of 1 to 9
# 1 = few details, 5 = enough details, 9 = too much detail

RewriteEngine On
RewriteLog “/home/username/public_html/rewrite.log”
RewriteLogLevel 5
=============================

By using  .htaccess file

============================
# Roll your own Rewrite log
# Log details via scale of 1 to 9
# 1 = few details, 5 = enough details, 9 = too much detail
RewriteEngine On
RewriteLog “/home/username/public_html/rewrite.log”
RewriteLogLevel 5
=============================

Note : Replace the absolute path for rewrite.log file.


  • RSS
  • Delicious
  • Digg
  • Facebook
  • Linkedin
  • Youtube

Popular Posts

remove index.php fro

How to remove index.php from url in magento Ans : If you ...

Warning: Parameter 1

Error: Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a ...

javax.naming.NameNot

Error: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context Solution ...

Custom 404 page in j

How to set the custom 404 page in joomla? or Change default ...

PHP-Java bridge on p

  What is php-java bridge? The php-java bridge is the php ...

Optimized by SEO Ultimate

[donateplus]