Re: [EMAIL PROTECTED] how to male a cron entry from apache server

2005-09-12 Thread Chris Knipe
On Mon, Sep 12, 2005 at 06:59:45PM +0530, Arun Naik wrote: > > > > > Hi, > I am running a script which will make a crontab entry in the name of root. > Problem is apache server runs as user apache. The crontab path is > /var/spool/cron/username (here root). The directory cron has rwx permission

Re: [EMAIL PROTECTED] rewritemap help?

2005-08-16 Thread Chris Knipe
Try something like RewriteCond ${MyMap:%{HTTP_HOST}|not-found} !=not-found RewriteRule (.*) http://${MyMap:%{HTTP_HOST}}$1 And be sure to use the RewriteLog to help you debug. Joshua, Just one more thing very quickly (I haven't tested, it's on a production server now), Can I put wildcard re

Re: [EMAIL PROTECTED] Parsing .htm extensions as .php extensions

2005-08-16 Thread Chris Knipe
Isn't that one a bit obvious? Add .htm to the list??? -- Chris. - Original Message - From: "David Blomstrom" <[EMAIL PROTECTED]> To: Sent: Tuesday, August 16, 2005 11:15 AM Subject: Re: [EMAIL PROTECTED] Parsing .htm extensions as .php extensions OK, you're talking about Apache's

Re: [EMAIL PROTECTED] rewritemap help?

2005-08-16 Thread Chris Knipe
Solved. Thank you very VERY much for the help Joshua. :) -- Chris. - Original Message - From: "Chris Knipe" <[EMAIL PROTECTED]> To: Sent: Tuesday, August 16, 2005 10:22 AM Subject: Re: [EMAIL PROTECTED] rewritemap help? RewriteCond %{HTTP_HOST} ^${MyMap:%{HTTP_HOS

Re: [EMAIL PROTECTED] rewritemap help?

2005-08-16 Thread Chris Knipe
RewriteCond %{HTTP_HOST} ^${MyMap:%{HTTP_HOST}}$ RewriteRule ^(.{MyMap:%{HTTP_HOST}})$ of the key>$1 [P] Basically, anything to host 1, proxy to host 2. The main reason wanting to use a external map, is so that we can add/remove/modify mappings on the fly without having to restart apache

Re: [EMAIL PROTECTED] rewritemap help?

2005-08-15 Thread Chris Knipe
On 8/15/05, Chris Knipe <[EMAIL PROTECTED]> wrote: Afternoon, the.file: my.web.site my.internal.web.site apache conf: RewriteEngine On RewriteMap MyMap txt:the.file Now, what I'm not sure about If I add xyz.com and internal.xyz.com to the.file, I want apache to dynamically

[EMAIL PROTECTED] rewritemap help?

2005-08-15 Thread Chris Knipe
Afternoon, the.file: my.web.site my.internal.web.site apache conf: RewriteEngine On RewriteMap MyMap txt:the.file Now, what I'm not sure about If I add xyz.com and internal.xyz.com to the.file, I want apache to dynamically detect that xyz.com is in the file, and PROXY [P] the request to

[EMAIL PROTECTED] mod_rewrite / rewrite_map

2005-08-15 Thread Chris Knipe
Hi, Just a quickie I think Does apache require a restart / graceful when a rewrite_map is updated (the actual text file it reads from), and if not, how often is the file checked for updates?? Thanks, Chris - The offi

[EMAIL PROTECTED] resume downloads

2005-08-10 Thread Chris Knipe
Hi,Something strangeBoth systems, FreeBSD 5.4, Apache-modssl (v1.3) via ports.  The new server was installed to replace the old server that had some faulty hard drives.Apache's configuration, content, and other data was copied from the old server to the new one, the only thing modified

Re: [EMAIL PROTECTED] Ignore requests

2005-05-11 Thread Chris Knipe
Printing logs is really arb yes... Anyways, you can ignore the requests with mod_security. It will return a 500 to the client. -- Chris. On Wed, May 11, 2005 at 09:08:34AM +0200, Axel-St?phane SMORGRAV wrote: > I am not going to ask why logs are printed in real-time to a dot-matrix > printer