05-10-2012, 08:53 AM
I'm doing a new installation of OpenDocMan v1.2.6.1 on CentOS 6. I have Apache 2.2.15 and MySQL 5.1.61. PHP is version 5.3.3. I have read the previous threads on this problem and have not found a solution that works on this machine. When I visit the site, I see, "There is a problem with your dataDir setting. It does not appear to exist. Settings" at the top of the page. The dataDir is owned by the Apache user and group. That user has full access to the directory. I have tried putting it in different places, updating the database each time. I've tried naming dataDir with and without a trailing / in the database. The current data value for dataDir is /var/www/document_repository/, which I copied and pasted from the terminal. I've even tried 777 permissions. The only error in Apache's error.log is about a missing favicon.
Here is my Apache configuration for the site:
<VirtualHost *:8080>
ServerName docs.domain.com
DocumentRoot /var/www/opendocman
<Directory "/var/www/opendocman">
AllowOverride None
</Directory>
<Directory "/var/www/document_repository">
Deny From all
</Directory>
</VirtualHost>
base_url is <!-- m --><a class="postlink" href="http://docs.domain.com:8080/">http://docs.domain.com:8080/</a><!-- m --> :8080 is necessary since this machine is also a transparent Squid proxy.
This is the current status of the data directory:
drwxrwx---. 2 apache apache 4096 May 10 10:49 document_repository
Here is my Apache configuration for the site:
<VirtualHost *:8080>
ServerName docs.domain.com
DocumentRoot /var/www/opendocman
<Directory "/var/www/opendocman">
AllowOverride None
</Directory>
<Directory "/var/www/document_repository">
Deny From all
</Directory>
</VirtualHost>
base_url is <!-- m --><a class="postlink" href="http://docs.domain.com:8080/">http://docs.domain.com:8080/</a><!-- m --> :8080 is necessary since this machine is also a transparent Squid proxy.
This is the current status of the data directory:
drwxrwx---. 2 apache apache 4096 May 10 10:49 document_repository