Current site located at: index.php?/mydesign/ instead of index.php/mydesign

Author Message

Clemens T

Tuesday 01 March 2005 12:41:51 pm

Hey all,
I have a problem. Currently hosting my test-ezPublish-site on a windows machine at home and that works fine. However, when I try to move it to my linux server, I keep having some difficulties with the urls:

Instead of my index page being:
http://mysite.com/ezpublish/index.php [local situation/win machine]
it's:
http://mysite.com/ezpublish/index.php? [web situation/linux machine]

problem is that all my sections become like this:
http://mysite.com/ezpublish/index.php?/mydesign/mysection/

instead of:
http://mysite.com/ezpublish/index.php/mydesign/mysection/

-> this last url doesn't work and keeps redirecting me to the front page of ezPublish.

Which messes up some links.

I just want to get a clean url the '?' after index.php... like it should be :S.
Any thoughts?
Thanks,
Clemens Timmermans

Łukasz Serwatka

Wednesday 02 March 2005 5:23:20 am

Hi Clemens,

Your URLs are changed because your PHP is probadly runnig in CGI mode.
More info you can find here
http://ez.no/ez_publish/documentation/configuration/configuration/ez_publish_running_on_a_cgi_version_of_php

You can mix with URL using rewrite rules.
http://ez.no/ez_publish/documentation/configuration/security/non_virtualhost

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Clemens T

Monday 07 March 2005 5:11:12 am

Thanks a lot, that was what I was looking for :)!
Keep up the good work.

Łukasz Serwatka

Monday 07 March 2005 5:19:56 am

You're welcome! ;-) It`s good to see that you find solution.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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

Main resources:

Total runtime0.0148 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 589.6484152.6875
Module start 'layout' 0.00540.0029 742.335939.5234
Module start 'content' 0.00830.0047 781.859493.4297
Module end 'content' 0.01310.0018 875.289134.3047
Script end 0.0148  909.5938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002415.8368140.0002
Check MTime0.00106.8889140.0001
Mysql Total
Database connection0.00085.186310.0008
Mysqli_queries0.002818.532030.0009
Looping result0.00000.080310.0000
Template Total0.001510.010.0015
Template load0.00085.489910.0008
Template processing0.00074.521410.0007
Override
Cache load0.00064.021810.0006
General
dbfile0.00095.910780.0001
String conversion0.00000.059440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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