Zen Cart Logo
Forums / All Other Contributions/Addons / Ceon URI Mapping v4.x

Ceon URI Mapping v4.x

Views: 451,968

Results 2,181 to 2,200 of 2,454
23 Oct 2017, 9:47 PM
#2181
feznizzle avatar

feznizzle

Totally Zenned

Join Date:
Apr 2010
Posts:
900
Plugin Contributions:
0

Ceon URI Mapping v4.x

Worked perfect, thanks!

23 Oct 2017, 10:36 PM
#2182
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,866
Plugin Contributions:
7

Re: Ceon URI Mapping v4.x

Worked perfect, thanks!
Good to hear, that's the sort of post I'd like to see more often!

26 Oct 2017, 4:32 PM
#2183
feznizzle avatar

feznizzle

Totally Zenned

Join Date:
Apr 2010
Posts:
900
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

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:

<FilesMatch "^.ht">
Order allow,deny
Deny from all

Satisfy All
</FilesMatch>

Would applying that code cause any problems?

26 Oct 2017, 4:44 PM
#2184
feznizzle avatar

feznizzle

Totally Zenned

Join Date:
Apr 2010
Posts:
900
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Never mind, sorry!

Apache is configured by default to deny access to ht files.

26 Oct 2017, 5:29 PM
#2185
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

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.

26 Oct 2017, 6:21 PM
#2186
feznizzle avatar

feznizzle

Totally Zenned

Join Date:
Apr 2010
Posts:
900
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Thanks for the additional insight!

29 Oct 2017, 12:26 AM
#2187
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

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.

29 Oct 2017, 4:08 PM
#2188
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

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?

30 Oct 2017, 12:17 AM
#2189
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

Geez you really know how to lead a fella around by his nose.............

30 Oct 2017, 8:24 PM
#2190
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

After creating well-known directory, it was necessary to login to admin and re run ceon to generate a new htaccess file. Thanks MC.

30 Oct 2017, 11:24 PM
#2191
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

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.)

5 Nov 2017, 9:22 PM
#2192
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

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?

5 Nov 2017, 9:51 PM
#2193
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

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.

5 Nov 2017, 10:47 PM
#2194
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

I am using centos 7 and have complete control over the server.

7 Nov 2017, 2:24 PM
#2195
bilbaxo avatar

bilbaxo

New Zenner

Join Date:
Jul 2015
Posts:
24
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

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 ?

7 Nov 2017, 3:11 PM
#2196
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

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.

7 Nov 2017, 3:36 PM
#2197
bilbaxo avatar

bilbaxo

New Zenner

Join Date:
Jul 2015
Posts:
24
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

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 ?)

7 Nov 2017, 4:22 PM
#2198
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

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. :)

8 Dec 2017, 6:42 PM
#2199
three_sisters avatar

three_sisters

Zen Follower

Join Date:
Nov 2006
Location:
Indiana
Posts:
188
Plugin Contributions:
0

Re: Ceon URI Mapping v4.x

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.

8 Dec 2017, 8:41 PM
#2200
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Ceon URI Mapping v4.x

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.