Results 1 to 10 of 2445

Hybrid View

  1. #1
    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

  2. #2
    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.

 

 

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