Tuesday 13 May 2003 12:02:34 am
Hi all, Two or three days ago I posted a question concerning the URL problem under the title "URL Translation". By now I was not able to resolve my problem myself and the community seems to have forgotten my question.
However, my question is whether it is possible to install ezpublish on an Linux shared server in a subfolder? I installed ezpublish in a subfolder "ez" under the domain www.liber.de/ez/
Trying to access this address the folder "ez" is doubled and the file "index.php" is missing or deleted instead. So we have the follow situation: www.liber.de/ez/index.php/admin (for instance) is changed to www.liber.de/ez/ez/admin Does this have to do something with the file access.php
In this file is called the function "changeAccess($access)" from the file "lib/ezutils/classes/ezsys.php". This function seems to not work correct? Perhaps it is possible that anybody from ez team try to access my site and see, what is wrong!
..........
..........
function changeAccess( $access )
{
$ini =& eZINI::instance();
$name='';
if ( $access !== null ) $name = $access['name'];
if ( $name == '' )
{
$name = $ini->variable( 'SiteSettings', 'DefaultAccess' );
if ( accessDebugEnabled() )
eZDebug::writeDebug( "Using default site access '$name'", 'access.php' );
}
if ( $access['type'] == EZ_ACCESS_TYPE_URI )
{
include_once( 'lib/ezutils/classes/ezsys.php' );
eZSys::addAccessPath( $name );
if ( accessDebugEnabled() )
eZDebug::writeDebug( "Adding '$name' to access path", 'access.php' );
}
if ( file_exists( "settings/siteaccess/$name" ) )
{
$ini->prependOverrideDir( "siteaccess/$name" );
$ini->loadCache();
eZUpdateDebugSettings();
if ( accessDebugEnabled() )
eZDebug::writeDebug( "Updated settings to use siteaccess '$name'", 'access.php' );
}
if ( $access === null )
{
return array( 'type' => EZ_ACCESS_TYPE_DEFAULT,
'name' => $name );
if ( accessDebugEnabled() )
eZDebug::writeDebug( "No access match, returning default '$name'", 'access.php' );
}
else
{
return $access;
}
}
...
---------------------- lib/ezutils/classes/ezsys.php
function addAccessPath( $path )
{
if ( !isset( $this ) or get_class( $this ) != "ezsys" )
$this =& eZSys::instance();
if ( !is_array( $path ) )
$path = array( $path );
$this->AccessPath = array_merge( $this->AccessPath, $path ); } ----------------------- Any help would be appreciated
Regards Claudius
|