[Resolved] Domain mapped via DocumentRoot; CSS and JS files are not found
A little back story….
I’m hosting my WordPress multi-site with MediaTemple on their (dv) VPS. The VPS has a Plesk control panel…not the greatest, but it works. I currently have my sub-sites setup without hosting, as #2 explains here. I’m attempting to get it setup with hosting, as #3 is explained here, for the primary reason of using multiple SSL certificates.
Fast-forward through the tutorial on the second link, and that’s where I’m at.
My main domain is nwtd.co, which is located here:
My sub-site is using pactems.orgm which is located here:
It appears that the document root has been set correctly, but permissions seem to be a bit of an issue. The CSS and JS files are “Not found”, as seen here
My DocumentRoot for pactems.org is in
/var/www/vhosts/pactems.org/conf/and looks like:
DocumentRoot /var/www/vhosts/nwtechanddesign.com/nwtd.co SuexecUserGroup nwtech psacln <Directory /var/www/vhosts/nwtechanddesign.com/nwtd.co> AllowOverride All </Directory> <Directory /var/www/vhosts/nwtechanddesign.com/nwtd.co> php_admin_value open_basedir none </Directory> <Directory /var/www/vhosts/nwtechanddesign.com/nwtd.co> <IfModule mod_fcgid.c> <Files ~ (\.fcgi)> SetHandler fcgid-script Options +FollowSymLinks +ExecCGI </Files> </IfModule> <IfModule mod_fcgid.c> <Files ~ (\.php)> SetHandler fcgid-script FCGIWrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper .php Options +ExecCGI allow from all </Files> </IfModule> Options -Includes -ExecCGI </Directory>
The DocumentRoot has the user root and in the group root
The permissions of the directory that the DocumentRoot is pointing to (
/var/www/vhosts/nwtechanddesign.com/nwtd.co/) is 750 and the permissions for the directory css and js files live (
/var/www/vhosts/nwtechanddesign.com/nwtd.co/wp-content/) is 777.
Any ideas or suggestions would be greatly appreciated. I’m currently not using an SSL, but I will as soon as I can resolve the CSS/JS issue. Thanks!
- The topic ‘[Resolved] Domain mapped via DocumentRoot; CSS and JS files are not found’ is closed to new replies.