Oracle PLSQL Sever Pages Test
1 Creating a DAD
Edit the DAD configuration file ORACLE_HOME/Apache/modplsql/conf/dads.conf.
AddType text/xml xbl
AddType text/x-component htc
Alias /i/ "/MES/Mytest/"
SetHandler pls_handler
Order deny,allow
Allow from all
AllowOverride None
PlsqlDatabaseUsername scott
PlsqlDatabasePassword tiger
PlsqlDatabaseConnectString orcl
PlsqlAuthenticationMode Basic
2 Configuration Files[@more@]2.1 plsql.conf
This file contains the LoadModule directive to load mod_plsql into Oracle HTTP Server, any global settings for mod_plsql, and include directives for dads.conf and cache.conf. This file is included by the Oracle HTTP Server configuration file ORACLE_HOME/Apache/Apache/conf/oracle_apache.conf on UNIX or ORACLE_HOMEApacheApacheconforacle_apache.conf on Windows, which itself gets included in the primary Oracle HTTP Server configuration file httpd.conf.
#Directives needed for OraDAV module
include "/oracle/ias/fr/Apache/modplsql/conf/plsql.conf"
2.2 dads.conf(詳見官檔)
2.3 cache.conf(詳見官檔)
3.UpLoad PSP File
[oracle@mesap3 ~]$ loadpsp -replace -user scott/tiger@orcl HelloWorld.psp
"HelloWorld.psp": procedure "helloworld" created.
[oracle@mesap3 ~]$ cd TableReport/
[oracle@mesap3 TableReport]$ ls
ColBut.psp Error_Page.psp Readme.html TableReport.psp TabRep.psp
CreateQuery.psp Install.html TabBut.psp Tables.psp Title.psp
[oracle@mesap3 TableReport]$ loadpsp -replace -user scott/tiger@orcl Error_Page.psp *.psp
"Error_Page.psp": procedure "error_page" created.
"ColBut.psp": procedure "colbut" created.
"CreateQuery.psp": procedure "createquery" created.
"Error_Page.psp": procedure "error_page" created.
"TabBut.psp": procedure "tabbut" created.
"TableReport.psp": procedure "tablereport" created.
"Tables.psp": procedure "tables" created.
"TabRep.psp": procedure "tabrep" created.
"Title.psp": procedure "title" created.
[oracle@mesap3 ~]$ loadpsp -replace -user scott/tiger@orcl GetDBDateTime.psp
"GetDBDateTime.psp": procedure "getdbdatetime" created.
4.OK
Edit the DAD configuration file ORACLE_HOME/Apache/modplsql/conf/dads.conf.
AddType text/xml xbl
AddType text/x-component htc
Alias /i/ "/MES/Mytest/"
SetHandler pls_handler
Order deny,allow
Allow from all
AllowOverride None
PlsqlDatabaseUsername scott
PlsqlDatabasePassword tiger
PlsqlDatabaseConnectString orcl
PlsqlAuthenticationMode Basic
2 Configuration Files[@more@]2.1 plsql.conf
This file contains the LoadModule directive to load mod_plsql into Oracle HTTP Server, any global settings for mod_plsql, and include directives for dads.conf and cache.conf. This file is included by the Oracle HTTP Server configuration file ORACLE_HOME/Apache/Apache/conf/oracle_apache.conf on UNIX or ORACLE_HOMEApacheApacheconforacle_apache.conf on Windows, which itself gets included in the primary Oracle HTTP Server configuration file httpd.conf.
#Directives needed for OraDAV module
include "/oracle/ias/fr/Apache/modplsql/conf/plsql.conf"
2.2 dads.conf(詳見官檔)
2.3 cache.conf(詳見官檔)
3.UpLoad PSP File
[oracle@mesap3 ~]$ loadpsp -replace -user scott/tiger@orcl HelloWorld.psp
"HelloWorld.psp": procedure "helloworld" created.
[oracle@mesap3 ~]$ cd TableReport/
[oracle@mesap3 TableReport]$ ls
ColBut.psp Error_Page.psp Readme.html TableReport.psp TabRep.psp
CreateQuery.psp Install.html TabBut.psp Tables.psp Title.psp
[oracle@mesap3 TableReport]$ loadpsp -replace -user scott/tiger@orcl Error_Page.psp *.psp
"Error_Page.psp": procedure "error_page" created.
"ColBut.psp": procedure "colbut" created.
"CreateQuery.psp": procedure "createquery" created.
"Error_Page.psp": procedure "error_page" created.
"TabBut.psp": procedure "tabbut" created.
"TableReport.psp": procedure "tablereport" created.
"Tables.psp": procedure "tables" created.
"TabRep.psp": procedure "tabrep" created.
"Title.psp": procedure "title" created.
[oracle@mesap3 ~]$ loadpsp -replace -user scott/tiger@orcl GetDBDateTime.psp
"GetDBDateTime.psp": procedure "getdbdatetime" created.
4.OK
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/678020/viewspace-1043587/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle plsqlOracleSQL
- oracle plsql例子OracleSQL
- oracle plsql(二)_plsql塊內之**冪OracleSQL
- SQL Sever提權SQL
- Test Oracle triggerOracle
- Oracle/PLSQL: Grant/Revoke PrivilegesOracleSQL
- oracle plsql函式大全OracleSQL函式
- oracle之PLSql語言(一)OracleSQL
- oracle plsql(三)_type_cursorOracleSQL
- ORACLE PLSQL語言參考OracleSQL
- oracle plsql儲存過程OracleSQL儲存過程
- Oracle USE_LARGE_PAGES初始化引數Oracle
- github pagesGithub
- plsql Oracle匯入dmp檔案SQLOracle
- ubuntu sever 倆個命令安裝 lampUbuntuLAMP
- Oracle vs PostgreSQL Develop(29) - COMMIT in PLSQLOracleSQLdevMIT
- 精簡配置plsql developer連線oracleSQLDeveloperOracle
- 使用者許可權 plsql OracleSQLOracle
- PLSQL連線oracle資料庫配置SQLOracle資料庫
- Oracle plsql session間通訊處理OracleSQLSession
- test
- SQL Sever 7日誌檔案已滿SQL
- oracle plsql case when_end case小記OracleSQL
- Oracle11新特性——PLSQL新特性(七)OracleSQL
- Oracle11新特性——PLSQL新特性(六)OracleSQL
- Oracle11新特性——PLSQL新特性(五)OracleSQL
- Oracle11新特性——PLSQL新特性(四)OracleSQL
- Oracle11新特性——PLSQL新特性(三)OracleSQL
- Oracle11新特性——PLSQL新特性(二)OracleSQL
- Oracle11新特性——PLSQL新特性(一)OracleSQL
- Pages模板Templates for Pages DesiGN讓您的工作更出色
- Linux Hugepage ,AMM及 USE_LARGE_PAGES for oracle 11GLinuxOracle
- 母版頁(Master Pages)AST
- AI Prompt Injections PagesAI
- Indirect Prompt Injections Pages
- Pages模板:Templates for Pages DesiGN for mac v7.4啟用版Mac
- Oracle 11g新特新--SQL Test Case BuilderOracleSQLUI
- Oracle PL/SQL編譯警告PLSQL_WARNINGSOracleSQL編譯