Andy Dean writes:
> Am fairly new to linux but i think i`ve managed to configure apache some
> where near the mark but when i try to view the BackupPC_Admin script in the
> browser window all i get is the text in that file. has anyone got any
> pointers or suggestions for me, thanks.
Apache isn't executing the script as a CGI, instead it is just serving
it up as a file. Some of the relevant configuration settings are:
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
# "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
Allow from all
Your paths could be different.
From: David Cramblett <david@ax...> - 2003-09-18 22:48:45
How can I view the compressed transfer logs from the command line?
I tried unzip and gunzip with no luck, so I assume that these files are
created with the perl Compress::Zlib, which I am not to familiar with.
Some of my logs get to big to try and view with the cgi interface.
From: David Holland <david.holland@tr...> - 2003-09-19 20:06:07
On Thu, Sep 18, 2003 at 10:03:20AM -0700, David Cramblett wrote:
> How can I view the compressed transfer logs from the command line?
:: David Holland :: Systems Manager :: Trigenix Ltd :: +44 01223 478900 ::