Upgraded to apache24, and now I get 403

dweimer dweimer at dweimer.net
Wed Jun 18 18:38:18 UTC 2014


On 06/18/2014 12:34 pm, Chris Maness wrote:
> I had a pretty complicated apache config before.  I just upgraded to
> 2.4, and I am only really using one simple website now.  When I try to
> access the page I get a 403 forbidden.
> 
> Here is my virtual host directive:
> 
> <VirtualHost *>
> DocumentRoot "/usr/local/www/data/chrismaness.com"
> ServerName chrismaness.com
> <Directory "/usr/local/www/data/chrismaness.com">
> allow from all
> Options +Indexes
> </Directory>
> </VirtualHost>
> 
> The rest of the http.conf is stock from a fresh apache24 install.
> 
> Thanks,
> Chris
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"

It has to do with the Apache 2.4 permission changes, try the following 
instead, and look here for more information: 
<http://httpd.apache.org/docs/2.4/upgrading.html>

<VirtualHost *>
   DocumentRoot "/usr/local/www/data/chrismaness.com"
   ServerName chrismaness.com
   <Directory "/usr/local/www/data/chrismaness.com">
     Require all granted
     Options +Indexes
   </Directory>
</VirtualHost>

-- 
Thanks,
    Dean E. Weimer
    http://www.dweimer.net/


More information about the freebsd-questions mailing list