If the following file exists:
/app/foo/bar.jpg
and the user goes to the URL:
/app/foo/bar/
The 404 Not Found page that results shows:
Not Found
The requested URL /app/foo/bar.jpg/ was not found on this server.
This is effecting my app, because I have an mod_rewrite rule...
Thanks for the explanation, that rings with what I was thinking too. So, if nobody knows how to get it to do it in the order I want it to work in (redirect first, then auth), I'm stuck with a multiple-folder workaround.
Thanks,
Rich
I can work around it with multiple folders, but getting this to work would be the most elegant solution. So, if anyone has any ideas what's going on, great; if not, I'll have to try something else.
Thanks!
Rich
I'm working on a web site on a shared hosting server (Apache 1.3.37), so I don't have direct control over Apache and can only use .htaccess files to get the job done.
For a folder containing sensitive info, I want it to first redirect to SHTTP (if connecting by regular http), THEN require a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.