Page 201 of 245 FirstFirst ... 101151191199200201202203211 ... LastLast
Results 2,001 to 2,010 of 2445
  1. #2001
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by mc12345678 View Post
    So does the cut and paste include the foldername of the problem program and is the end of that inclusion have a slash or is it just the foldername like presented above?

    Ie is it:
    Code:
    RewriteCond %{REQUEST_URI} !^/phpmyadmin [NC]
    Or like this:
    Code:
    RewriteCond %{REQUEST_URI} !^/phpmyadmin/ [NC]
    YUP. you nailed it.

  2. #2002
    Join Date
    Mar 2016
    Location
    Long Island
    Posts
    16
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    I've been struggling for the last couple of hours trying to solve my 404 page error after generating a URI Mapping.
    I'm using hostgator and ZenCart 1.5.5a, my website is augiespanoras(dot)com I didn't have an .htcaccess file in my root directory so I created one. This is all I have in it:
    Code:
    ## BEGIN CEON URI MAPPING REWRITE RULE
    
    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} !^/admin_augie [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^/editors/ [NC]
    # Don't rewrite logs directory
    RewriteCond %{REQUEST_URI} !^/logs/ [NC]
    # Don't rewrite magicthumb directory
    RewriteCond %{REQUEST_URI} !^/magicthumb/ [NC]
    # Don't rewrite zc_install_x directory
    RewriteCond %{REQUEST_URI} !^/zc_install_x/ [NC]
    # Handle all other URIs using Zen Cart (its index.php)
    RewriteRule .* index.php [QSA,L]
    
    ## END CEON URI MAPPING REWRITE RULE

  3. #2003
    Join Date
    Jul 2009
    Posts
    402
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by augiespanoramas View Post
    I've been struggling for the last couple of hours trying to solve my 404 page error after generating a URI Mapping.
    I'm using hostgator and ZenCart 1.5.5a, my website is augiespanoras(dot)com I didn't have an .htcaccess file in my root directory so I created one. This is all I have in it:
    Code:
    ## BEGIN CEON URI MAPPING REWRITE RULE
    
    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} !^/xxxxxxx [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^/editors/ [NC]
    # Don't rewrite logs directory
    RewriteCond %{REQUEST_URI} !^/logs/ [NC]
    # Don't rewrite magicthumb directory
    RewriteCond %{REQUEST_URI} !^/magicthumb/ [NC]
    # Don't rewrite zc_install_x directory
    RewriteCond %{REQUEST_URI} !^/zc_install_x/ [NC]
    # Handle all other URIs using Zen Cart (its index.php)
    RewriteRule .* index.php [QSA,L]
    
    ## END CEON URI MAPPING REWRITE RULE
    YOU ARE AT RISK! You have declared your admin folder and /zc_install_x as existing.
    Anyone could destroy your site in seconds.
    Change /zc_install_x to something else and change the name of your admin folder immediately.
    ciao

  4. #2004
    Join Date
    Sep 2006
    Posts
    163
    Plugin Contributions
    1

    Default Re: Ceon URI Mapping v4.x

    Well ... don't change the name of the zc_install directory, delete it immediately. It should not be on the server under any name at all.

    As for changing the name of the admin folder again, yes that is a good idea, but security by obscurity is not security at all.

    There should be no way in even if the admin folder name is public. Changing it just reduces the volume of hacking attempts.

  5. #2005
    Join Date
    Jun 2016
    Posts
    6
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by hairydog View Post
    Well ... don't change the name of the zc_install directory, delete it immediately. It should not be on the server under any name at all.

    As for changing the name of the admin folder again, yes that is a good idea, but security by obscurity is not security at all.

    There should be no way in even if the admin folder name is public. Changing it just reduces the volume of hacking attempts.
    Thanks Enzo and Hairydog, I changed my admin folder name, and deleted the install folder. So what else am I doing wrong? Haha. I turned off the rewrite instructions for now so I can use my site without getting 404 errors.

  6. #2006
    Join Date
    Jan 2013
    Posts
    113
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    I have been trying to install this addon on a clean Zencart install 1.5.5a... for some reason, when I am done, I can't log in to the store side of the site. I can still access admin without any problems. On the store side, I can view everything, add items to my cart but when I try to log in, it won't let me. I removed the addon completely and I could log in again. I figured I might have missed a step and redid everything again... nope still not working and I am not getting an error log on this and the logs folder is writeable. Any thoughts?

  7. #2007
    Join Date
    Jan 2013
    Posts
    113
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    I've since found that if I remove the file includes/init_includes/overrides/init_sessions.php, I can once again log in to the store side. However, I get this error when I do the installation check

    A file must have a modification made to it, to work with Ceon URI Mapping, but the file does not exist at all!

    The path to the file is /home/myembro/public_html/test/includes/init_includes/overrides/init_sessions.php
    •Add the missing file and make sure you apply the modifications required for Ceon URI Mapping.
    which is obviously normal... I am still trying to figure it out but this is the third time I've installed this addon on fresh stores and never had this happen. Any input would be greatly appreciated
    Last edited by marieAA; 26 Jul 2016 at 03:32 AM. Reason: finished too quick

  8. #2008
    Join Date
    Jan 2013
    Posts
    113
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    This is the bit of code that the addon requires but also makes it so that I can no longer log in...

    Code:
    // BEGIN CEON URI MAPPING 1 of 1
    // Static URIs are relative to the site's root, so cookie should be set for the root
    $path = '/';
    // END CEON URI MAPPING 1 of 1
    It is the exact same code that I have on my previous site and it worked fine there but not on this site. The only difference between the 2 sites is that the older one is running on Zencart 1.5.1

    Sorry don't mean to post this much but trying to supply as much information as possible. Thanks

  9. #2009
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,585
    Plugin Contributions
    30

    Default Re: Ceon URI Mapping v4.x

    I also found the same issue when updating the URI mapping files for ZC155 and php7, but only on my local server and not 100% of the time.
    I didn't get to the bottom of it, got sidelined by other things.
    It's not implemented on a real server yet to be able to take it further.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  10. #2010
    Join Date
    Jan 2013
    Posts
    113
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by torvista View Post
    I also found the same issue when updating the URI mapping files for ZC155 and php7, but only on my local server and not 100% of the time.
    I didn't get to the bottom of it, got sidelined by other things.
    It's not implemented on a real server yet to be able to take it further.
    in my case, the problem is there in IE only it seems. When I try on Firefox or Google Chrome, it works so far but not in IE

 

 

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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR