• Resolved zmmccrocklin

    (@zmmccrocklin)


    Hi guys!
    I’m having an issue with this install of WordPress on my server, and I’m not sure why. I’m running a LAMP stack (see below), and I have the proper file permissions & ownership setup on my server. Please also note that I have other WordPress instances on this same server that are working properly with the same setup.

    EDIT:
    Please also be advised that I have NOT actually been able to go through the setup yet due to this error.

    Versions:

    
    # cat /etc/redhat-release 
    CentOS Linux release 7.6.1810 (Core) 
    
    # php -v
    PHP 7.2.20 (cli) (built: Jul  2 2019 13:37:16) ( NTS )
    Copyright (c) 1997-2018 The PHP Group
    Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
        with Zend OPcache v7.2.20, Copyright (c) 1999-2018, by Zend Technologies
    
    # httpd -v
    Server version: Apache/2.4.6 (CentOS)
    Server built:   Apr 24 2019 13:45:48
    
    Server version: 5.5.60-MariaDB MariaDB Server
    

    /etc/httpd/sites-available/k-zconsulting.com.conf

    
    <VirtualHost *:80>
            ServerName k-zconsulting.com
            ServerAlias www.k-zconsulting.com
            DocumentRoot /mnt/cloudstorage/var/www/k-zconsulting.com/public_html
            ErrorLog /mnt/cloudstorage/var/www/k-zconsulting.com/error.log
            CustomLog /mnt/cloudstorage/var/www/k-zconsulting.com/requests.log combined
    
            <Directory /mnt/cloudstorage/var/www/k-zconsulting.com/public_html>
                    Options -Indexes +FollowSymLinks
                    AllowOverride All
            </Directory>
    
    </VirtualHost>
    

    Permissions:

    
    # namei -l /mnt/cloudstorage/var/www/k-zconsulting.com/public_html/
    f: /mnt/cloudstorage/var/www/k-zconsulting.com/public_html/
    dr-xr-xr-x root   root   /
    drwxr-xr-x ZTec   ZTec   mnt
    drwxr-xr-x ZTec   ZTec   cloudstorage
    drwxr-xr-x root   root   var
    drwxr-xr-x root   root   www
    drwxr-xr-x apache apache k-zconsulting.com
    drwxr-xr-x apache apache public_html
    
    # ls -al /mnt/cloudstorage/var/www/k-zconsulting.com/public_html
    total 212
    drwxr-xr-x.  5 apache apache  4096 Jul  6 10:12 .
    drwxr-xr-x.  3 root   root    4096 Jul  5 22:46 ..
    -rw-r--r--.  1 apache apache   420 Nov 30  2017 index.php
    -rw-r--r--.  1 apache apache 19935 Jan  1  2019 license.txt
    -rw-r--r--.  1 apache apache  7447 Apr  8 17:59 readme.html
    -rw-r--r--.  1 apache apache  6919 Jan 12 00:41 wp-activate.php
    drwxr-xr-x.  9 apache apache  4096 Jun 18 12:50 wp-admin
    -rw-r--r--.  1 apache apache   369 Nov 30  2017 wp-blog-header.php
    -rw-r--r--.  1 apache apache  2283 Jan 20 19:34 wp-comments-post.php
    -rw-r--r--.  1 apache apache  2882 Jul  5 22:32 wp-config.php
    -rw-r--r--.  1 apache apache  2898 Jan  7 22:30 wp-config-sample.php
    drwxr-xr-x.  5 apache apache  4096 Jul  5 22:27 wp-content
    -rw-r--r--.  1 apache apache  3847 Jan  9 02:37 wp-cron.php
    drwxr-xr-x. 20 apache apache 12288 Jun 18 12:50 wp-includes
    -rw-r--r--.  1 apache apache  2502 Jan 15 23:29 wp-links-opml.php
    -rw-r--r--.  1 apache apache  3306 Nov 30  2017 wp-load.php
    -rw-r--r--.  1 apache apache 39551 Jun 10 08:34 wp-login.php
    -rw-r--r--.  1 apache apache  8403 Nov 30  2017 wp-mail.php
    -rw-r--r--.  1 apache apache 18962 Mar 28 14:04 wp-settings.php
    -rw-r--r--.  1 apache apache 31085 Jan 16 10:51 wp-signup.php
    -rw-r--r--.  1 apache apache  4764 Nov 30  2017 wp-trackback.php
    -rw-r--r--.  1 apache apache  3068 Aug 16  2018 xmlrpc.php
    
    • This topic was modified 5 years, 8 months ago by zmmccrocklin.
    • This topic was modified 5 years, 8 months ago by zmmccrocklin.
    • This topic was modified 5 years, 8 months ago by zmmccrocklin.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘403 Forbidden with correct file permissions’ is closed to new replies.