[CWB] [CQPweb] Final step? Getting Apache to point at CQPweb's root directory
Hardie, Andrew
a.hardie at lancaster.ac.uk
Thu May 9 14:16:25 CEST 2019
Hi Scott,
The <Directory> directive doesn’t turn a folder into your server’s root : it just specifies options that apply only to that folder.
the directive that specifies the root is DocumentRoot and depending on your setup you may find it in apache2.conf or in 000-default.conf .
You have two options, either change the document root, or else simply access your CQPweb via http://localhost/cqpweb (or whatever) which should be working for you now.
Generally I would say that you don’t want to add a “cqpweb” file in sites-available unless you really do want to operate it as a separate vhost (in which cast you’d need a <VirtualHost> directive in that config file). If you aren’t using such a vhost then the <Directory> directive should probably go inot 000-default.conf
best
Andrew
From: cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> On Behalf Of Scott Sadowsky
Sent: 09 May 2019 11:33
To: Open source development of the Corpus WorkBench <cwb at sslmit.unibo.it>
Subject: [CWB] [CQPweb] Final step? Getting Apache to point at CQPweb's root directory
Hi All,
Except for the problem pointed out by Peter yesterday [1], which I'm also facing, I seem to be just a step or two away from having a working CQPweb install. I just can't get Apache to point to CQPweb's directory as its document root. In /etc/apache2/sites-available/cqpweb.conf I've got the following, which I would think would be enough:
<Directory "/var/www/html/cqpweb">
AllowOverride None
Require all granted
Options FollowSymlinks
</Directory>
But alas, Apache opens one of those typical "Welcome to Apache" pages rather than /var/www/html/cqpweb/index.php, which consists of <?php require('lib/mainhome.php');, and so is clearly not what's being opened. Could someone point me in the right direction? I've tried both AllowOverride None (as per the admin manual) and AllowOverride All (as per Stefan's instruction document), to no avail.
Cheers,
Scott
[1] PHP Notice: Undefined property: NotAFullConfig::$blowfish_cost in /var/www/html/CQPweb/lib/useracct-lib.php on line 756
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20190509/ce5f679d/attachment.html>
More information about the CWB
mailing list