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.