Forums / Setup & design / Url translation looses POST data

Url translation looses POST data

Author Message

Claudia Kosny

Friday 27 October 2006 1:34:57 am

Hi there

I have a new virtual URL forwarding that translates the url /bar to the existing virtual url /foo/bar.
Then I have tried to post some data to this url using a form with the action {'/bar'|ezurl()}. When I submit the form the page loads correctly but there are no post data. If I use {'/foo/bar'|ezurl()} as form action the post data are available just fine. The same happens if I use GET as form method.

Any tips or hints on how to solve this problem?

Claudia

Xavier Dutoit

Friday 27 October 2006 1:40:56 am

Hi,

Do it as a new mo_rewrite rule in apache if you can.

X+

http://www.sydesy.com

Claudia Kosny

Friday 27 October 2006 3:21:45 pm

Ah yes, I forgot that this is also possible.

Thanks

Claudia

eZ debug

Timing: Jan 20 2025 20:21:49
Script start
Timing: Jan 20 2025 20:21:49
Module start 'content'
Timing: Jan 20 2025 20:21:49
Module end 'content'
Timing: Jan 20 2025 20:21:50
Script end

Main resources:

Total runtime0.0951 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 587.7344180.8281
Module start 'content' 0.00570.0549 768.562593.8828
Module end 'content' 0.06050.0345 862.445370.7031
Script end 0.0951  933.1484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00212.1673120.0002
Check MTime0.00101.0401120.0001
Mysql Total
Database connection0.00080.807310.0008
Mysqli_queries0.00323.347040.0008
Looping result0.00000.017020.0000
Template Total0.033935.710.0339
Template load0.00090.898810.0009
Template processing0.033134.773210.0331
Override
Cache load0.00060.645410.0006
General
dbfile0.025026.2507100.0025
String conversion0.00000.006030.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs