[greenstone-users] Problem accessing graphics

From John Rose
DateMon Aug 30 22:56:34 2010
Subject [greenstone-users] Problem accessing graphics
In-Reply-To (4C7B0F60-1010907-cs-waikato-ac-nz)
Hi Katherine,

I had taken taken exactly these bits for the ScriptAlias and Alias
parameters (they are very similar but not identical to what is in the
Installer's Manual) and I still did not get the graphics displaying with
my own preinstalled Apache (which had been working fine with 2.82).

It was only by adding the change to DocumentRoot (suggested and tested
by ARD Prasad in Bangalore) that I got the web access to work.

Thanks and best regards, John

On 30/08/2010 03:54, Katherine Don wrote:
> Hi John
>
> I don't think that changing DocumentRoot is necessary. With our bundled
> apache, we have the DocumentRoot pointing to a subfolder inside where
> apache is installed.
> Alias is used to let apache access the greenstone images which are
> located outside DocumentRoot.
>
> The customised bits for Greenstone are just the ScriptAlias and Alias
> bits at the end of the bundled apache's httpd.conf,
> eg
>
> ScriptAlias /greenstone/cgi-bin
> "/research/kjdon/home/z3950/greenstone2/cgi-bi
> n"
> <Directory "/research/kjdon/home/z3950/greenstone2/cgi-bin">
> Options None
> AllowOverride None
> Order allow,deny
> Allow from all
>
> </Directory>
>
> Alias /greenstone "/research/kjdon/home/z3950/greenstone2"
> <Directory "/research/kjdon/home/z3950/greenstone2">
> Options Indexes MultiViews FollowSymLinks
> AllowOverride None
> Order allow,deny
> Allow from all
> </Directory>
>
> I think that if you have a plain apache set up and working, and you add
> the appropriate sections as above, then it should work without changing
> DocumentRoot.
>
> Perhaps you have some different/custom settings in your own apache's
> conf file?
>
> Regards,
> Katherine
>
> John Rose wrote:
>> Hello,
>>
>> Using Greenstone 2.82 under Windows Vista I had no problem accessing
>> Greenstone through my existing Apache server on the same machine
>> (using the httpd.conf parameters in the Intaller's Manual). However
>> when I installed Greenstone 2.83 in my home directory and removed the
>> apache-hppd directory for the bundled Apache server, although I could
>> access Greenstone via Apache the graphics did not show (even when I
>> used the httpd.conf parameters from the bundled Apache, which are
>> nearly the same as in the Manual).
>>
>> This problem can be solved by replacing the line:
>>
>> DocumentRoot "C:/Program Files/Apache Software
>> Foundation/Apache2.2/htdocs"
>>
>> by
>>
>> DocumentRoot C:/Users/John [my Windows home directory]
>>
>> That is, even though I have an index.html file in the Apache htdocs
>> directory, the default httpd.conf paramaters do not work.
>>
>> I suggest that this problem be clarified in version 2.84, either by
>> changing the default Apache parameters and/or the user documentation.
>>
>> Best regards, John
>>
>
>

--

John B. Rose
1 Bis, Rue des Ch□tre-Sacs
92310 S□vres
France
Email: <john.rose1@free.fr>
(in case of bounce then send to
<johnrose@alumni.caltech.edu>)