403 Access Forbidden?

Alles, was den Apache betrifft, kann hier besprochen werden.

403 Access Forbidden?

Postby Rayj00 » 01. May 2024 16:22

I'm not sure what I have screwed up, but I have prohibited the access for my website.

Ubuntu 20.04.2
Apache 2.4.41


Here is what I have in apache2.conf

Code: Select all
<Directory />
        Options FollowSymLinks
        AllowOverride None
        Require all denied
</Directory>

<Directory /usr/share>
        AllowOverride None
        Require all granted
</Directory>

<Directory /var/www/html/>
        Options -Indexes +FollowSymLinks
        AllowOverride None
        Require all granted
</Directory>


The index.html page calls another page at orderform/form.html
drwxrwxr-x 4 www-data www-data 4096 May 1 15:02 orderform

If i remove the "-' from Indexes, it does index the folder.

I don't have an htaccess file active.

Note that the website was working perfectly until today. I don't know what I did to cause this.

It's probably something simple but I'm pulling my hair out to fix it.

Any idea how to fix this is appreciated.

Thanks,

Ray
Rayj00
 
Posts: 2
Joined: 01. May 2024 15:54
XAMPP version: NA
Operating System: Ubuntu

Re: 403 Access Forbidden?

Postby Altrea » 01. May 2024 21:04

Hi Ray,

Try to find out which (sub)request is forbidden.
The browsers developer tools can help here.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11942
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to Apache

Who is online

Users browsing this forum: No registered users and 227 guests