[Apache::ASP] vim Syntax-File
Has anyone ever come across or created a vim syntax-file for Apache::ASP? I'm fairly sure there would have to be one or two out there... Brad --- B Eng Soft Eng Griffith University, Nathan QLD, Australia
Re: No data
On Fri, Oct 13, 2000 at 05:57:25PM -0400, Dragomir Kamenov wrote: > >The document contained no data. > >Try again later, or contact the server's administrator. > > A similar problem is mentioned in the PHP FAQ - > http://www.php.net/FAQ.php#10.1 > > It suggests that Apache might be core-dumping; you might want to run a > similar test on your box. > > Hope this helps > > Drago > Thanks Drago, tried the same test as described on PHP.net. Got the following errors: Program received signal SIGSEGV, Segmentation fault. 0x401f1234 in perl_header_parser () from /usr/local/apache/libexec/libperl.so Did the backtrace and got this: #0 0x401f1234 in perl_header_parser () from /usr/local/apache/libexec/libperl.so #1 0x8077f24 in run_method () #2 0x8078028 in ap_header_parse () #3 0x808b9f9 in process_request_internal () #4 0x808bdac in ap_process_request () #5 0x80835be in child_main () #6 0x808376c in make_child () #7 0x80838c9 in startup_children () #8 0x8083ef6 in standalone_main () #9 0x8084693 in main () #10 0x400bb9cb in __libc_start_main (main=0x808433c , argc=4, argv=0xbac4, init=0x804f6f8 <_init>, fini=0x80ba7fc <_fini>, rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbabc) at ../sysdeps/generic/libc-start.c:92 Well at least I've got a better idea of what's wrong. Hopefully it'll get fixed. Brad
Re: No data
I realised that already Olivier, thanks for trying to help. I was trying put across the point in my previous email that I had tried your suggestion and was using that as my basis for justifying that mod_perl was the cause. Perhaps you meant that I should comment out PHP4? Brad Brad Dick B Eng Soft Eng Griffith University Queensland Australia
No data
I'm currently running Red Hat 6.2, and running Apache 1.3.12 (built from source). I'm trying to get mod_perl installed and configured. I install mod_perl via APXS and I get the following error in Netscape. The document contained no data. Try again later, or contact the server's administrator. I'm stumped on the cause of the error. I've tracked it down to mod_perl, because the error doesn't occur when I comment out the mod_perl entries in httpd.conf. I have also tried compiling mod_perl into Apache statically, but the error still occurs (and I have to re-compile Apache to get rid of the error). Am I missing entries in my httpd.conf? I've attached it for anyone who may be able to help Any help at all would be appreciated Brad ----- Brad Dick B Eng Soft Eng Griffith University QLD 4111 Australia - ## ## httpd.conf -- Apache HTTP server configuration file ## # # Based upon the NCSA server configuration files originally by Rob McCool. # # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See http://www.apache.org/docs/> for detailed information about # the directives. # # Do NOT simply read the instructions in here without understanding # what they do. They're here only as hints or reminders. If you are unsure # consult the online docs. You have been warned. # # After this file is processed, the server will look for and process # /usr/local/apache/conf/srm.conf and then /usr/local/apache/conf/access.conf # unless you have overridden these with ResourceConfig and/or # AccessConfig directives here. # # The configuration directives are grouped into three basic sections: # 1. Directives that control the operation of the Apache server process as a # whole (the 'global environment'). # 2. Directives that define the parameters of the 'main' or 'default' server, # which responds to requests that aren't handled by a virtual host. # These directives also provide default values for the settings # of all virtual hosts. # 3. Settings for virtual hosts, which allow Web requests to be sent to # different IP addresses or hostnames and have them handled by the # same Apache server process. # # Configuration and logfile names: If the filenames you specify for many # of the server's control files begin with "/" (or "drive:/" for Win32), the # server will use that explicit path. If the filenames do *not* begin # with "/", the value of ServerRoot is prepended -- so "logs/foo.log" # with ServerRoot set to "/usr/local/apache" will be interpreted by the # server as "/usr/local/apache/logs/foo.log". # ### Section 1: Global Environment # # The directives in this section affect the overall operation of Apache, # such as the number of concurrent requests it can handle or where it # can find its configuration files. # # # ServerType is either inetd, or standalone. Inetd mode is only supported on # Unix platforms. # ServerType standalone # # ServerRoot: The top of the directory tree under which the server's # configuration, error, and log files are kept. # # NOTE! If you intend to place this on an NFS (or otherwise network) # mounted filesystem then please read the LockFile documentation # (available at http://www.apache.org/docs/mod/core.html#lockfile>); # you will save yourself a lot of trouble. # # Do NOT add a slash at the end of the directory path. # ServerRoot /usr/local/apache # # The LockFile directive sets the path to the lockfile used when Apache # is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or # USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at # its default value. The main reason for changing it is if the logs # directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL # DISK. The PID of the main server process is automatically appended to # the filename. # #LockFile /usr/local/apache/logs/httpd.lock # # PidFile: The file in which the server should record its process # identification number when it starts. # PidFile /usr/local/apache/logs/httpd.pid # # ScoreBoardFile: File used to store internal server process information. # Not all architectures require this. But if yours does (you'll know because # this file will be created when you run Apache) then you *must* ensure that # no two invocations of Apache share the same scoreboard file. # ScoreBoardFile /usr/local/apache/logs/httpd.scoreboard # # In the standard configuration, the server will process this file, # srm.conf, and access.conf in that order. The latter two files are # now distributed empty, as it is reco
[Apache::ASP] .htaccess permission denied in examples
I've tried installing Apache:ASP on my personal web server, but I can't get any of the ASP files to work. Also, I can't seem to view the .htaccess file from the eg directory that came with the installation. I'm running Apache 1.3.12, mod_perl 1.24, and apache::asp 2.01. I think the reason the asp files won't work has something to do with the permissions on the .htaccess file. Can anyone help me? I feel so silly having to ask something that seems so easy. I get this error on clicking the .htaccess link on the example page. ___ Forbidden You don't have permission to access /asp/eg/.htaccess on this server. Apache/1.3.12 Server at kk208.ocsstud.gu.edu.au Port 80 ___ Here's the permissions on the eg directory: ___ total 64 drwxr-xr-x2 brad brad 1024 Aug 1 20:24 . drwxr-xr-x4 brad brad 1024 Aug 1 19:54 .. -rw-r--r--1 brad brad 135 Jul 23 09:00 .asp -rw-r--r--1 brad brad 100 Jul 23 09:00 .bhtaccess -rw-r--r--1 brad brad 1760 Aug 1 20:08 .htaccess -rw-r--r--1 brad brad 344 Jul 23 09:00 DemoASP.pm -rw-r--r--1 brad brad 685 Aug 1 20:17 application.asp -rw-r--r--1 brad brad 762 Jul 23 09:00 binary_write.htm -rw-r--r--1 brad brad 1806 Jul 23 09:00 cgi.htm -rw-r--r--1 brad brad 545 Jul 23 09:00 counting.htm -rw-r--r--1 brad brad 60 Jul 23 09:00 default.htm -rw-r--r--1 brad brad 1573 Jul 23 09:00 dynamic_includes.htm -rw-r--r--1 brad brad 436 Jul 23 09:00 error_document.htm -rw-r--r--1 brad brad 1818 Jul 23 09:00 file_upload.asp -rw-r--r--1 brad brad 100 Jul 23 09:00 footer.inc -rw-r--r--1 brad brad 569 Jul 23 09:00 form.asp -rw-r--r--1 brad brad 4461 Jul 23 09:00 global.asa -rw-r--r--1 brad brad 2202 Jul 23 09:00 global_asa_demo.asp -rw-r--r--1 brad brad 3108 Jul 23 09:00 header.inc -rw-r--r--1 brad brad 418 Jul 23 09:00 include.htm -rw-r--r--1 brad brad 60 Jul 23 09:00 index.htm -rw-r--r--1 brad brad 1262 Jul 23 09:00 index.html -rw-r--r--1 brad brad 1148 Jul 23 09:00 register_cleanup.asp -rw-r--r--1 brad brad 2702 Jul 23 09:00 response.asp -rw-r--r--1 brad brad 87 Jul 23 09:00 row.inc -rw-r--r--1 brad brad 873 Jul 23 09:00 server.htm -rw-r--r--1 brad brad 782 Jul 23 09:00 server_variables.htm -rw-r--r--1 brad brad 1388 Jul 23 09:00 session.asp -rw-r--r--1 brad brad 1346 Jul 23 09:00 session_query_parse.asp -rw-r--r--1 brad brad 60 Aug 1 20:13 source.asp -rw-r--r--1 brad brad 1284 Jul 23 09:00 source.inc -rw-r--r--1 brad brad 835 Jul 23 09:00 ssi_filter.ssi -rw-r--r--1 brad brad 1199 Jul 23 09:00 syntax_error.htm -rw-r--r--1 brad brad 104 Jul 23 09:00 table.inc -rw-r--r--1 brad brad 692 Jul 23 09:00 template.xsl -rw-r--r--1 brad brad 2326 Jul 23 09:00 test.gif -rw-r--r--1 brad brad 105 Jul 23 09:00 transfer.htm -rw-r--r--1 brad brad 2832 Jul 23 09:00 xml_subs.asp -rw-r--r--1 brad brad 933 Jul 23 09:00 xslt.xml - Thanks in advance, Brad - Bachelor of Engineering in Software Engineering, Griffith University