Totally Zenned
- Join Date:
- Apr 2010
- Posts:
- 900
- Plugin Contributions:
- 0
Ceon URI Mapping v4.x
Worked perfect, thanks!
Views: 451,968
Totally Zenned
Worked perfect, thanks!
Totally Zenned
Worked perfect, thanks!
Good to hear, that's the sort of post I'd like to see more often!
Totally Zenned
I have a zc155e with torvista's version of CEON URI.
Today I noticed that the .htaccess contains a reference to my renamed admin folder:
RewriteCond %{REQUEST_URI} !^/admin_renamed [NC]
This left me with some questions.
FIRST:
Can the .htaccess be sniffed out? Or is it readable only by my server?
SECOND:
Can I safely remove that "don't rewrite" reference altogether? I experimented with that, deleting it from my .htaccess entirely. There seem to be no problems whatsoever.
THIRD:
I found some code (haven't experimented with it yet) for denying access:
<FilesMatch "^.ht">
Order allow,deny
Deny from all</FilesMatch>Satisfy All
Would applying that code cause any problems?
Totally Zenned
Never mind, sorry!
Apache is configured by default to deny access to ht files.
Totally Zenned
Feznizzle:
I have a zc155e with torvista's version of CEON URI.
Today I noticed that the .htaccess contains a reference to my renamed admin folder:
Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/admin_renamed [NC]
This left me with some questions.
FIRST:
Can the .htaccess be sniffed out? Or is it readable only by my server?SECOND:
Can I safely remove that "don't rewrite" reference altogether? I experimented with that, deleting it from my .htaccess entirely. There seem to be no problems whatsoever.THIRD:
I found some code (haven't experimented with it yet) for denying access:Would applying that code cause any problems?
Feznizzle:
Never mind, sorry!
Apache is configured by default to deny access to ht files.
Glad you figured 1 and 3 out on your own and posted back.
Regarding 2, it somewhat depends on how the directory is called/used. Basically though without an exclusion of the directory, then if that directory is added to the url, it will attempt to be rewritten. If there is no rewrite for that portion of the path then the response will be as if a page is not found, even though the contents may be present.
As the installation test diagnostics indicate, there are various ways that the htaccess can be written to perform the identification of the need to rewrite or to go directly to a folder/file. The specific method implemented prevents access to a new folder that is added to the server by way of the web browser if it is not added to the exclusion list. Another method of implementation is to evaluate the browser path, determine if the path identifies a folder or file, if it does then use that path otherwise send it to be processed by ZC which would perform the rewriting.
Totally Zenned
Thanks for the additional insight!
Suspended
We need to update the htaccess file to allow renewal of certificates. The problem is with the .well-known directory and rewrite rules in the htaccess. If I try to renew with the htaccess file I get a server timeout error. If I rename or delete the htaccess file certificate renewal is possible.
Totally Zenned
pixelpadre:
We need to update the htaccess file to allow renewal of certificates. The problem is with the .well-known directory and rewrite rules in the htaccess. If I try to renew with the htaccess file I get a server timeout error. If I rename or delete the htaccess file certificate renewal is possible.
So what are the contents of your .htaccess file? What is the suggestion for the contents as made by the Ceon URI Mapping installation software as run on your current arrangement?
Suspended
Geez you really know how to lead a fella around by his nose.............
Suspended
After creating well-known directory, it was necessary to login to admin and re run ceon to generate a new htaccess file. Thanks MC.
Totally Zenned
pixelpadre:
After creating well-known directory, it was necessary to login to admin and re run ceon to generate a new htaccess file. Thanks MC.
Glad to help, sorry to have been so direct about it. (previous more discussion based direction apparently didn't get the point across as well.)
Suspended
I am getting a 404 error again on a different site. Last time the problem was not uploading earlier files. This time I cant figure it out. I am not seeing any error on the server or ZC log files despite getting 404 error. Where can I find the error files?
Totally Zenned
pixelpadre:
I am getting a 404 error again on a different site. Last time the problem was not uploading earlier files. This time I cant figure it out. I am not seeing any error on the server or ZC log files despite getting 404 error. Where can I find the error files?
The server logs would contain the error. Ability to access those is dependent on the host's permissions to the hosted account. Typical problems relate to things like a direct issue with the .htaccess that is in the root of the domain name, an .htaccess "above" that, or if the store is in a sub-directory off of the domain's path and the sub-directory also has an .htaccess.
If direct access to the server logs is not available, then the host should be able to identify the pertinent information.
Suspended
I am using centos 7 and have complete control over the server.
New Zenner
hello
I am using Ceon Uri last version downloaded today and i have a problem with the reviews. the url seems fine but don't work :
ex : "https://www.ios.fr/index.php?main_page=reviews" give me all the reviews with their url, here no problem but when i want to go to a specific review, the url like https://www.ios.fr/cours-gestion/support-de-cours-sage-paie-i7/review?reviews_id=45" doesn't work.
https://www.ios.fr/cours-gestion/support-de-cours-sage-paie-i7 is ok
https://www.ios.fr/cours-gestion/support-de-cours-sage-paie-i7/review is ok
https://www.ios.fr/cours-gestion/support-de-cours-sage-paie-i7/review?reviews_id=45 is not ok bur the review_id "45" is fine
The check of ceon is ok. I try to disable "automanage reviews page" without success.
Somebody has an idea ?
Totally Zenned
bilbaxo:
hello
I am using Ceon Uri last version downloaded today and i have a problem with the reviews. the url seems fine but don't work :
ex : "https://www.ios.fr/index.php?main_page=reviews" give me all the reviews with their url, here no problem but when i want to go to a specific review, the url like https://www.ios.fr/cours-gestion/support-de-cours-sage-paie-i7/review?reviews_id=45" doesn't work.
https://www.ios.fr/cours-gestion/support-de-cours-sage-paie-i7 is ok
https://www.ios.fr/cours-gestion/support-de-cours-sage-paie-i7/review is ok
https://www.ios.fr/cours-gestion/support-de-cours-sage-paie-i7/review?reviews_id=45 is not ok bur the review_id "45" is fine
The check of ceon is ok. I try to disable "automanage reviews page" without success.
Somebody has an idea ?
When identifying "doesn't work", it helps to explain what that means, what is happening, what "doesn't work", etc. Or something more specific.
I attempted to access: https://www.ios.fr/cours-gestion/support-de-cours-sage-paie-i7/review?reviews_id=45
And was presented with an error message: WARNING: An Error occurred, please refresh the page and try again.
When such a message occurs (which may not be related to this plugin), suggest reading the following FAQ: https://www.zen-cart.com/content.php?311-warning-an-error-occurred-please-refresh-the-page-and-try-again
Further, to identify if it is related to this plugin or not would be to disable it and try with a standard dynamic link and if that doesn't resolve it to attempt with the associated .htaccess rules removed or the file removed.
New Zenner
good idea !
And yes I have the same problem with ceon desactivated and the htaccess without the ceon lines.
So it is zencart and not ceon but i just don't see the problem.
I have no access to the logs directory (too much files ?)
Totally Zenned
bilbaxo:
good idea !
And yes I have the same problem with ceon desactivated and the htaccess without the ceon lines.
So it is zencart and not ceon but i just don't see the problem.
I have no access to the logs directory (too much files ?)
Access to the logs directory can depend on the method of trying to reach the directory. I have seen some web browser based ftp programs that will "hide" the logs directory because it is named logs, if it is that you can see the directory, but are unable to see a list of files within it (takes too long to load), you could rename it, create a new one, upload the files that are in a default version of ZC (.htaccess and associated index file, etc..) and then attempt the operation again. If the previous one had too many logs in it, then it may fill up fast again. Start with the most recent log file/error, try to eliminate that then continue until new log files are not created for the operation that you are trying to perform.
There are a number of ways to address, but I would suggest starting a new thread or building on one that is directly related to the specific issue found/identified causing the additional log/errors. (or as necessary to troubleshoot why you are unable to access the logs directory). In either case, while this turned out to be a good starting point for your particular issue, it is not caused by Ceon URI Mapping and therefore should be addressed in a more appropriate location. :)
Zen Follower
Hello - I've used Magic SEO urls for years... I'm planning to make the switch to CEON (mainly because Magic doesn't work with SitemapXML) and wanted to know if you had any advise before I begin. Like - should I uninstall Magic after installing CEON, because how else would my current url's get indexed and mapped? (I hope my terminology is correct...) And yet, it seems like there could be problems if I have two re-write programs running at the same time, however brief.
Any other advice would be greatly appreciated!
I'm currently on ZenCart vs 1.5.5e - having upgraded several times since I started with 1.3.6 in 2006
Thanks a million in advance.
Totally Zenned
Three Sisters:
Hello - I've used Magic SEO urls for years... I'm planning to make the switch to CEON (mainly because Magic doesn't work with SitemapXML) and wanted to know if you had any advise before I begin. Like - should I uninstall Magic after installing CEON, because how else would my current url's get indexed and mapped? (I hope my terminology is correct...) And yet, it seems like there could be problems if I have two re-write programs running at the same time, however brief.
Any other advice would be greatly appreciated!
I'm currently on ZenCart vs 1.5.5e - having upgraded several times since I started with 1.3.6 in 2006
Thanks a million in advance.
To maintain the links that you have currently, you will want to gather the existing links as provided by Magic SEO before final transition to using Ceon URI Mapping. The software is written generally to support being installed (but inactive) along another URI mapper, but only one should be active at any one time. Should be possible to remove/disable the other and enable Ceon URI Mapping and continue moving forward without issue, though suggested to test (practice) that on a development location.
One way to get most if not all of the URIs is to use Easy Populate V4 to export and to include the URIs in the export (admin setting). As the export file is created the store side URI will be generated/collected as would be displayed on the store front and that information can then be used to populate the Ceon URI Mapping database table. Then if you wish to change the URIs away from the old style, the old URIs will remain reachable with the new URI taking its place.
Another tip, if you plan on building your database outside of the live store, then it is suggested that your temporary/development store be reached by using a sub-domain with the store setup in the same directory (or lack of) as intended for your live store. (ie. domain/store === subdomain/store) That way the database table can be transferred/used without edit.
Fields marked required must be completed.
Tell staff why this post should be reviewed.