Problem with CF9, Apache2 and aliases (mod_alias)
hi
we're running coldfusion9 apache 2 , want access .cfm files without specifying extensions. used work cf5 (don't ask... ^^) , apache1.3.x.
here's simple example 2 aliases accessing administrator pages of coldfusion:
entries in httpd.conf:
alias /admin "/usr/local/httpd-2.2.16/htdocs/cfide/administrator/index.cfm"
alias /admin.cfm "/usr/local/httpd-2.2.16/htdocs/cfide/administrator/index.cfm"
when accessing page http://localhost/admin.cfm, works fine.
when accessing page http://localhost/admin though, 403 (forbidden), , that's it.
it seems, jrun looks @ extension of original request (that is, before alias mapping takes place) in order find out whether has forward request cf server or not. can't specify nonexisting extension addhandler-clause.
is there way make work?
using redirects instead of aliases works, redirect involves client inacceptable since double #requests.
kind regards!
daniel
More discussions in ColdFusion
adobe
Comments
Post a Comment