[Isis-users] ABCD and PHP5.3

spinaker spinaker at adinet.com.uy
Thu Nov 24 20:09:51 CET 2011


Egbert

The URL like    //myserver:9090    can be solved to a fancy name using DNS

Ernesto

El 24/11/2011 17:03, De Smet Egbert escribió:
> Using a virtualhost with e.g. port 9090 is a known solution, but I wonder why not it can be run in an 'alias' instead of virtual host.
> WIth an alias, e.g. baptized 'abcd', the URL would be e.g. http://myserver/abcd/site (for ABCD Site, working well), http://myserver/abcd/iah (for OPAC, but not working)  and http://myserver/abcd/ for the Central (working well), which seems more logical than something like http://myserver:9090/site .
>
> In other words : I like the alias approach of WAMP, but we can't use it with ABCD. That is be a problem not too difficult to solve I presume, but some more documentation about the iah.def.php URL definition would be welcome.
>
> Egbert de Smet
> Universiteit Antwerpen
> ________________________________________
> From: isis-users-bounces at iccisis.org [isis-users-bounces at iccisis.org] on behalf of spinaker [spinaker at adinet.com.uy]
> Sent: Thursday, November 24, 2011 7:49 PM
> To: isis-users at iccisis.org
> Subject: Re: [Isis-users] ABCD and PHP5.3
>
> We have installed ABCD under
> - default package as distributed by Bireme in XP, Windows 7  32&64 bits
> - xampp
> - wamp
> - AppServ
> - IIS 6
> - Ubuntu 10   32&64 bits
> without any problem
> As a recommendation we suggest to create a virtual hosts
> declare them in the file httpd.conf    near the bottom of the file
> # Various default settings
>    Include "conf/extra/httpd-vhosts-abcd.conf
> also declare the port in this file
>
> and then createn in the directory  extra below a corresponding file   httpd-vhosts-abcd.conf
> a virtual host declaration, something like
>
> <VirtualHost *:9090>
>       ServerAdmin serveradmin at bvs.br<mailto:serveradmin at bvs.br>
>       DocumentRoot "/ABCD/www/htdocs"
> <Directory "/ABCD/www/htdocs">
>      Options Indexes FollowSymLinks MultiViews
> </Directory>
>      DirectoryIndex index.htm index.php homepage.htm
>      ScriptAlias /cgi-bin/ "/ABCD/www/cgi-bin/"
> <Directory "/ABCD/www/cgi-bin/">
>      AllowOverride None
>         Options FollowSymLinks MultiViews
>         Order deny,allow
>      Allow from all
> </Directory>
> </VirtualHost>
>
> Ernesto Spinak
>
> El 24/11/2011 16:31, De Smet Egbert escribió:
>
> One more comment on running ABCD with WAMP :
> I was successfully of running it with an 'alias' (in the alias-folder), which is very much handy as it can co-exist with other websites under the Apache-server), but except for iah. There I get a complaint that cgi-bin/wxis cannot be found.
> The alias-file re-defines the DocumentRoot of Apache as well as the cgi-bin folder as ScriptAlias, referring to resp. /ABCD/www/htdocs and /ABCD/www/cgi-bin.
>
> If anybody succeeded in also running iah (OPAC) with a WAMP-alias, very much interested here...
>
> Egbert de Smet
> Universiteit Antwerpen
> ________________________________________
> From: isis-users-bounces at iccisis.org<mailto:isis-users-bounces at iccisis.org>  [isis-users-bounces at iccisis.org<mailto:isis-users-bounces at iccisis.org>] on behalf of De Smet Egbert [egbert.desmet at ua.ac.be<mailto:egbert.desmet at ua.ac.be>]
> Sent: Thursday, November 24, 2011 5:27 PM
> To: isis-users at iccisis.org<mailto:isis-users at iccisis.org>
> Subject: [Isis-users] ABCD and PHP5.3
>
> Dear colleagues,
>
> I have been experimenting with running ABCD in a PHP5.3 installation. PHP5.3 is out for quite some time now, comes by definition with any newer Linux installation and is e.g. also part of the newer WAMP-installations in Windows.Therefore we cannot afford sticking with PHP5.2 for long anymore, for sure.
> Anybody else has been testing this and if so, with which results ?
>
> I could give a more detailed report, but basically my finding is this : all of ABCD can work well, except the Site, where the metasearch (or the link to the filter-screen) results into empty screens due to a problem with the XML2tree library.
> Mostly I had to work on the following, testing with PHP5.3.5 (but more testing will be necessary) :
> - replace deprecated functions 'eregi' and 'split' by resp. mb_ereg() and 'explode()' in all scripts (mb_ereg however is also not accepted in all PHP-versions it seems... another example of the problematic PHP development).
> - some smaller problems about undefined 'set-offs' (unexisting indexed of arrays) had to be solved or avoided
> - php.ini settings are crucial and sensitive but can be transferred from the PHP5.2 one
> - only the Site page is still problematic by resulting in empty pages when clicking on 'Search' or 'Filter'. As far as we can see this is due to a different result from the XML-parser in XML2tree.
> This last problem is a major one as the Site is probably the most visible part of ABCD - to the end-users that is.
> Any help or suggestions on how to tackle that problem would be most welcome...
> It would be nice if we could prepare for a version 2.0 which is also PHP5.3 compatible !
>
>
> Egbert de Smet
> Universiteit Antwerpen
> _______________________________________________
> isis-users mailing list
> isis-users at iccisis.org<mailto:isis-users at iccisis.org>
> To manage your own subscription options go to: http://lists.iccisis.org/listinfo/isis-users
> Or contact Henk Rutten: hlrutten at xs4all.nl<mailto:hlrutten at xs4all.nl>
> _______________________________________________
> isis-users mailing list
> isis-users at iccisis.org<mailto:isis-users at iccisis.org>
> To manage your own subscription options go to: http://lists.iccisis.org/listinfo/isis-users
> Or contact Henk Rutten: hlrutten at xs4all.nl<mailto:hlrutten at xs4all.nl>
>
>
>
>
>
> --
>    .^.                                .^.
>    ( )                                ( )
>    ===                                ===
>   =[=]================================[=]=
>    | |  Ernesto Spinak                | |
>    | |  spinaker at adinet.com.uy<mailto:spinaker at adinet.com.uy>         | |
>    | |  Montevideo, Uruguay           | |
>    | |  tel/fax  (598) 2622-3352      | |
>    | |  celular  (598) 99612238      | |
>   =[=]================================[=]=
>    ===                                ===
>    ( )                                ( )
>     V                                  V
>
>


-- 
   .^.                                .^.
   ( )                                ( )
   ===                                ===
  =[=]================================[=]=
   | |  Ernesto Spinak                | |
   | |  spinaker at adinet.com.uy        | |
   | |  Montevideo, Uruguay           | |
   | |  tel/fax  (598) 2622-3352      | |
   | |  celular  (598) 99612238      | |
  =[=]================================[=]=
   ===                                ===
   ( )                                ( )
    V                                  V



More information about the isis-users mailing list