[CWB] Two issues regarding CQPweb revision 316

Ray Wu liangpingwu at 126.com
Sun May 20 19:02:18 CEST 2012


Hi Andrew,

I can only find the following information, hopefully it is what you needed.
 
re: I spot one odd thing: you have .htaccess and .htgroup files in the cqpweb_aux directory, should they not be in the “user” subdirectory?
I don't know when they were created but they are just there.
/usr/local/apache2/cqpweb_aux$ cat .htpasswd
cqpweb:38Pzi2lNByWHA
/usr/local/apache2/cqpweb_aux$ cat .htgroup
superusers: cqpweb

re: What is the ls –al of the “user” subdirectory?
/usr/local/apache2/cqpweb_aux/user$ ls -al
drwxrwxr-x 2 nobody cqpweb     4096 2012-05-21 00:12 .
drwxrwxrwx 7 nobody cqpweb     4096 2012-05-21 00:13 ..
-rw-r--r-- 1 nobody 4294967295    4 2012-05-20 20:27 file_for_Check
-rwxrwxr-x 1 nobody cqpweb       88 2012-05-20 20:52 .htgroup
-rwxrwxr-x 1 nobody cqpweb      179 2012-05-20 20:46 .htpasswd

/usr/local/apache2/cqpweb_aux/user$ cat .htgroup
superusers: cqpweb
guestgroup: demo user1
/usr/local/apache2/cqpweb_aux/user$ cat .htpasswd
cqpweb:******************
user1:siPxM76GQlqA2
demo:vGyvnrMO11qXM

re: And, what is the value of $cqpweb_accessdir in the config file?
./lib/config.inc.php:$cqpweb_accessdir = 'usr/local/apache2/cqpweb_aux/user';
./template.config.inc.php:$cqpweb_accessdir = '';

re: On the other problem: what is the ls –al of the “cqpweb_aux/temp” subdirectory?
ray at ray-laptop:/usr/local/apache2/cqpweb_aux/temp$ ls -al
drwxrwxr-x 2 nobody cqpweb      4096 2012-05-20 20:34 .
drwxrwxrwx 7 nobody cqpweb      4096 2012-05-21 00:13 ..
-rwxrwxr-x 1 nobody cqpweb        92 2012-05-20 06:54 test:dt4em6acw0
-rw-r--r-- 1 nobody 4294967295   104 2012-05-20 18:59 test:dt4zky5ilw
-rw-r--r-- 1 nobody 4294967295     4 2012-05-20 20:27 file_for_Check
-rw-r--r-- 1 nobody 4294967295 12136 2012-05-21 00:09 ____temporary_freq_corpus_test.tbl (manually created using sudo vi ____temporary_freq_corpus_test.tbl and then sudo chown nobody)

re: On both, have you checked the value of the php.ini directive “open_basedir”? (This can also be set in httpd.conf or other Apache config file, see http://www.php.net/manual/en/ini.core.php#ini.open-basedir)

In httpd.conf, I cannot find such a directive. In /usr/local/lib/php.ini, open_basedir is commented out:
;open_basedir =
 
Best,
Ray
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20120521/55462d7d/attachment.htm


More information about the CWB mailing list