Stumped newbie here. All of the Apache::ASP stuff I'm doing works fine except for redirects. I've wittled down my test case to two simple files. I've included:
- the contents of those (not using a global.asa) - the MSIE resulting page contents - the Apache server-info module list - the error_log (with Debug -2) Any pointers/advice/help will be much appreciated. Thanks. a.asp: ====================================================== <% $Response->Redirect($Server->URL('b.asp')); %> ====================================================== b.asp: ====================================================== <html><head><title>B</title></head> <body><h1>B</h1></body> </html> ====================================================== I asked for a.asp and I get back: ================================================================ OK The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, foo and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. ---------------------------------------------------------------------- ---------- Apache/2.0.48 (Unix) mod_perl/1.99_12 Perl/v5.8.0 mod_ssl/2.0.48 OpenSSL/0.9.6b DAV/2 PHP/4.3.4 Server at xxx Port yyyy =============================================================== servier-info shows that I have these modules installed: mod_perl.c, sapi_apache2.c, mod_so.c, mod_rewrite.c, mod_alias.c, mod_userdir.c, mod_actions.c, mod_imap.c, mod_dir.c, mod_negotiation.c, mod_dav_fs.c, mod_cgi.c, mod_info.c, mod_asis.c, mod_autoindex.c, mod_status.c, mod_dav.c, mod_mime.c, http_core.c, prefork.c, mod_ssl.c, proxy_http.c, proxy_ftp.c, proxy_connect.c, mod_proxy.c, mod_setenvif.c, mod_env.c, mod_log_config.c, mod_include.c, mod_auth.c, mod_access.c =============================================================== The error_log shows the redirect trying to happen: =============================================================== [Sat Jan 03 19:07:21 2004] [error] [asp] [10446] [debug] RUN ASP (v2.55) for /usr/local/apache2/htdocs/pdxex/a.asp [Sat Jan 03 19:07:21 2004] [error] [asp] [10446] [debug] call srand() post fork [Sat Jan 03 19:07:21 2004] [error] [asp] [10446] [debug] GlobalASA package Apache::ASP::Compiles::__ASP__usr_local_apache2_htdocs_pd_e___x [Sat Jan 03 19:07:21 2004] [error] [asp] [10446] [debug] global.asa was not cached for __ASP__usr_local_apache2_htdocs_pd_e___xxApache::ASP::Compiles::__ASP_ _usr_local_apache2_htdocs_pd_e___x [Sat Jan 03 19:07:21 2004] [error] [asp] [10446] [debug] creating dbm for file /tmp/pdxexasp/server/internal, db SDBM_File, serializer: Data::Dumper [Sat Jan 03 19:07:21 2004] [error] [asp] [10446] [debug] creating dbm for file /tmp/pdxexasp/server/application, db SDBM_File, serializer: Data::Dumper [Sat Jan 03 19:07:21 2004] [error] [asp] [10446] [debug] refreshing 0b4a7ba477c8f5f3e2bb022b8b1f0708 with timeout 1073186541 [Sat Jan 03 19:07:21 2004] [error] [asp] [10446] [debug] new session id 0b4a7ba477c8f5f3e2bb022b8b1f0708 [Sat Jan 03 19:07:21 2004] [error] [asp] [10446] [debug] creating dbm for file /tmp/pdxexasp/0b/0b4a7ba477c8f5f3e2bb022b8b1f0708, db SDBM_File, serializer: Data::Dumper [Sat Jan 03 19:07:21 2004] [error] [asp] [10446] [debug] tieing session 0b4a7ba477c8f5f3e2bb022b8b1f0708 [Sat Jan 03 19:07:21 2004] [error] [asp] [10446] [debug] clearing starting session [Sat Jan 03 19:07:21 2004] [error] [asp] [10446] [debug] Session_OnStart - session: 0b4a7ba477c8f5f3e2bb022b8b1f0708; [Sat Jan 03 19:07:21 2004] [error] [asp] [10446] [debug] parse file /usr/local/apache2/htdocs/pdxex/a.asp [Sat Jan 03 19:07:21 2004] [error] [asp] [10446] [debug] parsing /usr/local/apache2/htdocs/pdxex/a.asp [Sat Jan 03 19:07:21 2004] [error] [asp] [10446] [debug] undefing sub Apache::ASP::Compiles::__ASP__usr_local_apache2_htdocs_pd_e___x::__ASP _sr_local_apache2_htdocs_pd_e__a_aspx1d06dfa42d737ebbadab418fd0b72e18x INC code CODE(0x854dd34) [Sat Jan 03 19:07:21 2004] [error] [asp] [10446] [debug] compiling into package Apache::ASP::Compiles::__ASP__usr_local_apache2_htdocs_pd_e___x subid [Apache::ASP::Compiles::__ASP__usr_local_apache2_htdocs_pd_e___x::__AS P_sr_local_apache2_htdocs_pd_e__a_aspx1d06dfa42d737ebbadab418fd0b72e18 xINC] [Sat Jan 03 19:07:21 2004] [error] [asp] [10446] [debug] executing Apache::ASP::Compiles::__ASP__usr_local_apache2_htdocs_pd_e___x::__ASP _sr_local_apache2_htdocs_pd_e__a_aspx1d06dfa42d737ebbadab418fd0b72e18x INC [Sat Jan 03 19:07:21 2004] [error] [asp] [10446] [debug] redirect called - location: b.asp; [Sat Jan 03 19:07:21 2004] [error] [asp] [10446] [debug] building headers [Sat Jan 03 19:07:21 2004] [error] [asp] [10446] [debug] status 302 [Sat Jan 03 19:07:21 2004] [error] [asp] [10446] [debug] sending cgi headers [Sat Jan 03 19:07:21 2004] [error] [asp] [10446] [debug] ASP Done Processing Apache::ASP=HASH(0x8742cf0) - Application: Apache::ASP::Application=HASH(0x83b8500); GlobalASA: Apache::ASP::GlobalASA=HASH(0x8742e10); Internal: Apache::ASP::State=HASH(0x830f894); Request: Apache::ASP::Request=HASH (0x8742ed0); Response: Apache::ASP::Response=HASH(0x87454ac); Server: Apache::ASP::Server=HASH(0x87453d4); Session: Apache::ASP::Session=HASH(0x84f1068); app_state: 1; basename: a.asp; cleanup: ARRAY(0x8742c6c); compile_checksum: 5db92c034b9d636840ead0ae200ebc22; compile_includes: ; compile_perl_count: 1; cookie_domain: ; cookie_path: /; dbg: 2; debugs_output: ARRAY(0x8742c90); destroy: 1; dir_config: APR::Table=HASH(0x8742bc4); dirname: /usr/local/apache2/htdocs/pdxex/; filename: /usr/local/apache2/htdocs/pdxex/a.asp; global: /usr/local/apache2/htdocs/pdxex//.; global_package: ; group_refresh: 90; headers_in: APR::Table=HASH(0x8742c24); includes_dir: ARRAY(0x8742ccc); init_packages: ARRAY(0x875b348); inode_names: ; lang_comment: #; lang_language: PerlScript; lang_module: Apache::ASP::Lang::PerlScript; lang_object: Apache::ASP::Lang::PerlScript=HASH(0x855b808); no_cache: ; package: Apache::ASP::Compiles::__ASP__usr_local_apache2_htdocs_pd_e___x; paranoid_session: ; parse_config: 1; parse_file_count: 1; pod_comments: 1; r: Apache::RequestRec=SCALAR(0x86704cc); remote_ip: 198.79.9.114; request_binary_read: 1; response_tied: 1; run_perl_script: SCALAR(0x8695c6c); search_dirs_cache: HASH (0x854dba8); secure_session: ; session_count: ; session_id: 0b4a7ba477c8f5f3e2bb022b8b1f0708; session_serialize: ; session_state: 1; session_timeout: 900; session_url: ; session_url_force: ; session_url_match: ; session_url_parse: ; session_url_parse_match: ; start_time: 1073185641; stat_inc: ; stat_inc_match: ; stat_scripts: 1; state_db: ; state_dir: /tmp/pdxexasp; state_manager: 10; state_serialize: ; state_serializer: ; ua: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322); use_strict: 1; win32: 0; xml_subs_match: ; xml_subs_perl_args: 1; xml_subs_strict: ; xslt: ; [Sat Jan 03 19:07:21 2004] [error] [asp] [10446] [debug] destroying ASP object Apache::ASP=HASH(0x8742cf0) [Sat Jan 03 19:07:21 2004] [error] [asp] [10446] [debug] testing internal time for cleanup groups [Sat Jan 03 19:07:21 2004] [error] [asp] [10446] [debug] current_master - Checked: 1073185567; PID: 10426; ServerID: 35ca5b3c7d8b6426; - is_master - 0 [Sat Jan 03 19:07:21 2004] [error] [asp] [10446] [debug] 1073185643 time is fresh, is_master 0 - Checked: 1073185567; PID: 10426; ServerID: 35ca5b3c7d8b6426; ==================================================================== --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]