Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2007
    Location
    Jakarta
    Posts
    358
    Plugin Contributions
    0

    Default mydomain.com/store/ VS www.mydomain.com/store/

    I'm trying to get consistent behavior across browsers when it come to the URL of my site because this seem to be affect .htc file access which makes IE6 act a little 'weird'
    • css menus not working on initial load but work after navigating (includes/csshover.htc)
    • A transparent png fix doesn't work on initial load but works after navigation. (includes/iepngfix.htc)
    • Access denied error on both .htc files
    currently my .htaccess file in my nahidfashions.com/ root is as follows:
    Code:
    Options All -Indexes
    
    Options +FollowSymLinks
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^nahidfashions\.com [NC]
    RewriteRule ^(.*)$ http://www.nahidfashions.com/$1 [R=permanent,L]
    the .htaccess in my nahidfashions.com/boutique/ root is as follows
    Code:
    Options +FollowSymLinks
    RewriteEngine On
    RewriteBase /boutique/
    
    *** SEO RULES REMOVED FOR SIMPLICITY ***
    
    ## the following makes sure the correct mime type is sent for the .htc file
    AddType text/x-component .htc
    my configure.php file has
    Code:
      
    define('HTTP_SERVER', 'http://nahidfashions.com');
      define('HTTPS_SERVER', 'https://nahidfashions.com');
    I've played with this allot and can't seem to get something satisfactory.

    What should be changed to make everything consistent and to ensure that my .htc files are accessed without error on all browsers?

  2. #2
    Join Date
    Jul 2007
    Location
    Jakarta
    Posts
    358
    Plugin Contributions
    0

    Default Re: mydomain.com/store/ VS www.mydomain.com/store/

    My problem was that my includes/configure.php needed to be change to match the www.nahidfashions.com used in the other section.

    It works now.

    I hope this helps someone.

  3. #3
    Join Date
    Mar 2008
    Posts
    2
    Plugin Contributions
    0

    Default Re: mydomain.com/store/ VS www.mydomain.com/store/

    I am having a similar problem regarding iepngfix and a parked domain. If you go to my root domain the png fix works fine but if you go to the site via the parked domain the png fix does not work until you have clicked a link. It sounds like your fix may be what I need to do to my site as well. Would you mind explaining a bit more in detail what you had done to correct this problem? Any help would be greatly appreciated!

  4. #4
    Join Date
    Jul 2007
    Location
    Jakarta
    Posts
    358
    Plugin Contributions
    0

    Default Re: mydomain.com/store/ VS www.mydomain.com/store/

    Quote Originally Posted by Ariaeko View Post
    I am having a similar problem regarding iepngfix and a parked domain. If you go to my root domain the png fix works fine but if you go to the site via the parked domain the png fix does not work until you have clicked a link. It sounds like your fix may be what I need to do to my site as well. Would you mind explaining a bit more in detail what you had done to correct this problem? Any help would be greatly appreciated!
    If you remember that the includes/configure.php file has setting for the HTTP_SERVER. This should match whatever you have in your .htaccess

    So what I did was make sure that my HTTP_SERVER was defined as http://www.nahidfashions.com and not http://nahidfashions.com in configure.php.
    Code:
    define('HTTP_SERVER', 'http://www.nahidfashions.com');
      define('HTTPS_SERVER', 'https://www.nahidfashions.com');

    In the in the .htaccess file I made sure the Rewrite was set to the same thing.
    Code:
    Options +FollowSymLinks
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^nahidfashions\.com [NC]
    RewriteRule ^(.*)$ http://www.nahidfashions.com/$1 [R=permanent,L]

    After I did this the problem went away. Without this synchronization .htc files didn't work.

    I hope this is clear enough.

 

 

Similar Threads

  1. v155 Can't Get to Install Page (www.mydomain.com/store)
    By ShoeSolutions in forum Installing on a Mac Server
    Replies: 1
    Last Post: 7 Jan 2016, 08:50 PM
  2. mydomain.com and wholesale.mydomain.com
    By kidtwist in forum Basic Configuration
    Replies: 3
    Last Post: 19 Jul 2011, 12:15 AM
  3. Problem with pointing to http://www.mydomain.com
    By lindanewbie in forum Basic Configuration
    Replies: 1
    Last Post: 7 Mar 2011, 10:36 AM
  4. mydomain.com/store? or simply mydomain.com?
    By zcnb in forum General Questions
    Replies: 3
    Last Post: 26 Jun 2008, 07:30 AM
  5. Advice needed: mydomain.com/store or store.mydomain.com?
    By rstevenson in forum Installing on a Linux/Unix Server
    Replies: 10
    Last Post: 6 Nov 2006, 08:27 PM

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