[EMAIL PROTECTED] Change LimitRequestBody for one directory without htaccess

2006-02-02 Thread Tom Cat
For one subdirectory in our document root, I want to change LimitRequestBody to a much higher number. The catch is I don't want to allowoverride, so using an htaccess file is not possible. What I did was create an alias and then did an directory tag for the alias. Is this the best way? Is there

[EMAIL PROTECTED] Premature end of script headers

2006-02-21 Thread Tom Cat
All of my perl scripts generate this error when I try to have Apache serve them. I'm on RHEL with Apache 2.0.52. The simplest script I have is: #!/usr/bin/perl print "Hello"; In the error log I'm told: [Tue Feb 21 08:57:48 2006] [error] [client 10.33.1.32] Premature end of script headers: hello.

Re: [EMAIL PROTECTED] Premature end of script headers

2006-02-21 Thread Tom Cat
On 2/21/06, Matt Weston <[EMAIL PROTECTED]> wrote: > Try changing it to hello.pl > Thanks. Just tried that doesn't seem to care what what the file is name or what extension it has, it just keeps giving the Premature end of script headers error. I also tried just now adding use CGI::Carp 'fatalsT

Re: [EMAIL PROTECTED] Premature end of script headers

2006-02-21 Thread Tom Cat
On 2/21/06, Boyle Owen <[EMAIL PROTECTED]> wrote: > > To clear up some of the confusing advice you've been getting: > > - the extension is not important, .cgi is fine. > - you don't need the CGI:Carp module (don't complicate life unnecessarily) Thanks! When I removed this line, it all of a sudden

[EMAIL PROTECTED] password protected dir with unprotected subdir

2006-03-13 Thread Tom Cat
I've set up one directory to be password protected. Alias /work "/work1/" Options Indexes MultiViews AllowOverride None Order allow,deny AuthUserFile /etc/httpd/htpasswords AuthType Basic AuthName "Work1" require user strycat Allow f

[EMAIL PROTECTED] Set Environmental Variable for PHP

2006-03-29 Thread Tom Cat
I'm trying to set ORACLE_HOME so that PHP will connect to Oracle. I first tried to stick the following into /etc/bashrc ORACLE_HOME=/home/oracle/oracle/product/10.2.0/client_1 export ORACLE_HOME That works fine for everyone on the box who has a shell, but the apache user doesn't have a shell so

Re: [EMAIL PROTECTED] Set Environmental Variable for PHP

2006-03-29 Thread Tom Cat
On 3/29/06, Joshua Slive <[EMAIL PROTECTED]> wrote: > On 3/29/06, Tom Cat <[EMAIL PROTECTED]> wrote: > > I'm trying to set ORACLE_HOME so that PHP will connect to Oracle. > > > > I first tried to stick the following into /etc/bashrc > > > > ORACL

Re: [users@httpd] Accessing a usage directory

2005-05-17 Thread Tom Cat
My guess would be SELinux http://mail-archives.apache.org/mod_mbox/httpd-users/200503.mbox/[EMAIL PROTECTED] http://fedora.redhat.com/docs/selinux-apache-fc3/ http://fedora.redhat.com/docs/selinux-faq-fc3/ On 5/16/05, Mike McMullen <[EMAIL PROTECTED]> wrote: > Hi All, > > I'm sure I am doing so

Re: [users@httpd] Problems on Linux

2005-06-06 Thread Tom Cat
On 6/4/05, Patrick Donker <[EMAIL PROTECTED]> wrote: > Exactly! People dont have the time to read the docs, but do have time to > subscribe to and write messages to the list asking for solutions and > wait for them. Where does that time come from then? For most people, it is much quicker to ask s

Re: [EMAIL PROTECTED] Apache and PHP cause Internal Server Errors

2005-08-23 Thread Tom Cat
On 8/22/05, Christopher Malton <[EMAIL PROTECTED]> wrote: The specifics are as follows: > > Gateway Tower PC, Pentium 2 processor. > 128MB RAM (We think. We know it's either 64 or 128) How can you not know what is in your box? > Win 98 SE Win 98SE was great, but now it is time to move on.

Re: [EMAIL PROTECTED] Apache 1.3.33 not compiling proxy (only problem...at the moment)

2005-09-19 Thread Tom Cat
On 9/16/05, Eric Wagar <[EMAIL PROTECTED]> wrote: > But, after the make|make install, I receive these errors: > Starting Apache Server for ewm-test.corp.sgi.com > /engr/apache/site_conf/ewm-test.corp.sgi.com/start : > ewm-test.corp.sgi.com::httpd could not be started > Syntax error on line 230 of >

Re: [EMAIL PROTECTED] Combination of plain and html

2005-10-28 Thread Tom Cat
This sounds more like it could be an SELinux problem too. Check out this page for how to deal with both possible causes: http://www.slingcode.com/apache.php On 10/28/05, Ben Gardiner <[EMAIL PROTECTED]> wrote: > I did as suggested, and still get one kind of error I can't understand. > Here is the

Re: [EMAIL PROTECTED] Apache and PHP

2005-10-31 Thread Tom Cat
Check out http://www.linux-sottises.net/en_apache_install.php Using both PHP and mod_perl together has caused problems in the past (http://slashdot.org/article.pl?sid=00/11/21/1720242), but I think they will play nicely now. FYI, I ditched mod_perl in favor of a PHP a while ago. If I really need

Re: [EMAIL PROTECTED] php extensions, help

2005-10-31 Thread Tom Cat
This is really a PHP question not an Apache question. Check out: http://us2.php.net/manual/en/ref.imap.php "To get these functions to work, you have to compile PHP with --with-imap[=DIR], where DIR is the c-client install prefix. From our example above, you would use --with-imap=/usr/local/imap-

Re: [EMAIL PROTECTED] Can Anyone Recommend A Log Analyzer?

2005-11-16 Thread Tom Cat
I use two. The first is webalizer (http://www.mrunix.net/webalizer/). The reports are usually enough for most small websites. However it does segfault on RHEL 3 and despite posting questions for help on their mailing the problem has not been resolved (I keep an RH9 box around for a number of thi