[CWB] CQPweb
Hardie, Andrew
a.hardie at lancaster.ac.uk
Sun Oct 7 14:51:12 CEST 2012
Hi Martí,
This is not a problem with user permissions or the Apache logon, it is a problem within the CQPweb code itself.
Find the file config.inc.php in the lib directory and check the line that declares the superuser. It should look like this:
$superuser_username = 'spintexweb';
Does it?
Since in your earlier mail you say that you mistyped the username first time round, I guess the problem is here.
(IT’s best to avoid usernames with hyphens in them, by the way; and the absence of the CSS file has nothing to do with the issue!)
best
Andrew.
From: cwb-bounces at sslmit.unibo.it<mailto:cwb-bounces at sslmit.unibo.it> [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of Martí Quixal
Sent: 07 October 2012 12:52
To: cwb at sslmit.unibo.it<mailto:cwb at sslmit.unibo.it>
Subject: Re: [CWB] CQPweb
Hi Andres, hi Andrew,
I wrote a few hours ago, but it seems that my problem is similar to Andres', when he could log in with admin2. The difference is that I cannot log in even with admin (in my case called spintexweb)
file .htgroup
superusers: spintexweb
file .htpasswd
spintexweb:$apr1$JXkH5IeU$RnOa/bUHrsgV3ZqnRQhDc.
file: ../adm/.htacces
AuthUserFile ../AccessData/.htpasswd
AuthGroupFile ../AccessData/.htgroup
AuthName CQPweb
AuthType Basic
deny from all
require group superusers
satisfy any
My problem is that http://localhost/spintx-web/adm/ does not load:
CQPweb encountered an error and could not continue.
You do not have permission to use this program.
And in principle all user permissions are set ok for apache2's user as well as for mysql user (I created a group called cqpweb, which they all belong too):
/Library/WebServer/Documents/spintx-web/adm
sh-3.2# ls -l
-rw-rw-r-- 1 root cqpweb 181 Oct 6 08:29 .htaccess
-rw-rw-r-- 1 spintxweb cqpweb 51 Jun 11 2009 index.php
-rw-rw-r-- 1 spintxweb cqpweb 9 Jun 11 2009 settings.inc.php
Is there something you can suggest?
Best
mq
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20121007/2a6295b2/attachment.html>
More information about the CWB
mailing list