I have Analog on my webserver (Dreamhost) - it used to be accessible from:
domain.tld/stats/
Now if I try to access this URI I just get a 404 error. Anyone know how to get this back?
-
MODX Staff
- 12,272 Posts
does the folder actually exist in your FTP program?
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
usually the quote unquote "folders" mail and stats are apache redirects in httpd.conf. these can be overriden with .htaccess, so if you have FURLs enabled, you are going to have troubles with these types of virtual directories or symbolic links.
-sD-
Should look around a little more before I post:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/stats/(.*)$ [OR]
RewriteCond %{REQUEST_URI} ^/failed_auth.html$
RewriteRule ^.*$ - [L]
</IfModule>
- this is for movable type - works nicely with MODx, just add before MODx rewite rules.
- I suppose to edit the second RewriteCond would be a good idea, but I haven’t triued a failed login yet.
Aaaaargh!
Spoke too fast - can login via basic http auth, but I get the pass in and I get a 404.
Seems it’s working now, very strange!