What does the error log say, exactly? On 29/10/20 06:56 PM, syscon edm wrote: > Thanks Mark for quick response, I'm using: > Distributor ID: Debian > Description: Debian GNU/Linux 10 (buster) > Release: 10 > > My web-page is working perfectly on Apache 2.2 (gentoo) I tried it > Debian 2.4 on a new box and I have this problem. I don't know what > else to try. > > On Thu, Oct 29, 2020 at 4:50 PM Mark Brodis <mabrodis@xxxxxxxxxxxxxxx> wrote: >> >> Are you perhaps using httpd on Linux and if so is it a Linux version with selinux? >> >> If that's your scenario, take a look at this, with selinux the file permissions are only half the story, you have to categorize data in other directories by setting the type. I just had to do this, was a bit of a learning curve. >> >> This was helpful for me: >> https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/selinux_users_and_administrators_guide/sect-managing_confined_services-the_apache_http_server-configuration_examples >> >> Obviously if you're not on something with selinux then this wouldn't apply. :) >> >> >> On Thu, Oct 29, 2020 at 4:11 PM syscon edm <syscon780@xxxxxxxxx> wrote: >>> >>> After installing apache 2.4 I can not access server subdirectory: >>> server/admin/index.html >>> >>> Forbiden >>> You don't have permission to access /admin/index.html on this server >>> >>> I can access index.html in a directory below /admin (server/index.html) >>> but not the server/admin/index.html >>> >>> I even change the permission on the index file: >>> -rwxrwxrwx 1 apache apache 428 Oct 28 16:44 index.html >>> >>> I removed .htaccess from server/admin (it doesn't help) >>> >>> In apache.conf >>> >>> <Directory /> >>> Options FollowSymLinks >>> AllowOverride None >>> Require all denied >>> </Directory> >>> >>> <Directory /usr/share> >>> AllowOverride None >>> Require all granted >>> </Directory> >>> >>> <Directory /var/www/> >>> Options FollowSymLinks >>> AllowOverride All >>> Require all granted >>> </Directory> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx >>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx >>> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx