I am setting up a local development environment for a WordPress site on a Ubuntu desktop. When I go to run the installer at
nimble-demo.local/wp-admin/install.php, the page loads but every script and stylesheet returns a 404 Not Found.
I don't think it's a permissions issue because
wp-admin/install.php, which loads, and
wp-admin/css/install.min.css, which does not load, have the same permissions: 755, owned by dan:dan (me). The project is located inside my home directory, and my virtualhost is configured accordingly:
<VirtualHost *:80> ServerAdmin webmaster@localhost ServerName nimble-demo.local SetEnv DATABASE_URL postgres://nimble_demo:xxxxxxxx@localhost:5432/nimble_demo DocumentRoot /home/dan/WMM/demos/nimble-demo/ <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /home/dan/WMM/demos/nimble-demo/> Options Indexes FollowSymLinks MultiViews AllowOverride all Order allow,deny allow from all </Directory> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory> ErrorLog /home/dan/WMM/demos/nimble-demo/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /home/dan/WMM/demos/nimble-demo/access.log combined Alias /doc/ "/usr/share/doc/" <Directory "/usr/share/doc/"> Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128 </Directory> </VirtualHost>
I am able to serve a simple html file that links to a stylesheet from another virtualhost in my home directory with a nearly identical setup, so I am thinking that the problem I am having is probably WordPress related.