Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Why can't it access the CSS files?

Why can't it access the CSS files?

Locked

Views: 2,682

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
19 Feb 2007, 2:53 PM
#1
4dw avatar

4dw

New Zenner

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

Why can't it access the CSS files?

We've just installed the lastest version and it is not reading the CSS files, the test domain is:
http://domain1265618.sites.fasthosts.com/

When trying to access the CSS file from a browser we get a 500 Internal Server error:
http://domain1265618.sites.fasthosts.com/includes/templates/classic/css/stylesheet.css

Any ideas !

Thanks in advance.

20 Feb 2007, 10:40 AM
#2
4dw avatar

4dw

New Zenner

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

Re: Why can't it access the CSS files?

It's working now.

Removed .htaccess from directory.

20 Feb 2007, 4:25 PM
#3
drbyte avatar

drbyte

Sensei

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

Re: Why can't it access the CSS files?

Removing the file is a bandaid. You should work with your hosting company to see how to ensure that the protections offered by the supplied .htaccess file are implemented in another manner that is compatible with the way they've configured your server. Otherwise folks can access all the files on your site without restriction. This isn't wise.
Only your host knows how they've configured things, and only they can truly answer how to incorporate the recommended protections into their setup.

20 Feb 2007, 5:33 PM
#4
4dw avatar

4dw

New Zenner

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

Re: Why can't it access the CSS files?

Thank you for your response I ask our support and the reply was:

**We only allow the below functions to work with our .htaccess files all others are disabled and will create the error.

URLSecurity
modification of FrontPage
mod_rewrite
301 redirects
**
Can anyone help/advice and how to ensure the CSS files can be accessed and that I don't compromise security?

Many thanks

20 Feb 2007, 5:53 PM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Why can't it access the CSS files?

Can anyone help/advice and how to ensure the CSS files can be accessed and that I don't compromise security?
DrByte:

Only your host knows how they've configured things, and only they can truly answer how to incorporate the recommended protections into their setup.
With out knowing the server configuration and the steps taken for security it is difficult for one to make any sound suggestions

20 Feb 2007, 6:13 PM
#6
4dw avatar

4dw

New Zenner

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

Re: Why can't it access the CSS files?

Hi

What sort of thing should I be asking my host? This information obviously isn't enough:
** URLSecurity
modification of FrontPage
mod_rewrite
301 redirects

**Thanks again

20 Feb 2007, 7:00 PM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Why can't it access the CSS files?

Copy the contents that are in the Zen Cart htaccess file for the host to view and ask them which of them you can use and for the ones that you cannot ask them either what they are doing or alternatives that you can do to provide this protection