Quantcast

Re: (Help please): script error suddenly preventing wki access

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: (Help please): script error suddenly preventing wki access

Amanuensis (Whitby)
An update to my problems after my hosting service switched to Apache 2.4:
I more or less have it working again, after a lot of trouble, thank you to all who tried to help. However,

i) the password protection of the configuration script is not working as expected. One of these lines in the .htaccess file in wiki/bin seems to be causing trouble:

<FilesMatch "^(configure)$">
   SetHandler cgi-script
    ErrorDocument 401 default
<RequireAll>
   Require user xxxxx
</RequireAll>
</FilesMatch>

iii) For reasons that aren’t obvious to me, I had to greatly simplify the .htaccess file for wiki/pub

Clearly I still don’t have a completely correct .htaccess configuration, so following the advice from George, I have asked my hosting service if they will enable mod_access_compat in the hope that I can then use the automatically generated Apache 2.2. .htaccess files from the Foswiki site.

A word of warning to anyone with as little experience as myself: when I attempted to follow Lynnwood’s advice to transfer the Apache 2.4 httpd.conf settings to .htaccess, it took me a long time to realise that Alias and ScriptAlias are not allowed in .htaccess, and so the +ExecCGI and SetHandler cgi-script commands have to be used in the .htaccess for the bin directory.


Regards, James
--
Dr. James Whitby
Managing Director, Amanuensis GmbH
Guerbestrasse 17
CH-3125 Toffen
SWITZERLAND
Tel (office): +41 31 3812726
Tel (mobile): +41 79 7739129
Email: [hidden email]
Skype: james_whitby_scientist


------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Foswiki-discuss mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/foswiki-discuss
Loading...