Javascript getting Error 403 in folder

1 post / 0 new
#1 Mon, 01/28/2019 - 12:02
miconostalzya

Javascript getting Error 403 in folder

Hi, I'm a newbie here. URL: http://www.mdma.be/

I'm currently getting error 403 to load my javascript in folder .

On console, I see: GET http://www.mdma.be/javascript/ 403 (Forbidden)

Folder permission given 0755 and to all files, I get the same issue.

I've tried:

https://www.virtualmin.com/node/33757

https://www.virtualmin.com/node/46792

SuexecUserGroup "#1009" "#1005"
ServerName mdma.be
ServerAlias www.mdma.be
ServerAlias mail.mdma.be
ServerAlias webmail.mdma.be
ServerAlias admin.mdma.be
DocumentRoot /home/mdma.be/public_html
ErrorLog /var/log/virtualmin/mdma.be_error_log
CustomLog /var/log/virtualmin/mdma.be_access_log combined
ScriptAlias /cgi-bin/ /home/mdma.be/cgi-bin/
ScriptAlias /awstats/ /home/mdma.be/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/mdma.be/public_html>
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
AddType application/x-httpd-php .php
AddHandler fcgid-script .php
AddHandler fcgid-script .php5.6
AddHandler fcgid-script .php7.0
AddHandler fcgid-script .php7.2
FCGIWrapper /home/mdma.be/fcgi-bin/php5.6.fcgi .php5.6
FCGIWrapper /home/mdma.be/fcgi-bin/php7.0.fcgi .php7.0
FCGIWrapper /home/mdma.be/fcgi-bin/php7.2.fcgi .php7.2
FCGIWrapper /home/mdma.be/fcgi-bin/php5.6.fcgi .php
</Directory>
<Directory /home/mdma.be/cgi-bin>
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
</Directory>
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.mdma.be
RewriteRule ^(.*) https://mdma.be:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.mdma.be
RewriteRule ^(.*) https://mdma.be:10000/ [R]
<Files awstats.pl>
AuthName "mdma.be statistics"
AuthType Basic
AuthUserFile /home/mdma.be/.awstats-htpasswd
require valid-user
</Files>
Alias /dav /home/mdma.be/public_html
<Location /dav>
DAV on
AuthType Basic
AuthName "mdma.be"
AuthUserFile /home/mdma.be/etc/dav.digest.passwd
Require valid-user
ForceType text/plain
Satisfy All
RemoveHandler .php
RemoveHandler .php5.6
RemoveHandler .php7.0
RemoveHandler .php7.2
RewriteEngine off
</Location>
RemoveHandler .php
RemoveHandler .php5.6
RemoveHandler .php7.0
RemoveHandler .php7.2
php_admin_value engine Off
IPCCommTimeout 61
FcgidMaxRequestLen 1073741824

PHP Execution Mode: FCGId (run as virtual server owner) Running on PHP 5.6

Any help would be really appreciate...Thx