Download
Permissions
Just in case, it's good to make sure that the Apache web server is able to read all the files in the directory where you have installed SVOCat.
In a typical linux installation of Apache, this means that you make all the files and folders readable by the www-data user and all the folders "executable" by that user. For instance, you can do:
> cd /var/www/catalogues/exfilters/
> sudo chmod -R ugo+r .
> sudo chmod ugo+x `find . -type d`
IMPORTANT! There are two special directories:
config/ and work/. Both directories must be writable by the web server. Change their permisions as needed so that it is allowed.
In a typical linux installation of Apache, this means that you, at least, make them (and their contents) owned by the www-data group and make them writable by that users in that group. For instance:
> cd /var/www/catalogues/exfilters/
> sudo chown -R carlos:www-data config/ work/
> sudo chmod g+rwx config/ work/
> sudo chmod -R g+rw config/ work/
The point is that when you configure the application with the properties of your catalogue, the files in config/ and work/ will be changed to save the new properties. And in order to be able to do that the web server must be able to write on them. If you are not able to do this, please contact your server administrator.
In general, it is a good idea to make everything owned by your user and the apache (www-data) group. At the end, if you take a look to the output of ls -la commands, you should see something similar to this:
> ls -la
drwxr-x--- carlos www-data .
drwxr-x--- carlos www-data admin/
-rw-r----- carlos www-data admin.php
drwxr-x--- carlos www-data availability/
drwxr-x--- carlos www-data capabilities/
drwxrwx--- carlos www-data config/
-rw-r----- carlos www-data credits.php
-rw-r----- carlos www-data cs.php
-rw-r----- carlos www-data dl.php
drwxr-x--- carlos www-data docs/
-rw-r----- carlos www-data documentation.php
drwxr-x--- carlos www-data files/
-rw-r----- carlos www-data home.php
drwxr-x--- carlos www-data includes/
-rw-r----- carlos www-data index.php
drwxr-x--- carlos www-data javascript/
-rw-r----- carlos www-data news.php
-rw-r----- carlos www-data other1.php
-rw-r----- carlos www-data search.php
-rw-r----- carlos www-data ssap.php
drwxr-x--- carlos www-data style/
-rw-r----- carlos www-data version.php
drwxrwx--- carlos www-data work/
|
> ls -la admin/
drwxr-x--- carlos www-data .
-rw-r----- carlos www-data check.php
-rw-r----- carlos www-data conf_admuser.php
-rw-r----- carlos www-data conf_dlink.php
-rw-r----- carlos www-data conf_fields.php
-rw-r----- carlos www-data conf_init.php
-rw-r----- carlos www-data conf_mysql.php
-rw-r----- carlos www-data conf_paths.php
-rw-r----- carlos www-data conf_phot.php
-rw-r----- carlos www-data conf_project.php
-rw-r----- carlos www-data conf_refs.php
-rw-r----- carlos www-data conf_registry.php
-rw-r----- carlos www-data conf_scripts.php
-rw-r----- carlos www-data conf_search.php
-rw-r----- carlos www-data conf_spectra.php
-rw-r----- carlos www-data conf_vo.php
-rw-r----- carlos www-data conf_web.php
-rw-r----- carlos www-data functions.php
-rw-r----- carlos www-data init_page.php
-rw-r----- carlos www-data login.php
|
> ls -la config/
drwxrwx--- carlos www-data .
-rw-rw---- carlos www-data config_admuser.php
-rw-rw---- carlos www-data config_dates.php
-rw-rw---- carlos www-data config_dlink.php
-rw-rw---- carlos www-data config_fields.php
-rw-rw---- carlos www-data config_mysql.php
-rw-rw---- carlos www-data config_paths.php
-rw-rw---- carlos www-data config_phot.php
-rw-rw---- carlos www-data config.php
-rw-rw---- carlos www-data config_project.php
-rw-rw---- carlos www-data config_refs.php
-rw-rw---- carlos www-data config_scripts.php
-rw-rw---- carlos www-data config_search.php
-rw-rw---- carlos www-data config_spectra.php
-rw-rw---- carlos www-data config_vo.php
-rw-rw---- carlos www-data config_web.php
|
In particular, permissions for config/ and work/ should be similar to what is shown for config/. And permissions for other subfolders should be similar to those shown for admin/.