Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

[HELP]vestacp images are 403 forbidden

General questions about VestaCP
Post Reply
  • Print view
Advanced search
12 posts
  • 1
  • 2
  • Next
RamMae
Posts: 9
Joined: Fri Jun 03, 2016 10:25 am

[HELP]vestacp images are 403 forbidden
  • Quote

Post by RamMae » Thu Sep 22, 2016 2:31 pm

How do I fix this?
Image
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: [HELP]vestacp images are 403 forbidden
  • Quote

Post by skurudo » Fri Sep 23, 2016 12:21 pm

Do you use CSF addon, correct?
Why do not ask in viewtopic.php?f=20&t=10209 ?
Top

droopy
Posts: 40
Joined: Wed Jun 11, 2014 11:50 pm

Re: [HELP]vestacp images are 403 forbidden
  • Quote

Post by droopy » Fri Sep 23, 2016 1:28 pm

I have SAME problem with my website.
NEW fresh install of vestacp gives problems.

Any idea?
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: [HELP]vestacp images are 403 forbidden
  • Quote

Post by skurudo » Fri Sep 23, 2016 1:29 pm

droopy wrote:I have SAME problem with my website.
NEW fresh install of vestacp gives problems.
Any idea?
Do you use CSF addon, correct?
Same how?
Top

droopy
Posts: 40
Joined: Wed Jun 11, 2014 11:50 pm

Re: [HELP]vestacp images are 403 forbidden
  • Quote

Post by droopy » Fri Sep 23, 2016 1:35 pm

I make a normal installation and even i could not list a directory as shows Forbidden.
Something is wrong in the default vestacp installation
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: [HELP]vestacp images are 403 forbidden
  • Quote

Post by skurudo » Fri Sep 23, 2016 1:39 pm

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
Show something please - screenshot or log?
Witch OS do you use?
Top

droopy
Posts: 40
Joined: Wed Jun 11, 2014 11:50 pm

Re: [HELP]vestacp images are 403 forbidden
  • Quote

Post by droopy » Fri Sep 23, 2016 2:04 pm

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
Top

mike08
Posts: 160
Joined: Sat Jun 20, 2015 7:12 am

Os: Debian 6x
Web: apache + nginx
Re: [HELP]vestacp images are 403 forbidden
  • Quote

Post by mike08 » Fri Sep 23, 2016 11:31 pm

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
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.

Here is a quick example of what I'm talking about:

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>
To know more about the location of these templates please reffer to: http://vestacp.com/docs/#config-log-loc ... hel-centos for centos based system and http://vestacp.com/docs/#config-log-loc ... ian-ubuntu for debian based systems.

Also, you haven't answered Skurudo's question regarding CSF, you can say something like yes or no to help us better understand your problem. Also you can include your error logs that are being generated by apache within your domain's directory: /home/user/web/domain.tld/logs/domain.tld.error

Regards,
Top

droopy
Posts: 40
Joined: Wed Jun 11, 2014 11:50 pm

Re: [HELP]vestacp images are 403 forbidden
  • Quote

Post by droopy » Sat Sep 24, 2016 5:34 pm

CSF you mean the Online GUI interface?
Yes, it is installed BY DEFAULT using
curl -O http://vestacp.com/pub/vst-install.sh
bash vst-install.sh --force

So, it is inside the package by default. I just enter to web GUI and configurate there.

Something is wrong in LAST compilation as it shows
403 Forbidden
nginx
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: [HELP]vestacp images are 403 forbidden
  • Quote

Post by skurudo » Mon Sep 26, 2016 11:24 am

droopy wrote:CSF you mean the Online GUI interface?
No, this CSF ->
viewtopic.php?f=20&t=10209
droopy wrote:Something is wrong in LAST compilation as it shows
403 Forbidden
nginx
Apache started?
Top


Post Reply
  • Print view

12 posts
  • 1
  • 2
  • Next

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password