Problems logging in

Author Message

Trond Åge Kvalø

Friday 30 April 2004 3:23:40 am

Hi

I have a site that uses host access.

This site has login required. After entering my username and password, I'm redirected to http://www.example.com/index.php/ instead of http://www.example.com/index.php (notice the extra slash at the end).

How can I change this?

best regards
trondåge

How can I change this?

trondåge

Dominik Pich

Monday 03 May 2004 12:26:04 am

why? that what ez does - use the url for page navigation
Maybe you can hide the ez part?

Trond Åge Kvalø

Friday 07 May 2004 2:31:40 am

The reason why I want to do this is because when the extra slash is added, the image on the front page won't show.

The template code for the image is:

"><img src="{$node.object.data_map.bilde.content.original.url}" border="0"> 

The source code after I view the page is the same for both instances:

<img src="var/kompetanseportalen/storage/images-versioned/362/34-eng-GB/forside1.jpg" border="0">

Does anyone have a clue to what might be wrong?

best regards
trondåge

trondåge

Paul Forsyth

Friday 07 May 2004 2:50:20 am

Sounds like your vhost settings. What is your rewrite rule?

paul

--
http://www.visionwt.com

Trond Åge Kvalø

Friday 07 May 2004 3:45:15 am

Uhhmmm.... ok, you got me there. :-)

I'll find the rewrite rule in my apache config file, right? Or do ezPublish have a rewrite rule hidden somewhere in the .ini settings?

I've created a guest account so you can see this behaviour live:

URL: http://www.kompetanseportalen.no

-u guest -p guest

when you log in first time, all is well. But try to click the "logg inn" symbol (the key) to the left, then click the lowermost link in the next page, the one under "Innlogging for andre brukere", and log in again.

best regards
trondåge

trondåge

Paul Forsyth

Friday 07 May 2004 4:09:11 am

Have a read of these threads to see what to do:

http://ez.no/community/forum/install_configuration/howto_remove_indexphp_in_urls
http://ez.no/community/forum/setup_design/i_need_some_help_with_regular_expressions_apache_rewritrerule
http://ez.no/ez_publish/documentation/configuration/configuration/tips_tricks/exclude_uris_from_rewrite

paul

--
http://www.visionwt.com

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 19 2025 03:22:14
Script start
Timing: Jan 19 2025 03:22:14
Module start 'layout'
Timing: Jan 19 2025 03:22:14
Module start 'content'
Timing: Jan 19 2025 03:22:16
Module end 'content'
Timing: Jan 19 2025 03:22:16
Script end

Main resources:

Total runtime1.2408 sec
Peak memory usage4,096.0000 KB
Database Queries68

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 589.0547152.6094
Module start 'layout' 0.00580.0031 741.664139.4141
Module start 'content' 0.00881.2305 781.0781571.0703
Module end 'content' 1.23940.0014 1,352.148412.1875
Script end 1.2408  1,364.3359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2623160.0002
Check MTime0.00140.1095160.0001
Mysql Total
Database connection0.00100.078510.0010
Mysqli_queries1.180295.1135680.0174
Looping result0.00080.0609660.0000
Template Total1.208997.420.6044
Template load0.00190.155620.0010
Template processing1.207097.271120.6035
Template load and register function0.00020.015310.0002
states
state_id_array0.00120.100010.0012
state_identifier_array0.00100.080420.0005
Override
Cache load0.00170.1352440.0000
Sytem overhead
Fetch class attribute can translate value0.00090.071730.0003
Fetch class attribute name0.00150.118660.0002
XML
Image XML parsing0.00030.028030.0001
class_abstraction
Instantiating content class attribute0.00000.001260.0000
General
dbfile0.00060.0521100.0001
String conversion0.00000.000640.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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
14content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
7content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 31
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs