Forums / Install & configuration / 3.5: Meaning of set up of "User path"

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

eZ debug

Timing: Jan 19 2025 03:30:04
Script start
Timing: Jan 19 2025 03:30:04
Module start 'content'
Timing: Jan 19 2025 03:30:05
Module end 'content'
Timing: Jan 19 2025 03:30:05
Script end

Main resources:

Total runtime0.9763 sec
Peak memory usage4,096.0000 KB
Database Queries202

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 589.0781180.8203
Module start 'content' 0.00700.7835 769.8984614.4297
Module end 'content' 0.79050.1857 1,384.3281337.3750
Script end 0.9762  1,721.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00450.4575210.0002
Check MTime0.00160.1620210.0001
Mysql Total
Database connection0.00080.082610.0008
Mysqli_queries0.852487.31252020.0042
Looping result0.00290.30192000.0000
Template Total0.939696.220.4698
Template load0.00220.223320.0011
Template processing0.937496.015320.4687
Template load and register function0.00010.013310.0001
states
state_id_array0.00110.110210.0011
state_identifier_array0.00090.093020.0005
Override
Cache load0.00210.2110510.0000
Sytem overhead
Fetch class attribute can translate value0.00120.123340.0003
Fetch class attribute name0.00150.152780.0002
XML
Image XML parsing0.01061.090140.0027
class_abstraction
Instantiating content class attribute0.00000.0031100.0000
General
dbfile0.01001.0220400.0002
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs