[HELP]vestacp images are 403 forbidden
Posted: Thu Sep 22, 2016 2:31 pm
How do I fix this?


Community Forum
https://forum.vestacp.com/
Do you use CSF addon, correct?droopy wrote:I have SAME problem with my website.
NEW fresh install of vestacp gives problems.
Any idea?
Show something please - screenshot or log?droopy wrote:I make a normal installation and even i could not list a directory as shows Forbidden.
Something is wrong in the default vestacp installation
That is because default apache templates in vesta don't allow it, all the templates have -Indexes in it which you will need to change it to +indexes in order to display all files/directories when there isn't a index.php/html file there.droopy wrote:I am using
CentOS release 6.8 (Final)
Even i just create a directory inside public_html/test/
And instead of listing the files it shows FORBIDDEN (without any .htaccess restriction or anything)
Normal installation only. Create a directory xxx.com/test and shows 403 forbidden without listing files
Code: Select all
<VirtualHost %ip%:%web_port%>
ServerName %domain_idn%
%alias_string%
ServerAdmin %email%
DocumentRoot %docroot%
ScriptAlias /cgi-bin/ %home%/%user%/web/%domain%/cgi-bin/
Alias /vstats/ %home%/%user%/web/%domain%/stats/
Alias /error/ %home%/%user%/web/%domain%/document_errors/
#SuexecUserGroup %user% %group%
CustomLog /var/log/%web_system%/domains/%domain%.bytes bytes
CustomLog /var/log/%web_system%/domains/%domain%.log combined
ErrorLog /var/log/%web_system%/domains/%domain%.error.log
<Directory %docroot%>
AllowOverride All
Options +Includes -Indexes +ExecCGI
</Directory>
<Directory %home%/%user%/web/%domain%/stats>
AllowOverride All
</Directory>
<IfModule mod_ruid2.c>
RMode config
RUidGid %user% %group%
RGroups apache
</IfModule>
<IfModule itk.c>
AssignUserID %user% %group%
</IfModule>
Include %home%/%user%/conf/web/%web_system%.%domain%.conf*
</VirtualHost>
No, this CSF ->droopy wrote:CSF you mean the Online GUI interface?
Apache started?droopy wrote:Something is wrong in LAST compilation as it shows
403 Forbidden
nginx