apache - Coldfusion Error: cannot find file /CFIDE/administrator/index.cfm -
right, know can google question , lots of answers on it, none of them seem work me.
i've got brand new rhel5 server, latest lamp installation on it, , i've installed coldfusion 9.
when visit site, coldfusion error saying
file not found: /index.cfm
if navigate html or php page it's fine, server properly. , error i'm getting blue/grey coldfusion one, coldfusion server working.
and i've narrowed problem down this...
/var/www/vhosts/site.co.uk/index.cfm - gets served
but site root really
/var/www/vhosts/site.co.uk/httpdocs/index.cfm - coldfusion cannot see file!
i found
/var/www/vhosts/site.co.uk/index.cfm
in cfserver.log. can't find anywhere references "/var/www/vhosts/site.co.uk/" root.
jrun-web.xml has system path set /var/www/vhosts/site.co.uk/httpdocs, , inside "bin/coldfusion" docroot set "/var/www/vhosts/site.co.uk/httpdocs"
this section of httpd.include file:
# attention! # not modify file or part of it. can result in improper plesk # functioning or failure, cause damage , loss of data. if require custom # modifications applied configuration, please, perform them in # following file(s): # /var/www/vhosts/site.co.uk/conf/vhost.conf # /var/www/vhosts/site.co.uk/subdomains/<subdomain-name>/conf/vhost.conf <virtualhost 1.2.3.4:80> servername site.co.uk:80 serveralias www.site.co.uk usecanonicalname off serveradmin "admin@site.co.uk" documentroot /var/www/vhosts/site.co.uk/httpdocs customlog /var/www/vhosts/site.co.uk/statistics/logs/access_log plesklog errorlog /var/www/vhosts/site.co.uk/statistics/logs/error_log <ifmodule mod_userdir.c> userdir /var/www/vhosts/site.co.uk/web_users </ifmodule> alias /plesk-stat /var/www/vhosts/site.co.uk/statistics/ <location /plesk-stat/> options +indexes </location> <location /plesk-stat/logs/> require valid-user </location> alias /webstat /var/www/vhosts/site.co.uk/statistics/webstat alias /webstat-ssl /var/www/vhosts/site.co.uk/statistics/webstat-ssl alias /ftpstat /var/www/vhosts/site.co.uk/statistics/ftpstat alias /anon_ftpstat /var/www/vhosts/site.co.uk/statistics/anon_ftpstat alias /awstats-icon /var/www/html/awstats/icon <ifmodule mod_ssl.c> sslengine off </ifmodule> <directory /var/www/vhosts/site.co.uk/httpdocs> <ifmodule sapi_apache2.c> php_admin_flag engine on php_admin_flag safe_mode off php_admin_value open_basedir "/var/www/vhosts/site.co.uk/httpdocs:/tmp" </ifmodule> <ifmodule mod_php5.c> php_admin_flag engine on php_admin_flag safe_mode off php_admin_value open_basedir "/var/www/vhosts/site.co.uk/httpdocs:/tmp" </ifmodule> options -includes -execcgi </directory> <directory /var/www/vhosts/site.co.uk/web_users> <ifmodule sapi_apache2.c> php_admin_flag engine off </ifmodule> <ifmodule mod_php5.c> php_admin_flag engine off </ifmodule> </directory> <directory "/var/www/vhosts/site.co.uk/httpdocs/cfide"> authtype basic authname " " authuserfile /var/www/vhosts/site.co.uk/pd/d..httpdocs@cfide require valid-user </directory> ... omitting other directory tags ... include /var/www/vhosts/site.co.uk/conf/vhost.conf </virtualhost>
what doing wrong?
i've fixed it, problem runtime_user variable set in various places "nobody".
i managed solve problem blog entry
http://nzflew.blogspot.com/2009/04/changing-user-of-coldfusion-on-linux.html
the "nobody" user didn't have access rights view files. had made mistake of installing default "nobody" user name.
thanks anyway.
Comments
Post a Comment