Zen Cart Logo
Forums / General Questions / editing .htaccess to allow tff and woff ?

editing .htaccess to allow tff and woff ?

Views: 1,293

Results 1 to 3 of 3
15 Apr 2011, 7:31 PM
#1
azwli avatar

azwli

New Zenner

Join Date:
Feb 2007
Posts:
81
Plugin Contributions:
0

editing .htaccess to allow tff and woff ?

Hello, I have been getting this server error:

[Fri Apr 15 12:00:16 2011] [error] [client 97.113.70.35] File does not exist: /home/USER/public_html/403.shtml, referer: [URL]http://wholesaleforms.com/includes/templates/OUR_template/css/stylesheet.css[/URL]
[Fri Apr 15 12:00:16 2011] [error] [client 97.113.70.35] client denied by server configuration: /home/USER/public_html/includes/templates/WSF_template/css/Action_Man-webfont.woff, referer: [URL]http://wholesaleforms.com/includes/templates/OUR_template/css/stylesheet.css[/URL]
[Fri Apr 15 12:00:12 2011] [error] [client 97.113.70.35] File does not exist: /home/USER/public_html/403.shtml, referer: [URL]http://wholesaleforms.com/includes/templates/OUR_template/css/stylesheet.css[/URL]
[Fri Apr 15 12:00:12 2011] [error] [client 97.113.70.35] client denied by server configuration: /home/USERl/public_html/includes/templates/OUR_template/css/Action_Man-webfont.ttf, referer: [URL]http://wholesaleforms.com/includes/templates/OUR_template/css/stylesheet.css[/URL]
```I fixed it by editing includes/.htaccess and adding tff and woff to the list of accepted file extensions.  Is this a safe practice?

Thanks.
16 Apr 2011, 2:48 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: editing .htaccess to allow tff and woff ?

If those are file types you need for something specific on your site to work, then allowing those types is what you need to do.

17 Apr 2011, 4:05 AM
#3
azwli avatar

azwli

New Zenner

Join Date:
Feb 2007
Posts:
81
Plugin Contributions:
0

Re: editing .htaccess to allow tff and woff ?

DrByte:

If those are file types you need for something specific on your site to work, then allowing those types is what you need to do.
Thanks, that helps. :smile: