• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

AddDefaultCharset not allowed here

N

nathanl

Guest
I have Sitebuilder running on Linux, it publishes to a FreeBSD server, running apache.
When sites publish a .htaccess files is created. When i try to load the site once its published, i am given an "internal server error" and apache's error log reports:
Code:
/usr/home/sitebuilder/sites/test/.htaccess: AddDefaultCharset not allowed here, referer: [url]http://sitebuildertest.accu-find.com/flashes/intro.html[/url]

I added the character set to the site's virtual directory block in apache's confug, and removed the .htaccess file. the site loads properly that way, but what i need is for this to operate automatically. Having to remove, or rename the .htaccess file upon publish could be a problem later.

What can i do to make apache use the .htaccess file as it should?

thank you.
 
Nevermind. I found the problem.
Apache needed me to allow htaccess to set the charset.
All is well now.
 
Back
Top