3.5: Meaning of set up of "User path"

Author Message

Matthias Becker

Sunday 02 January 2005 9:16:27 am

Hello all!

User path (let's call it "plain") and Admin path ("plain_admin") are used to access the admin and user sections of the site - that's understood.
Interestingly when entering my website (http://www.mysite.com) as an anonymous/guest (not logged in user) and klicking on the links in it the URL gets attached by
/plain/ for instance. So as an example when I click (again as a not logged in user!) on the forum link the URL reads
http://www.mysite.com/plain/forum. When I type http://www.mysite.com/forum manually into the browser adress line the server forwards me into
the forum-area as well.

What I need is:

for anonymous/guest: http://www.mysite.com/forum/

for logged in-users: http://www.mysite.com/plain/forum/

and for admins: http://www.mysite.com/plain_admin/forum/

Hopefully I've explained my lack of understanding good enough ;-)

(One minor thing I would like to change is the missing ending slash:
Now the URL reads:
http://www.mysite.com/forum
and not (as prefered)
http://www.mysite.com/forum/
Can anyone help me with this as well?)

Thanks and best regards

Matthias

Matthias Becker

Thursday 06 January 2005 9:47:59 am

Hello everybody!

I'm still working on this issue, but unfortunately I can't find the problem.

From what I understand, this is handled in the site.ini (in the settings-folder: "override" and "siteaccess").

DefaultAccess=plain
SiteList[]=plain

but when I deleted one or even both it brings Kernel error 20 and jumps to the admin login page.

I need to get rid of the part /plain/ for not-logged in-users (say anonymous), but the URL still reads http://www.mysite.com/plain/forum/ :-(

Please help

Thanks and best regards from Munich

Matthias

Jan Borsodi

Friday 07 January 2005 12:22:17 am

eZ publish cannot handle this.
You will have to use the same <i>plain</i> prefix for both the logged-in and anonymous users.

Is there a special reason why you want to do it like this?

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Matthias Becker

Sunday 09 January 2005 12:37:39 pm

Thanks for your info! How did you manage it on the ez-Publish-Website then? When you click on "Company", "ezPublish", etc. the path read "http://www.ez.no/company" or "http://www.ez.no/ez_publish" without a "plain" in the middle. Did you manage this through the Webserver?

This really looks "nicer"

Thanks and kind regards

Matthias

Balazs Halasy

Monday 10 January 2005 12:10:20 am

Hi,

This is because ez.no is configured to determine which siteaccess to use based on the hostname instead of the URL. There are 3 ways to determine which siteaccess that should be used: host, url, port. If you use host, you can map "www.example.com" to your public siteaccess and "admin.example.com" to your admin siteaccess and thus the first part of the URL-path will disappear ('cause eZ publish will look at the hostname instead). Please have a look in the default site.ini file for more information about setting this up (look for "SiteAccessSettings").

Allman

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 22:14:39
Script start
Timing: Jan 18 2025 22:14:39
Module start 'layout'
Timing: Jan 18 2025 22:14:39
Module start 'content'
Timing: Jan 18 2025 22:14:39
Module end 'content'
Timing: Jan 18 2025 22:14:39
Script end

Main resources:

Total runtime0.6464 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 588.0391152.6406
Module start 'layout' 0.00530.0034 740.679739.4766
Module start 'content' 0.00870.6361 780.1563609.3359
Module end 'content' 0.64480.0016 1,389.492216.1406
Script end 0.6464  1,405.6328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.4685160.0002
Check MTime0.00130.2020160.0001
Mysql Total
Database connection0.00070.105810.0007
Mysqli_queries0.581990.0121650.0090
Looping result0.00070.1057630.0000
Template Total0.619495.820.3097
Template load0.00200.303220.0010
Template processing0.617595.518120.3087
Template load and register function0.00020.024010.0002
states
state_id_array0.00080.127910.0008
state_identifier_array0.00090.146320.0005
Override
Cache load0.00170.2603510.0000
Sytem overhead
Fetch class attribute can translate value0.00050.077030.0002
Fetch class attribute name0.00200.305480.0002
XML
Image XML parsing0.00320.496530.0011
class_abstraction
Instantiating content class attribute0.00000.0032100.0000
General
dbfile0.00270.4197290.0001
String conversion0.00000.001740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs