Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1
    Join Date
    Mar 2006
    Posts
    19
    Plugin Contributions
    0

    csshover.htc denied

    I have a main domain, it works find. its the forwarded domain that gives the error "access to csshover.htc denied"

    I've read and tried the suggestions titled "Csshover Issue?", with no success.

    i made these changes to includes/config.php file:

    define('HTTP_SERVER', 'http://thecompanykw.com');
    define('HTTP_SERVER', 'http://www.thecompanykw.com');
    define('HTTPS_SERVER', 'https://thecompanykw.com');
    define('HTTP_SERVER', 'http://anotherkwevent.com');
    define('HTTP_SERVER', 'http://www.anotherkwevent.com');
    define('HTTPS_SERVER', 'https://anotherkwevent.com');


    this is in my admin/includes/configure.php file:

    define('HTTP_SERVER', 'http://thecompanykw.com');
    define('HTTP_SERVER', 'http://www.thecompanykw.com');

    define('HTTPS_SERVER', 'https://thecompanykw.com');
    define('HTTPS_SERVER', 'https://www.thecompanykw.com');

    define('HTTP_CATALOG_SERVER', 'http://thecompanykw.com');
    define('HTTP_CATALOG_SERVER', 'http://www.thecompanykw.com');

    define('HTTPS_CATALOG_SERVER', 'https://thecompanykw.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.thecompanykw.com');


    define('HTTP_SERVER', 'http://anotherkwevent.com');
    define('HTTP_SERVER', 'http://www.anotherkwevent.com');

    define('HTTPS_SERVER', 'https://anotherkwevent.com');
    define('HTTPS_SERVER', 'https://www.anotherkwevent.com');

    define('HTTP_CATALOG_SERVER', 'http://anotherkwevent.com');
    define('HTTP_CATALOG_SERVER', 'http://www.anotherkwevent.com);

    define('HTTPS_CATALOG_SERVER', 'https://anotherkwevent.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.anotherkwevent.com');

    Not sure where to go from here. I only found one suggestion in the forums. Please suggest. Thanks in advance!!!!

  2. #2
    Join Date
    Dec 2004
    Location
    New York, USA
    Posts
    1,198
    Plugin Contributions
    0

    Default Re: csshover.htc denied

    IE is particular about where it finds the csshover.htc file. It needs to be found at the same URL as the page URL. It's a problem when people come to the site via "sitename.com" instead of "www.sitename.com".

    The best way to keep this is check would be to use a 301 redirect which automatically redirects the browser from "sitename.com" to "www.sitename.com" (or the reverse).

    Also, your configuration file is not correct. You are creating duplicate defines for each variable in the same location. In other words you are declaring 2 different addresses as being the same. For handling multiple URL's, use 301 redirects instead. It's a better approach and is search engine and browser friendly.

  3. #3
    Join Date
    Mar 2006
    Posts
    19
    Plugin Contributions
    0

    Default Re: csshover.htc denied

    thank you lib99 for responding. i've added this code for 301 redirect to my index page. it looks like this:

    <?php
    // Permanent redirection
    header("HTTP/1.1 301 Moved Permanently");
    header("Location: http://thecompanykw.com/ec/");
    header("Location: http://anotherkwevent.com/ec/");
    exit();
    ?>

    if i understand correctly i should add the domains w/o www here in the 301 script? i also commented out the dublicate defines in the config.php file. they look like this now:

    define('HTTP_SERVER', 'http://thecompanykw.com');
    define('HTTPS_SERVER', 'https://thecompanykw.com');

    but, these changes have not resovled the problem. could i be over looking something. please advise. thx!

  4. #4
    Join Date
    Dec 2004
    Location
    New York, USA
    Posts
    1,198
    Plugin Contributions
    0

    Default Re: csshover.htc denied

    I know 301 redirects are possible via PHP, but I've never tried it. So I can't say if your method is correct or not.

    The important thing is that you implement a method that forces all users to the same base URL. This will eliminate your csshover.htc error with Internet Explorer.

    The best way to handle the redirects is to add something like the following to the httpd.conf (apache). Most likely you would need to ask your host to do this. The following will redirect users who type "domain.com" to "www.domain.com" Using multiple domain names, you will have to make modifications to account for the different cases.

    xxx.xxx.xxx.xxx would be replaced by your domain's IP address. (:80) is port 80 (non-ssl), for your https, you would need the same with (:443).

    Code:
    RewriteEngine on
    RewriteCond %{HTTP_HOST}          !^xxx.xxx.xxx.xxx(:80)?$
    RewriteCond %{HTTP_HOST}          !^www.domain.com(:80)?$
    RewriteRule ^/(.*)                http://www.domain.com/$1 [L,R=301]
    OR, you can modify/add to a .htaccess file
    Code:
    ########## added 301 redirect
    #
    RewriteCond %{HTTP_HOST} !^www\.thecompanykw\.com [NC]
    RewriteRule ^(.*)$ http://www.thecompanykw.com/$1 [L,R=301]
    #
    ########## end 301 redirect
    There are many-many ways to accomplish and configure 301 redirects. I recommend you talk with your host to see if they can assist you.

  5. #5
    Join Date
    Mar 2006
    Posts
    19
    Plugin Contributions
    0

    Default Re: csshover.htc denied

    Thank you soooooo much. I was able to provided my isp with good direction thanks to your response lib99. They said this:

    Hello,

    We have managed to add a forward rule in your index.php file and for more secure fixed your .htaccess file as explained in the forum that you provided us. The index.php file now contains the following:

    <?php
    $url = "http://www.thecompanykw.com/";
    header("Location: $url");
    ?>

    We have tested the website with IE and it loads flawlessly. Please check that everything is working fine for you now. Note may be you will need to clear the cache and cookie files from you web browser.

    ---
    I completed the suggestions made by my isp however, it seems to be a problem specifically with the sbc ie browser...so needless to say i'm still searching, cause many people use sbc browsers.

    thanks again!

  6. #6
    Join Date
    May 2007
    Posts
    18
    Plugin Contributions
    0

    Default csshover.htc denied

    Hello, my website www.cagedtalent.com/store has an error in Internet Explorer that says Acess is denied an dit is the crossover.htc file that is in includes. I tried to redirect this in the htcacess file and it did not work.

    cagedtalent.com/store without the www does not have an error. I am not sure about this. Does anyone know how to fix this.

    Thank you in advance!

  7. #7
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: csshover.htc denied

    jben, the .htaccess suggestion posted earlier is the sort of thing you need.
    You don't need to deal with the csshover file.
    You need to make sure that your customers "always" end up at www.your_domain.com and never at only your_domain.com
    The best way to enforce this is with a suitable .htaccess trick ... assuming you're on a Linux host.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Jul 2007
    Posts
    154
    Plugin Contributions
    0

    Default Re: csshover.htc denied

    Quote Originally Posted by DrByte View Post
    jben, the .htaccess suggestion posted earlier is the sort of thing you need.
    You don't need to deal with the csshover file.
    You need to make sure that your customers "always" end up at www.your_domain.com and never at only your_domain.com
    The best way to enforce this is with a suitable .htaccess trick ... assuming you're on a Linux host.
    Dr. Byte:
    I have the same problem in IE and I'm not on a Linux host but Windows host. I also have a double domain used by my satelite sites.
    I'm getting the"Done but w/ errors on page" message when URL is
    www.all4coffee.com

    but no errorr if getting to the same page with
    www.time-co.com

    Error is caused by csshover.htc (access denied)

    How can I correct it on the Windows server so it works on both URLs?

    Any help will be appreciated. Thanks

  9. #9
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: csshover.htc denied

    Quote Originally Posted by all4coffee View Post
    How can I correct it on the Windows server so it works on both URLs?
    I don't think IIS has any built-in support for rewrite rules.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #10
    Join Date
    Jul 2007
    Posts
    154
    Plugin Contributions
    0

    Default Re: csshover.htc denied

    Quote Originally Posted by DrByte View Post
    I don't think IIS has any built-in support for rewrite rules.
    Oh, no doubt, I agree but none of the ideas did work for me.

    I did however find a good workaround!
    I'm posting it here in case someone with a double domain might find it helpful. Please let me know in case this could cause any problems down the road (so far I did test it - seems to work)


    So here is what I did:

    1. I edited both /includes/ configure.php and /admin/includes/configure.php specifying my www.all4coffee.com domain as HTTP server and my second domain www.time-co.com as the HTTPS server
    2. then I went back to my zencart and changed all the EZpages and internal products links which were still pointing to www.time-co.com to www.all4coffee.com (except those that needed https://www.time-co.com (secure connection).
    3. And since all my satelite sites with links to my store used the www.all4coffee.com version of my domain I was all done.

    Result: no more "Done but with error on page" messages.

    Thanks all who responded!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. scripting error with IE7-access denied to csshover.htc
    By robinraraavis in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 25 Oct 2009, 04:42 AM
  2. csshover.htc
    By Liyana in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 23 Sep 2007, 03:11 AM
  3. csshover.htc denied on Checkout_Success ONLY
    By Get Em Fast in forum Addon Sideboxes
    Replies: 3
    Last Post: 10 Sep 2007, 05:26 PM
  4. csshover.htc denied on Checkout_Success ONLY. Please Help
    By Get Em Fast in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 1 Mar 2007, 07:09 AM
  5. csshover.htc denied on Checkout_Success ONLY. Please Help
    By Get Em Fast in forum General Questions
    Replies: 1
    Last Post: 1 Mar 2007, 02:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg