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 Web Server
  • Search

/webmail is showing 404 error

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
vestavpsuser
Posts: 2
Joined: Mon Oct 04, 2021 8:47 am

Os: Ubuntu 17x
Web: apache + nginx
/webmail is showing 404 error
  • Quote

Post by vestavpsuser » Mon Oct 04, 2021 9:23 am

Hi guys
I am using Vesta cpanel on an Ubuntu 18.0 with PHP 7.4
I am running Apache2+nginx
I recently realized the roundcube stopped working on webmail. Then I tried to re-install the roundcube but no luck.
What I have done:
command:

Code: Select all

 apt-get install roundcube
then followed the installation steps.Everything ran as expected during the installation.
then I added:
/etc/apache2/sites-available/roundcube.conf

Code: Select all


<VirtualHost *:443>
     ServerAdmin [email protected]
     DocumentRoot /usr/share/roundcube
     ServerName mydomain.com/webmail

     <Directory /usr/share/roundcube/>
          Options FollowSymlinks
          AllowOverride All
          Require all granted
     </Directory>

     ErrorLog ${APACHE_LOG_DIR}/error.log
     CustomLog ${APACHE_LOG_DIR}/access.log combined

</VirtualHost>


and NginX config:
located at: /etc/nginx/conf.d/webmail.inc

Code: Select all


location /webmail {
    alias /usr/share/roundcube/;

    location ~ /(config|temp|logs) {
        return 404;
    }

    location ~ ^/webmail/(.*\.php)$ {
        alias /usr/share/roundcube/$1;
        fastcgi_pass 127.0.0.1:9000;
        fastcgi_index index.php;
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $request_filename;
    }
}


After all of above installation Im facing 404 error when opening the https://mydomain.com/webmail

Can you guys please help?
Top

singamda
Posts: 2
Joined: Mon Jul 06, 2020 3:52 pm

Os: CentOS 6x
Web: nginx + php-fpm
Re: /webmail is showing 404 error
  • Quote

Post by singamda » Sat Oct 09, 2021 3:08 am

+1 Not working after clean install on centos showing 404 error
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Server”



  • 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