Quote from: samba at Oct 26, 2007, 10:00 AM
Hi Friends,
As I said above, I used .htaccess to remove "www" from incoming links. That got rid of my homepage 404, and the whole site displays fine.
But now my MODx Manager no longer works. I can log in, but get "you don’t have enough privileges for this action" when trying to edit a page.
Before I made this change, when using "www" in URL’s I could edit stuff OK with the Manager, but got the homepage 404.
I suppose I could use yet another .htaccess to force "www" on the Manager area. Maybe, as Susan said, I’m forced to mess with Apache’s httd.conf. Any thoughts?
Hi, All,
Some folks kindly helped me out with ideas on what was causing this. Along with driving you nuts, I also contacted the host’s tech support for help. He could not find a 404 problem, and he had the good sense to ask me what browser I was using. I use FF as my regular choice, and IE6 only for testing. So I still got 404 on Firefox 2, but IE6 did not! (yes, that’s actually me making a positive comment about IE6). He also used FF 2, and no 404! So I just said, well, the site’s working, so I guess I’ll just leave it for now.
I was thinking about this today. Why would only my own FF browser not work? Suddenly it dawned on me to kill my cookies for that site. Boom,
404 problem instantly fixed!!!!!. Best of all, no errors with edit permissions in the Manager! I’m happy, but also hanging my head in shame for wasting people’s time.
I suppose that I didn’t think of cookies before because the 404 problem would happen whether logged into manager or not. I also had tried hard refreshes. So I have some cookie problems, but that’s a lot more minor than having visitors getting 404! On the bright side, I’m getting a lot more knowledgeable about .htaccess and its relatives. And after looking further, it may not even be the MODx cookie, but possibly one set with another script installed under the same URL.
Thanks again to everybody here, the Best Community Around!!!!
Samba