<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to support-requests</title><link href="https://sourceforge.net/p/sidb/support-requests/" rel="alternate"/><link href="https://sourceforge.net/p/sidb/support-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/sidb/support-requests/</id><updated>2001-09-24T04:39:57Z</updated><subtitle>Recent changes to support-requests</subtitle><entry><title>installation problems</title><link href="https://sourceforge.net/p/sidb/support-requests/1/" rel="alternate"/><published>2001-09-24T04:39:57Z</published><updated>2001-09-24T04:39:57Z</updated><author><name>Nico Stuurman</name><uri>https://sourceforge.net/u/nicost/</uri></author><id>https://sourceforge.net66cd45311ebed3f5bf4975d663a4ab7b23049db6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This little chat with Gerald Weber might be of use to&lt;br /&gt;
others.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;Gerald Weber wrote:&lt;/p&gt;
&lt;p&gt;&amp;amp;gt; Some informations/questions about the installation&lt;br /&gt;
and use which&lt;br /&gt;
&amp;amp;gt; you may find interesting.&lt;br /&gt;
&amp;amp;gt;&lt;br /&gt;
&amp;amp;gt; I installed SIDB on a Conectiva Linux 7.0, kernel&lt;br /&gt;
2.4.&lt;br /&gt;
&amp;amp;gt; Postgre version is 7.1&lt;br /&gt;
&amp;amp;gt;&lt;br /&gt;
&amp;amp;gt; First I had to modify somes files in the sidb&lt;br /&gt;
directory changing&lt;br /&gt;
&amp;amp;gt; the path /usr/local/httpd/htdocs to&lt;br /&gt;
/home/httpd/html and change&lt;br /&gt;
&amp;amp;gt; the ownership to nobody.nobody&lt;/p&gt;
&lt;p&gt;If you change the ownership of the whole directory&lt;br /&gt;
(chown -R nobody *) to the webdaemon (in your case,&lt;br /&gt;
nobody) sidb should set those paths right itself (while&lt;br /&gt;
running the script 'install.php'.&lt;/p&gt;
&lt;p&gt;&amp;amp;gt; Then I created a directory&lt;br /&gt;
/home/sidb-images/archive and&lt;br /&gt;
&amp;amp;gt; /home/sidb-images/thumbnails&lt;br /&gt;
&amp;amp;gt; and set the owner to nobody.nobody whith owner and&lt;br /&gt;
group permissions to&lt;br /&gt;
&amp;amp;gt; +rwx&lt;br /&gt;
&amp;amp;gt; I have set the paths in the install.php&lt;br /&gt;
accordingly, but the install&lt;br /&gt;
&amp;amp;gt; actually&lt;br /&gt;
&amp;amp;gt; installed another archive and thumpnails below each&lt;br /&gt;
directory.&lt;br /&gt;
&amp;amp;gt; I ended up with /home/sidb-images/archive/archive&lt;br /&gt;
and&lt;br /&gt;
&amp;amp;gt; /home/sidb-images/thumbnails/thumbnails. This was&lt;br /&gt;
easy to correct, but&lt;br /&gt;
&amp;amp;gt; probably&lt;br /&gt;
&amp;amp;gt; there need to be some correction to install.php.&lt;br /&gt;
Whithout this correction&lt;br /&gt;
&amp;amp;gt; I&lt;br /&gt;
&amp;amp;gt; was not able to see the thumbnails.&lt;/p&gt;
&lt;p&gt;That sound like a bug in the install.php script. &lt;br /&gt;
I'll look into it.&lt;/p&gt;
&lt;p&gt;&amp;amp;gt; Now for a question: are the images in the Gallery&lt;br /&gt;
always regenerated?&lt;/p&gt;
&lt;p&gt;Yes.  Since you can change their size, they are&lt;br /&gt;
generated on the fly by the server.  If you request the&lt;br /&gt;
same size several times, they might be cached by your&lt;br /&gt;
browser (or anything in between your browser and&lt;br /&gt;
server).  I guess that if you have huge images, it make&lt;br /&gt;
take a while to generate them..&lt;/p&gt;
&lt;p&gt;&amp;amp;gt; During the process of adding users I was not sure&lt;br /&gt;
if the user login was&lt;br /&gt;
&amp;amp;gt; an existing linux user or if it could be a&lt;br /&gt;
different, no exsiting user.&lt;br /&gt;
&amp;amp;gt; My doubts arouse because to the attempt to generate&lt;br /&gt;
the up/download&lt;br /&gt;
&amp;amp;gt; directories in /home/user.&lt;/p&gt;
&lt;p&gt;Either is possible.  However, to be able to 'move'&lt;br /&gt;
files from the up/download directory in user's home&lt;br /&gt;
directory, he/she should be a valid user on the system&lt;br /&gt;
(the login name in SIDB shoudl be identical to the&lt;br /&gt;
user's home directory name).  If the user is not a&lt;br /&gt;
valid user on teh system, he/she can only&lt;br /&gt;
upload/download through html.  I am thinking about&lt;br /&gt;
adding authentication through LDAP.&lt;/p&gt;
&lt;p&gt;&amp;amp;gt; Also it seems that a user can belong only to one&lt;br /&gt;
group, can this be&lt;br /&gt;
&amp;amp;gt; modified?&lt;/p&gt;
&lt;p&gt;True. Regretfully, that is how it has been set&lt;br /&gt;
uup,and it will be quite a bit of work to change that. &lt;br /&gt;
You can kind of get around it by making a user an &lt;br /&gt;
'auditor' in another group so that he/sh can see all&lt;br /&gt;
the images that belong to that group on top of the ones&lt;br /&gt;
that belong to his/her own group.&lt;/p&gt;
&lt;p&gt;&amp;amp;gt; Finally I have troubles with the logout process.&lt;br /&gt;
When I try to logout I&lt;br /&gt;
&amp;amp;gt; get a&lt;br /&gt;
&amp;amp;gt; pop-up windows asking for authentication. Even if I&lt;br /&gt;
provide a valid&lt;br /&gt;
&amp;amp;gt; username/password&lt;br /&gt;
&amp;amp;gt; I get an error message. I can only get out by&lt;br /&gt;
pressing cancel during the&lt;br /&gt;
&amp;amp;gt; authentication&lt;br /&gt;
&amp;amp;gt; process. However, if I try to login immediately&lt;br /&gt;
again I am not asked for&lt;br /&gt;
&amp;amp;gt; authentication.&lt;/p&gt;
&lt;p&gt;This is a general problem with the http&lt;br /&gt;
authentification method that is being used.  The&lt;br /&gt;
problem is that to logout you have to 'fool' your&lt;br /&gt;
browser. Every time you request a page the browsers&lt;br /&gt;
send the username/password.  When you press logout, the&lt;br /&gt;
server tells the browser that the username/password&lt;br /&gt;
were wrong (the server is lying!).  Most browsers will&lt;br /&gt;
remember the username/password however, so unless you&lt;br /&gt;
enter a 'wrong' username/password to fool&lt;br /&gt;
your browser the browser will be able to login again. &lt;br /&gt;
I know, it is ugly, but a lot of work to change it.&lt;/p&gt;
&lt;p&gt;&amp;amp;gt; When I used &amp;amp;quot;save all N images&amp;amp;quot; I received the&lt;br /&gt;
message:&lt;br /&gt;
&amp;amp;gt; Warning:  Missing argument 2 for savesearchresult()&lt;br /&gt;
&amp;amp;gt;  in /home/httpd/html/sidb/search.php on line 342&lt;/p&gt;
&lt;p&gt;A buglet, I'll look into it.  You can switch off&lt;br /&gt;
warnings in your php.ini file.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>