Results 1 to 10 of 2445

Hybrid View

  1. #1
    Join Date
    Sep 2012
    Posts
    14
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    I'm having problems with a site that I have set up as a the main domain. Actually the problem is with the sub domains. I can't get to them with the .htaccess file that is create with CEON. If I don't use the .htaccess file I can get to them. Here is the file.

    Code:
    RewriteEngine On
    
    # Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
    RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
    # Don't rewrite any URIs for some, popular specific file format extensions,
    #   which are not covered by main file extension condition above
    RewriteCond %{REQUEST_URI} !\.(mp3|mp4|h264)$ [NC]
    # Don't rewrite any URIs for some specific file format extensions,
    #   which are not covered by main file extension condition above
    #   Uncomment the following line to apply this condition! (Remove the # at the start of the next line)
    #RewriteCond %{REQUEST_URI} !\.(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dml)$ [NC]
    # Don't rewrite admin directory
    RewriteCond %{REQUEST_URI} !^/adminghi [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^/editors/ [NC]
    # Don't rewrite bmz_cache directory
    RewriteCond %{REQUEST_URI} !^/bmz_cache/ [NC]
    # Don't rewrite rayshookconstruction.com directory
    RewriteCond %{REQUEST_URI} !^/rayshookconstruction\.com/ [NC]
    # Don't rewrite cgi-bin directory
    RewriteCond %{REQUEST_URI} !^/cgi\-bin/ [NC]
    # Don't rewrite logs directory
    RewriteCond %{REQUEST_URI} !^/logs/ [NC]
    # Don't rewrite b-goat.com directory
     RewriteCond %{REQUEST_URI} !^/b\-goat\.com/ [NC]
    # Don't rewrite sitemap directory
    RewriteCond %{REQUEST_URI} !^/sitemap/ [NC]
    # Don't rewrite temp.jaciscookies.com directory
    RewriteCond %{REQUEST_URI} !^/temp\.jaciscookies\.com/ [NC]
    # Handle all other URIs using Zen Cart (its index.php)
    RewriteRule .* index.php [QSA,L]
    Not sure what I need to change. Help would be greatly appreciated.

    Billie

  2. #2
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by BGoat View Post
    I'm having problems with a site that I have set up as a the main domain. Actually the problem is with the sub domains. I can't get to them with the .htaccess file that is create with CEON. If I don't use the .htaccess file I can get to them. Here is the file.

    Code:
    RewriteEngine On
    
    # Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
    RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
    # Don't rewrite any URIs for some, popular specific file format extensions,
    #   which are not covered by main file extension condition above
    RewriteCond %{REQUEST_URI} !\.(mp3|mp4|h264)$ [NC]
    # Don't rewrite any URIs for some specific file format extensions,
    #   which are not covered by main file extension condition above
    #   Uncomment the following line to apply this condition! (Remove the # at the start of the next line)
    #RewriteCond %{REQUEST_URI} !\.(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dml)$ [NC]
    # Don't rewrite admin directory
    RewriteCond %{REQUEST_URI} !^/adminghi [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^/editors/ [NC]
    # Don't rewrite bmz_cache directory
    RewriteCond %{REQUEST_URI} !^/bmz_cache/ [NC]
    # Don't rewrite rayshookconstruction.com directory
    RewriteCond %{REQUEST_URI} !^/rayshookconstruction\.com/ [NC]
    # Don't rewrite cgi-bin directory
    RewriteCond %{REQUEST_URI} !^/cgi\-bin/ [NC]
    # Don't rewrite logs directory
    RewriteCond %{REQUEST_URI} !^/logs/ [NC]
    # Don't rewrite b-goat.com directory
     RewriteCond %{REQUEST_URI} !^/b\-goat\.com/ [NC]
    # Don't rewrite sitemap directory
    RewriteCond %{REQUEST_URI} !^/sitemap/ [NC]
    # Don't rewrite temp.jaciscookies.com directory
    RewriteCond %{REQUEST_URI} !^/temp\.jaciscookies\.com/ [NC]
    # Handle all other URIs using Zen Cart (its index.php)
    RewriteRule .* index.php [QSA,L]
    Not sure what I need to change. Help would be greatly appreciated.

    Billie
    Well, one thing seems that you need to change your admin directory....

    The other issue seems to be related to having subdirectories that end with an extension. Though before acting on that, is there an .htaccess in each/any of the other store roots?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Sep 2012
    Posts
    14
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by mc12345678 View Post
    Well, one thing seems that you need to change your admin directory....

    The other issue seems to be related to having subdirectories that end with an extension. Though before acting on that, is there an .htaccess in each/any of the other store roots?
    Yes I do now, ugh. Didn't even think about that before posting.

    No, there isn't any other store roots. The only site that has a store is the temp.

    Billie

  4. #4
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by BGoat View Post
    Yes I do now, ugh. Didn't even think about that before posting.

    No, there isn't any other store roots. The only site that has a store is the temp.

    Billie
    So with regards to say:
    Code:
    rayshookconstruction\.com
    Is there an .htaccess file and how is one from the internet expected to get there? If it is by typing that as the uri, then that is a root location. To further explain the thought, once the system tries to get the guest there, if an .htaccess is not provided then generally speaking the .htaccess from the parent directory overrules and in that case, the REQUEST_URI is no longer the subdirectory but a / and therefore the rules of the original .htaccess apply and the user gets redirected to a non-existent index.php potentially and the errors you have seen appear. This is not a condition to be determined by the auto script for the base .htaccess file and must be enhanced/modified. It is something discussed in the documentation to an extent, the details to be independently worked out.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. v139d Ceon uri mapping, how to generate uri mapping for bulk bulk-imported products?
    By mybiz9999 in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 8 Jan 2013, 06:52 AM
  2. CEON URI Mapping
    By jmkent in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 22 Nov 2012, 04:28 PM
  3. Ceon URI Mapping (SEO)
    By conor in forum All Other Contributions/Addons
    Replies: 2906
    Last Post: 9 Sep 2011, 08:31 AM
  4. Ceon URI Mapping v4
    By conor in forum All Other Contributions/Addons
    Replies: 110
    Last Post: 14 Aug 2011, 02:51 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