Addendum: I probably took the original configuration from [1], which
would need an update for apache2.4.

[1] https://www.fossil-scm.org/xfer/wiki?name=Cookbook#CGI


On 02/17/2017 12:05 PM, Benedikt Ahrens wrote:
> Hi,
> 
> after upgrade from apache2.2 to apache2.4, my fossil cgi server gives a
> 403 error. It worked fine with apache2.2.
> The rest of the website works after the upgrade, both over http and https.
> 
> The apache error log states:
> [Fri Feb 17 12:00:41.004779 2017] [authz_core:error] [pid 1681] [client
> 90.105.173.97:55792] AH01630: client denied by server configuration:
> /home/user/cgi-bin/r.cgi
> 
> The VirtualHost config is posted below.
> 
> Any help for solving this particular problem, or for improving the setup
> more generally, would be appreciated.
> 
> Best,
> Benedikt
> 
> 
> <IfModule mod_ssl.c>
> <VirtualHost *:443>
>         ServerAdmin ***
>         ServerName ***
> 
>         DirectoryIndex index.html index.php
>         DocumentRoot /home/user/public_html
>         <Directory /home/user/public_html>
>                 Options +FollowSymLinks -Indexes
>                 AllowOverride AuthConfig
>                 Require all granted
>         </Directory>
> 
>         ScriptAlias /cgi-bin/ /home/user/cgi-bin/
>         <Directory /cgi-bin>
>                 AllowOverride None
>                 Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
>                 # Order allow,deny
>                 # Allow from all
>                 Require all granted
>         </Directory>
> 
>         #       SSL Engine Switch
>         SSLEngine on
> 
>         SSLCertificateFile /etc/ssl/private/cert.ssl
> 
>         ErrorLog /home/user/apache-logs/error.log
> 
>         # Possible values include: debug, info, notice, warn, error, crit,
>         # alert, emerg.
>         LogLevel warn
> 
>         CustomLog /home/user/apache-logs/access.log combined
> 
> </VirtualHost>
> </IfModule>
> _______________________________________________
> fossil-users mailing list
> [email protected]
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
> 
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to