Access methods + URL Translation

Author Message

Nguyen Quang Hung

Thursday 11 August 2005 2:21:14 am

I was set file "/settings/override/site.ini.append.php"

[SiteSettings]
DefaultAccess=corporate
...
[SiteAccessSettings]
MatchOrder=uri

But when my url is "http://localhost/supt/index.php/corporate"
Error : The page cannot be found
when i change like this :
"http://localhost/supt/index.php?corporate"
It was run.

How can i use url like "http://localhost/supt/index.php/corporate" ?

Please help me !
Thanks,

Ɓukasz Serwatka

Monday 15 August 2005 1:35:56 am

Hi,

Your PHP works in CGI mode, so eZ publish added ? to URLS. This is not recommend for eZ publish. I suggest switch to Apache module (mod_php). More info you can find in PHP manual.

http://www.php.net/manual/en/install.unix.php

See also:
http://ez.no/community/forum/install_configuration/problems_with_acceptpathinfo

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

Nguyen Quang Hung

Friday 19 August 2005 1:15:39 am

Thank Lukasz Serwatka,

It's true. My PHP works in CGI mode.
I'm running Win2k, Apache 2, PHP 4.3.9, MySql 4.1.7.
But i can not setup PHP runs in module mode.
I do like PHP setup guide but Apache can not startup.

# For PHP 4 do something like this:
LoadModule php4_module "c:/php/sapi/php4apache2.dll"
AddType application/x-httpd-php .php
# configure the path to php.ini
PHPIniDir "C:/php"

Do you have more advise ?
Thank,

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