问题互助
|
返回服务社 |
已解决问题
上传的文件放到了/var/upload下了?
问题补充: 我的安装是把apache2+Tomcat+JK整合的,登录使用都正常。只是发现所有上传的图片、文件都放到了/var/upload目录下了,查了一下代码,应该是在stfoa.properties中读取上传路径的,但是能否告诉我stfoa.properties是怎么生成出来的?能够手工修改其中的内容吗?修改后会不会又被自动覆盖?
我希望上传的东西能放在虚拟主机的根目录下的/upload中,该如何设置呢?
非常感谢服务社提供了如此优秀的系统,如果测试正常,就准备让公司正式上线了。
我把webapps/cc/WEB-INF/classes/conf/stfoa.properties的内容附上
#
#Fri Feb 24 17:40:24 CST 2012
MESSAGE_PICTURE_DIR=/var/upload/oa/messagepicture/
ATTACH_BACKUP_DIR=/var/upload/oa/attachmentbackup/
UPLOAD_COURSE_FLV_DIR=/var/www/webapps/tc/courseware/
MESSAGE_DIR=/var/upload/oa/message/
UPLOAD_PICTRUE_DIR=/var/upload/hr/pictrue/
SPACE_DIR=/var/upload/oa/space/
UPLOAD_HRCONTRACT_DIR=/var/upload/hr/hrcontract/
UPLOAD_DEMO_SWF_DIR=D\:\\Genuitec\\tomcat\\webapps\\fws\\jsp\\demo
UPDATE_DIR=/var/upload/cc/update/
ATTACH_DIR=/var/upload/oa/attachment/
UPLOAD_LOGO_DIR=/var/upload/cc/logo/
UPLOAD_TEMP_DIR=/var/upload/oa/temp/
UPLOAD_DEMO_FLV_DIR=D\:\\Genuitec\\tomcat\\webapps\\fws\\jsp\\demo
HELP_DIR=/var/www/webapps/help
MESSAGE_BACKUP_DIR=/var/upload/oa/messagebackup/
UPLOAD_COURSE_SWF_DIR=/var/upload/tc/courseware/
upload目录在我的虚拟主机中应该是: /var/www/erp.hanboway.com/upload
我希望上传的东西能放在虚拟主机的根目录下的/upload中,该如何设置呢?
非常感谢服务社提供了如此优秀的系统,如果测试正常,就准备让公司正式上线了。
我把webapps/cc/WEB-INF/classes/conf/stfoa.properties的内容附上
#
#Fri Feb 24 17:40:24 CST 2012
MESSAGE_PICTURE_DIR=/var/upload/oa/messagepicture/
ATTACH_BACKUP_DIR=/var/upload/oa/attachmentbackup/
UPLOAD_COURSE_FLV_DIR=/var/www/webapps/tc/courseware/
MESSAGE_DIR=/var/upload/oa/message/
UPLOAD_PICTRUE_DIR=/var/upload/hr/pictrue/
SPACE_DIR=/var/upload/oa/space/
UPLOAD_HRCONTRACT_DIR=/var/upload/hr/hrcontract/
UPLOAD_DEMO_SWF_DIR=D\:\\Genuitec\\tomcat\\webapps\\fws\\jsp\\demo
UPDATE_DIR=/var/upload/cc/update/
ATTACH_DIR=/var/upload/oa/attachment/
UPLOAD_LOGO_DIR=/var/upload/cc/logo/
UPLOAD_TEMP_DIR=/var/upload/oa/temp/
UPLOAD_DEMO_FLV_DIR=D\:\\Genuitec\\tomcat\\webapps\\fws\\jsp\\demo
HELP_DIR=/var/www/webapps/help
MESSAGE_BACKUP_DIR=/var/upload/oa/messagebackup/
UPLOAD_COURSE_SWF_DIR=/var/upload/tc/courseware/
upload目录在我的虚拟主机中应该是: /var/www/erp.hanboway.com/upload
提问者:bwq 提问时间:12-02-26 23:56
最佳答案
其他答案 (0)
热点问题