WordPress installed on a Sub-directory

Looks link you’re missing the forward slash / which is probably causing it to not locate the right files

/.index.php

<?php
define('WP_USE_THEMES', true);
require( dirname( __FILE__ ) . '/web/wp-blog-header.php' );

/web/index.php

<?php
define('WP_USE_THEMES', true);
require( dirname( __FILE__ ) . '/wp-blog-header.php' );

/.htaccess (the same as /web/.htaccess)

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /web/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /web/index.php [L]
</IfModule>
# END WordPress

/web/wp-config.php (delete what you have and replace with this right above the thats all part )

define('WP_CONTENT_FOLDERNAME', 'media');
define('WP_CONTENT_DIR', ABSPATH . WP_CONTENT_FOLDERNAME );
define('WP_CONTENT_URL', 'http://' . $_SERVER['HTTP_HOST'] . "https://wordpress.stackexchange.com/" . WP_CONTENT_FOLDERNAME );

/* That’s all, stop editing! Happy blogging. */