Pages can be viewed when permalink are set to “Plain” (/?p=###) but you get an apache not found error when using other pemalink settings mod_rewrite needs enabling in apache. Allow all overrides.