Hi

I have an httpd.conf like this for what concerns icons
(this is default apache conf)


#    Alias /icons/ "c:/apback/icons/"

#    <Directory "c:/apback/icons">
#        Options Indexes MultiViews
#        AllowOverride None
#        Order allow,deny
#        Allow from all
#    </Directory>


later in the conf I have a perl section redefining the above :

[...]

push @Alias,  ['/icons/'=>"$MY::basePath/icons/"];

$Directory{$MY::basePath.'/icons'}={
Options=>'Indexes Multiviews',
AllowOverride=>'None',
Order=>'allow,deny',
Allow=>'from all'
};


$Location{"/icons/"}=
{
 SetHandler=>'default-handler',

};


the problem is that
if I do not comment out apache default conf section,
 handler is well reset to default handler but the alias
and directory directive are not overriden by the perl section

so icons are sought in default c:/apback/icons directory
instead of the special one indicated by $MYbasepath.


is it normal ?


thanks

pascal








Accédez au courrier électronique de La Poste : www.laposte.net ; 3615 LAPOSTENET (0,13 
€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)"



Reply via email to