Jump to content


Photo

Help me rewrite htaccess error page descriptions for add-on domain

htaccess error page add-on domain

  • Please log in to reply
1 reply to this topic

#1 fjpoblam

fjpoblam

    Member

  • Members
  • PipPip
  • 65 posts

Posted 14 January 2018 - 11:55 PM

Today my error log showed:

[NOTICE] [/home/***/public_html/$$$.com/.htaccess:2] absolute URL [https://$$$.com/401.htm] is not allowed for 401 custom error page. ignoring!

...where *** is my owner name and *** is the add-on domain name.

Inasmuch as I am no special expert in .htaccess, my entries therein have been copied and pasted from sources elsewhere over many years. The .htaccess file for $$$.com contains:

ErrorDocument 401 https://$$$.com/401.htm

Also, at the end of its .htaccess, is

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.+) [NC]
RewriteRule ^(.*) https://%1/$1 [R=301,NE,L]
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

I suspect my misinformation has yielded the error. I would appreciate any advice that would help me *understand* and correct it
  • 0

#2 Scott

Scott

    MDDHosting Staff

  • Staff Administrator
  • PipPipPipPip
  • 421 posts
  • Gender:Male

Posted 19 January 2018 - 08:15 PM

Please open a support ticket by emailing support@mddhosting.com so we can review your account and help you solve this error.
  • 0
Scott S - MDDHosting LLC - Providing Hosting since 2007
Scalable shared hosting plans in the cloud! Check them out!
Highly Available Cloud Shared, Reseller, and VPS
http://www.mddhosting.com/





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users