how do I fix cpanel hotlink protection .htaccess write error

Asked by:
mike_s
Time:
2012-10-16 7:25 pm
Category:
Htaccess
Hits:
400
cPanel Hotlink Protection page generates the following error:

Apache detected an error in the Rewrite config. Syntax error on line 2 of /home/djmark5/public_html/.htaccess.iXi2lUhTpNz0hUxbvcXjA4bAM4E3Oy1H: Invalid command 'suphp_configpath', perhaps misspelled or defined by a module not included in the server configuration Please try again.Apache detected an error in the Rewrite config. Syntax error on line 2 of /home/djmark5/public_html/.htaccess.9z3xxiFlmXFZQHASHRzjBfdCEB9FKegP: Invalid command 'suphp_configpath', perhaps misspelled or defined by a module not included in the server configuration Please try again.Apache detected an error in the Rewrite config. Syntax error on line 3 of /home/djmark5/public_html/.htaccess.riDmG9Erv5FFtcXxbCmhcQAEOGUkEph_: Invalid command 'suphp_configpath', perhaps misspelled or defined by a module not included in the server configuration Please try again.Apache detected an error in the Rewrite config. Syntax error on line 3 of /home/djmark5/public_html/.htaccess.StIZIqLn91QlrWAVe_KlrRVxj7RsHXKR: Invalid command 'suphp_configpath', perhaps misspelled or defined by a module not included in the server configuration Please try again.

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

arnelc
2012-10-16 7:40 pm
Hello Mike_s,

I moved the suphp_configpath out of the rewrite block, and hopefully that should take care of the problem. The SuPHP option is now at the very top of the .htaccess file while the rest of the settings for your hotlink protection are together. Let us know if the problem persists!

If you have any further questions, please contact technical support or leave a comment at the bottom of the page.

Regards,

Arnel C.

You must login before you can post a comment about this answer.

Like this Question?

Have a Question?

If you need some help, submit your question to our Community! We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)

Recent Questions

  1. Site under brute force attack
  2. URLs in Installation of WordPress Don't Redirect
  3. Choosing a Directory With WordPress

Support Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.