Problem with path

Author Message

Salvatore Guarino

Thursday 29 September 2005 12:03:21 am

I've installed eZ publish on two server using the wizard installation.

in the first case paths are like this:

http://www.mysite.org/index.php/en/weblog

in the second case paths are like this:

http://www.mysite.org/index.php?/en/weblog

The only difference is the question mark: "?".

In which ini file of eZ publish can I modify to force the use of question mark?("?")

Łukasz Serwatka

Thursday 29 September 2005 12:32:14 am

Slavatore, eZ publish detected PHP in CGI mode, so add automatically to your path question mark (?). Reason behind this is that CGI doesn't understand accept-path-info (index/php/en/weblog). I suggest to install PHP as Apache module (mod_php). This will give you also better performance.

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

Salvatore Guarino

Thursday 29 September 2005 1:31:19 am

Hi Luke,

the problem is that I have installed eZpublish on a server where I cannot edit configuration... On this server doesn't work without question mark and I want to force eZpublish to use it...

Łukasz Serwatka

Thursday 29 September 2005 1:43:26 am

Clear all cache, that should help. Clear var/cache and var/(site)/cache dirs (do not remove storage dir).

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

George Michaelides

Thursday 29 September 2005 1:50:58 am

I have this extact same problem and I believe it breaks the OE when trying to browse for an object.

I don't think the cache deletion will cure this (tried it already) as the ? appears when you run the installer for the first time.

www.jegodesigns.com
www.jegodesigns.eu

Łukasz Serwatka

Thursday 29 September 2005 1:59:02 am

George, Salvatore wants to force eZpublish to use (?) in URL. After all cache clear eZ publish should add ? to all URLS. That will fix his problem.

http://ez.no/community/forum/install_configuration/kernel_20_and_no_access_to_subpages_or_administration_module

http://ez.no/products/ez_publish_cms/documentation/configuration/configuration/ez_publish_running_on_a_cgi_version_of_php

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

Salvatore Guarino

Thursday 29 September 2005 2:06:52 am

Thank you Luke!
You are the best! Now the site works!

Thank you very much!

Łukasz Serwatka

Thursday 29 September 2005 2:08:35 am

Perfect! Good to see ;) You are welcome ;)

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

George Michaelides

Thursday 29 September 2005 2:09:17 am

apologies guys - doing too many things at once

my problem is the opposite - want the ? removed.

I'll search the forums.

www.jegodesigns.com
www.jegodesigns.eu

Łukasz Serwatka

Thursday 29 September 2005 2:11:51 am

George, than you will have to change API of your PHP, install it as Apache module (mod_php), more you can find in PHP documentation or try one of hosting partners:
http://ez.no/partner/worldwide_ez_publish_partners/(profile)/hosting

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

Łukasz Serwatka

Thursday 29 September 2005 2:31:37 am

Note: After PHP installation as Apache module (mod_php), just clear all cache, and ? in your URL should gone.

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

George Michaelides

Thursday 29 September 2005 3:21:17 am

Lukasz

thanks for this - I'll check with my hosting provider whether it's installed as mod_php or not.

To be honest, the ? doesn't bother me. If it's normal behaviour under the installed PHP type then that's fine; I just thought that something went wrong with the install.

www.jegodesigns.com
www.jegodesigns.eu

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.