Re: [greenstone-users] un-formatted text onlyhttp://localhost/gsdl/cgi-bin/library

From Michael Dewsnip
DateFri, 15 Sep 2006 13:22:21 +1200
Subject Re: [greenstone-users] un-formatted text onlyhttp://localhost/gsdl/cgi-bin/library
In-Reply-To (1158281740-6397-0-camel-develop-sytes-net)
Hi Colin,

Sounds like you're almost there. The problem is that Apache isn't
treating the "library" program as a CGI executable, so it's just
displaying it instead of running it.

Please check that you've added the "ScriptAlias" directive into the
Apache httpd.conf file (*before* the Greenstone Alias directive), and
restarted Apache. If it still doesn't work, send me (off-list) your
httpd.conf file and I'll have a look at it.

All the best,

Michael

Colin Murfett wrote:

>>Re-sent without attachment due to size restrictions
>>
>>
>>>Greetings all,
>>>
>>>I have a fresh Greenstone installation from the .bin file on:
>>>
>>>Fedora 5
>>>Greenstone Version: 2.70w.00
>>>Apache 2.2
>>>Firefox/1.5.0.6
>>>Sun java version "1.5.0_08"
>>>Perl, v5.8.8 built for x86_64-linux-thread-multi
>>>
>>>
>>>I can use the librarian and built the demo collection (though I have to
>>>do some chmod work as I can only build under root).
>>>
>>>When I open up http://localhost/gsdl/ I see the file tree,
>>>http://localhost/gsdl/cgi-bin/ tells me I have no permission and
>>>http://localhost/gsdl/cgi-bin/library gives me a page of un-formatted
>>>text as per attached screen shot (removed - just take my word for it!).
>>>
>>>So I looked at the encoding in Firefox and it is UTF8, then tried
>>>alternative encoding with no change.
>>>
>>>I can run /etc/greenstone/cgi-bin/library in terminal mode and no errors
>>>are given and no text is placed in the error.txt file. (I don't know
>>>what to do at the command line when it has run though).
>>>
>>>I am still dubious about my Java as I get script errors (mainly related
>>>to css) on some pages, but this maybe semantics. I don't think you need
>>>Java to browse do you?
>>>
>>>Any thoughts on what I can do next?
>>>
>>>Thank you!
>>>
>>>Colin
>>>
>>>
>>>
>>>
>>>
>
>
>_______________________________________________
>greenstone-users mailing list
>greenstone-users@list.scms.waikato.ac.nz
>https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>
>
>
>