You use "/home/google6821620603f54cd0.html" as the target of the URL path where it should be:
Alias /google6821620603f54cd0.html /home/nuvroot/WWWsiteServer/static/content/google6821620603f54cd0.html based on what directory you said it was in. If that still doesn't work then the issue may be that the Apache user doesn't have access to anything under the home directory. So it still getting access error what do you get for: ls -lasd /home/nuvroot Graham > On 23 Dec 2022, at 3:46 am, Bob Floyd <bobfloy...@gmail.com> wrote: > > I put the google search HTML file (for ownership verification) in > static/content: > > ~/WWWsiteServer/static/content$ ls -l > total 244 > -rw-rw-r-- 1 nuvroot nuvroot 21748 Dec 6 23:53 BSIM-5-Stage-Inverter.JPG > -rw-rw-r-- 1 nuvroot nuvroot 89457 Dec 6 23:53 Lease.pdf > -rw-rw-r-- 1 nuvroot nuvroot 1078 Dec 6 23:53 NuV2.ico > -rw-rw-r-- 1 nuvroot nuvroot 772 Dec 6 23:53 PDF_32.png > -rw-rw-r-- 1 nuvroot nuvroot 27452 Dec 6 23:53 SecureLeaseSm.JPG > -rw-rw-r-- 1 nuvroot nuvroot 8767 Dec 6 23:53 TrademarkSmall.JPG > -rw-rw-r-- 1 nuvroot nuvroot 77494 Dec 6 23:53 UIDialog.bmp > -rw-rw-r-- 1 nuvroot nuvroot 1078 Dec 9 19:19 favicon.ico > -r--r--r-- 1 nuvroot root 53 Dec 22 01:06 google6821620603f54cd0.html > > In my browser I enter https://www.nuv2.com/google6821620603f54cd0.html as > recommended by google to test for access to the file and get 404 error. > > If you navigate to nuv2.com, the other files in content are properly loaded, > although attempting to access any of them using a url in the browser also > gives 404. > > In the Apache 000-default.conf file I'm using Alias as recommended in the > modwsgi docs: > # Remap URL's for static files to where they actually are > Alias /BSIM-5-Stage-Inverter.JPG > /home/nuvroot/WWWsiteServer/static/content/BSIM-5-Stage-Inverter.JPG > Alias /Lease.pdf /home/nuvroot/WWWsiteServer/static/content/Lease.pdf > Alias /NuV2.ico /home/nuvroot/WWWsiteServer/static/content/NuV2.ico > Alias /favicon.ico > /home/nuvroot/WWWsiteServer/static/content/favicon.ico > Alias /PDF_32.png /home/nuvroot/WWWsiteServer/static/content/PDF_32.png > Alias /SecureLeaseSm.JPG > /home/nuvroot/WWWsiteServer/static/content/SecureLeaseSm.JPG > Alias /TrademarkSmall.JPG > /home/nuvroot/WWWsiteServer/static/content/TrademarkSmall.JPG > Alias /UIDialog.bmp > /home/nuvroot/WWWsiteServer/static/content/UIDialog.bmp > # For google search ownership verification > Alias /google6821620603f54cd0.html /home/google6821620603f54cd0.html > > Any suggestions how I can get access to the google html file from the url? > It's probably something simple but I've tried a ton of things without success. > > Thanks > > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to modwsgi+unsubscr...@googlegroups.com > <mailto:modwsgi+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/modwsgi/d69e7b2d-bf4f-417c-847e-0a66bd821d62n%40googlegroups.com > > <https://groups.google.com/d/msgid/modwsgi/d69e7b2d-bf4f-417c-847e-0a66bd821d62n%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to modwsgi+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/11EFB49F-01BC-46B3-B503-179D55F2DFB0%40gmail.com.