Hi, We have been trying to configure an Apache server/instance that gets installed as part of Oracle's 10g Application Server to work with our own authentication module, and as part of doing this, we need to configure a directory alias for a directory that contains some of our JSPs that run under the Oracle JSP container (OC4J). I believe that the Apache version is an older 1.3.x version. To do this, the only thing that we did was that we took the standard HTTPD.CONF file that got installed with the 10g AS Apache installation, and added a small section at the end. The problem we are having is that if our addition to the HTTPD.CONF is included, instead of the JSPs in our aliased directory being processed, Apache seems to be just serving the JSPs as text pages :(.. If we remove the section at the end of the HTTPD.CONF, and point a browser to the unaliased path, the JSPs get processed correctly, so we're pretty sure that the JSP container is configured and working, and so we're conjecturing/guessing that there is something in our Apache configuration that's causing this to happen. I was wondering if anyone here might take a look at our HTTPD.CONF below, and tell me if you can see something there that might be causing this behavior? The section that we added is at the very end. We think that the problem might be something like the "order" of the directives, modules, or includes in the HTTPD.CONF file may be such that the alias at the end (to "/mydir/") is taking priority ahead of the Oracle OC4J container, or something like that. Thanks in advance, and apologies for the long message. Jim ===================================================== ServerType standalone ServerRoot "/orad59/10gAS/infrastructure/Apache/Apache" PidFile /orad59/10gAS/infrastructure/Apache/Apache/logs/httpd.pid ScoreBoardFile /orad59/10gAS/infrastructure/Apache/Apache/logs/httpd.scoreboard Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 MinSpareServers 5 MaxSpareServers 20 StartServers 5 MaxClients 150 MaxRequestsPerChild 0 LoadModule onsint_module libexec/mod_onsint.so LoadModule mmap_static_module libexec/mod_mmap_static.so LoadModule vhost_alias_module libexec/mod_vhost_alias.so LoadModule env_module libexec/mod_env.so LoadModule define_module libexec/mod_define.so LoadModule config_log_module libexec/mod_log_config.so LoadModule agent_log_module libexec/mod_log_agent.so LoadModule referer_log_module libexec/mod_log_referer.so LoadModule mime_magic_module libexec/mod_mime_magic.so LoadModule mime_module libexec/mod_mime.so LoadModule negotiation_module libexec/mod_negotiation.so LoadModule status_module libexec/mod_status.so LoadModule info_module libexec/mod_info.so LoadModule includes_module libexec/mod_include.so LoadModule autoindex_module libexec/mod_autoindex.so LoadModule dir_module libexec/mod_dir.so LoadModule cgi_module libexec/mod_cgi.so LoadModule asis_module libexec/mod_asis.so LoadModule imap_module libexec/mod_imap.so LoadModule action_module libexec/mod_actions.so LoadModule speling_module libexec/mod_speling.so LoadModule userdir_module libexec/mod_userdir.so LoadModule alias_module libexec/mod_alias.so LoadModule access_module libexec/mod_access.so LoadModule auth_module libexec/mod_auth.so LoadModule anon_auth_module libexec/mod_auth_anon.so LoadModule dbm_auth_module libexec/mod_auth_dbm.so LoadModule digest_module libexec/mod_digest.so LoadModule proxy_module libexec/libproxy.so LoadModule cern_meta_module libexec/mod_cern_meta.so LoadModule expires_module libexec/mod_expires.so LoadModule headers_module libexec/mod_headers.so LoadModule usertrack_module libexec/mod_usertrack.so LoadModule unique_id_module libexec/mod_unique_id.so LoadModule setenvif_module libexec/mod_setenvif.so LoadModule perl_module libexec/libperl.so LoadModule fastcgi_module libexec/mod_fastcgi.so <IfDefine SSL> LoadModule ossl_module libexec/mod_ossl.so </IfDefine> LoadModule wchandshake_module libexec/mod_wchandshake.so ExtendedStatus On Port 7777 Listen 7777 User oracle Group dba ServerAdmin you@xxxxxxxxxxxx ServerName ge1ssd04.test.com DocumentRoot "/orad59/10gAS/infrastructure/Apache/Apache/htdocs" <Directory /> Options FollowSymLinks MultiViews AllowOverride None </Directory> <Directory "/orad59/10gAS/infrastructure/Apache/Apache/htdocs"> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny Allow from all </Directory> <IfModule mod_userdir.c> UserDir public_html </IfModule> <IfModule mod_dir.c> DirectoryIndex index.html </IfModule> AccessFileName .htaccess <Files ~ "^\.ht"> Order allow,deny Deny from all </Files> UseCanonicalName On <IfModule mod_mime.c> TypesConfig /orad59/10gAS/infrastructure/Apache/Apache/conf/mime.types AddEncoding x-compress Z AddEncoding x-gzip gz tgz AddLanguage ar .ar AddLanguage da .dk .da AddLanguage nl .nl AddLanguage en .en AddLanguage et .ee AddLanguage fi .fi AddLanguage fr .fr AddLanguage de .de AddLanguage el .el AddLanguage es .es_ES .es AddLanguage he .he .iw AddLanguage hu .hu AddCharset ISO-8859-8 .iso8859-8 AddLanguage it .it AddLanguage ja .ja AddCharset ISO-2022-JP .jis AddLanguage ko .ko AddLanguage kr .kr AddCharset ISO-2022-KR .iso-kr AddLanguage nn .nn AddLanguage no .no AddLanguage pl .po AddCharset ISO-8859-2 .iso-pl AddLanguage pt .pt AddLanguage pt-br .pt_BR .pt-br AddLanguage ltz .lu AddLanguage ca .ca AddLanguage sk .sk AddLanguage sv .sv AddLanguage th .th AddLanguage tr .tr AddLanguage cz .cz .cs AddLanguage ro .ro AddLanguage ru .ru AddLanguage zh-cn .zh_CN AddLanguage zh-tw .zh_TW AddCharset Big5 .Big5 .big5 AddCharset WINDOWS-1251 .cp-1251 AddCharset CP866 .cp866 AddCharset ISO-8859-5 .iso-ru AddCharset KOI8-R .koi8-r AddCharset UCS-2 .ucs2 AddCharset UCS-4 .ucs4 AddCharset UTF-8 .utf8 <IfModule mod_negotiation.c> LanguagePriority ar en da nl et fi fr de el it ja ko kr no pl pt pt-br ro ru ltz ca es sk sv th tr zh-cn zh-tw zh-cn </IfModule> AddType application/x-tar .tgz </IfModule> DefaultType text/plain <IfModule mod_mime_magic.c> MIMEMagicFile /orad59/10gAS/infrastructure/Apache/Apache/conf/magic </IfModule> HostnameLookups Off ErrorLog "|/orad59/10gAS/infrastructure/Apache/Apache/bin/rotatelogs /orad59/10gAS/infrastructure/Apache/Apache/logs/error_log 43200" LogLevel warn LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent CustomLog "|/orad59/10gAS/infrastructure/Apache/Apache/bin/rotatelogs /orad59/10gAS/infrastructure/Apache/Apache/logs/access_log 43200" common ServerSignature On <IfModule mod_alias.c> Alias /icons/ "/orad59/10gAS/infrastructure/Apache/Apache/icons/" Alias /jservdocs/ "/orad59/10gAS/infrastructure/Apache/Jserv/docs/" Alias /javacachedocs/ "/orad59/10gAS/infrastructure/javacache/javadoc/" <IfModule mod_perl.c> Alias /perl/ "/orad59/10gAS/infrastructure/Apache/Apache/cgi-bin/" </IfModule> <Directory "/orad59/10gAS/infrastructure/Apache/Apache/icons"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory> ScriptAlias /cgi-bin/ "/orad59/10gAS/infrastructure/Apache/Apache/cgi-bin/" <Directory "/orad59/10gAS/infrastructure/Apache/Apache/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory> </IfModule> <IfModule mod_autoindex.c> IndexOptions FancyIndexing AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip AddIconByType (TXT,/icons/text.gif) text/* AddIconByType (IMG,/icons/image2.gif) image/* AddIconByType (SND,/icons/sound2.gif) audio/* AddIconByType (VID,/icons/movie.gif) video/* AddIcon /icons/binary.gif .bin .exe AddIcon /icons/binhex.gif .hqx AddIcon /icons/tar.gif .tar AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip AddIcon /icons/a.gif .ps .ai .eps AddIcon /icons/layout.gif .html .shtml .htm .pdf AddIcon /icons/text.gif .txt AddIcon /icons/c.gif .c AddIcon /icons/p.gif .pl .py AddIcon /icons/f.gif .for AddIcon /icons/dvi.gif .dvi AddIcon /icons/uuencoded.gif .uu AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl AddIcon /icons/tex.gif .tex AddIcon /icons/bomb.gif core AddIcon /icons/back.gif .. AddIcon /icons/hand.right.gif README AddIcon /icons/folder.gif ^^DIRECTORY^^ AddIcon /icons/blank.gif ^^BLANKICON^^ ReadmeName README HeaderName HEADER IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t </IfModule> <IfModule mod_setenvif.c> BrowserMatch "Mozilla/2" nokeepalive BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 BrowserMatch "RealPlayer 4\.0" force-response-1.0 BrowserMatch "Java/1\.0" force-response-1.0 BrowserMatch "JDK/1\.0" force-response-1.0 </IfModule> <Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from localhost ge1ssd04.test.com ge1ssd04 </Location> SetEnv PERL5LIB "/orad59/10gAS/infrastructure/perl/lib/5.6.1:/orad59/10gAS/infrastructure/perl/lib/site_perl/5.6.1" <IfModule mod_perl.c> PerlModule Apache PerlModule Apache::Registry <Location /perl> SetHandler perl-script PerlHandler Apache::Registry AddHandler perl-script .pl Options +ExecCGI PerlSendHeader On </Location> </IfModule> <DirectoryMatch /WEB-INF/> Order deny,allow Deny from all </DirectoryMatch> <IfModule mod_fastcgi.c> Alias /fastcgi/ "/orad59/10gAS/infrastructure/Apache/fastcgi/" ScriptAlias /fcgi-bin/ "/orad59/10gAS/infrastructure/Apache/Apache/fcgi-bin/" <Directory "/orad59/10gAS/infrastructure/Apache/Apache/fcgi-bin"> AllowOverride None Options None Order allow,deny Allow from all SetHandler fastcgi-script <IfModule mod_ossl.c> SSLOptions +StdEnvVars </IfModule> </Directory> </IfModule> PassEnv ORACLE_HOME PassEnv LD_LIBRARY_PATH PassEnv NLS_LANG PassEnv TNS_ADMIN <IfModule mod_oprocmgr.c> <Location /oprocmgr-service> SetHandler oprocmgr-service Order deny,allow Deny from all Allow from localhost ge1ssd04.test.com ge1ssd04 </Location> <Location /oprocmgr-status> SetHandler oprocmgr-status Order deny,allow Deny from all Allow from localhost ge1ssd04.test.com ge1ssd04 </Location> </IfModule> include "/orad59/10gAS/infrastructure/Apache/Apache/conf/mod_oc4j.conf" include "/orad59/10gAS/infrastructure/Apache/Apache/conf/dms.conf" LoadModule rewrite_module libexec/mod_rewrite.so include "/orad59/10gAS/infrastructure/Apache/Apache/conf/ssl.conf" include "/orad59/10gAS/infrastructure/Apache/Apache/conf/mod_osso.conf" include "/orad59/10gAS/infrastructure/Apache/Apache/conf/oracle_apache.conf" ################################################################################# # MY ADDITIONS TO HTTPD.CONF GO BELOW HERE.... ################################################################################# LoadModule my_auth_module /opt/myagent/apache/lib/libmy_apache_agent_mod_ssl.so AddModule my_apache_mod.c <IfModule my_apache_mod.c> MYAgentRoot /opt/myagent/apache </IfModule> <IfModule my_apache_mod.c> <Location /> AuthType Basic Require valid-user AuthName MYAUTH </Location> </IfModule> <IfModule my_apache_mod.c> Alias /mydir/ "/orad59/10gAS/infrastructure/j2ee/OC4J_SECURITY/applications/sso/web/jsp/myagentdir/" <Directory "/orad59/10gAS/infrastructure/j2ee/OC4J_SECURITY/applications/sso/web/jsp/myagentdir/"> AuthType Basic Require valid-user AuthName MYAUTH </Directory> </IfModule> --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx