logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: 403 Access Forbidden?
Author
rayj2018



Joined: 05 Jun 2018
Posts: 2
Location: USA, Port Richey, Fl.

PostPosted: Wed 01 May '24 18:32    Post subject: 403 Access Forbidden? Reply with quote

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:
<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
Back to top
Stray78



Joined: 15 Apr 2024
Posts: 26
Location: USA

PostPosted: Fri 03 May '24 3:11    Post subject: Reply with quote

Try this...

Options FollowSymLinks

And did you change this directive?
#---> Directory Index Directive <---#
#
DirectoryIndex index.php index.htm index.html
Back to top
craigdavid1977



Joined: 16 May 2024
Posts: 1
Location: Utah

PostPosted: Thu 16 May '24 7:25    Post subject: Reply with quote

Hello @Stray78 , thanks for answer.. i already have same issue like this post, now it's solved for me.
Back to top
Stray78



Joined: 15 Apr 2024
Posts: 26
Location: USA

PostPosted: Fri 17 May '24 12:42    Post subject: Reply with quote

craigdavid1977 wrote:
Hello @Stray78 , thanks for answer.. i already have same issue like this post, now it's solved for me.


Not a problem! Glad you got it fixed! Smile
Back to top


Reply to topic   Topic: 403 Access Forbidden? View previous topic :: View next topic
Post new topic   Forum Index -> Apache