Re: Disable logging of invalid requests

2008-12-12 Thread Joshua Slive
On Thu, Dec 11, 2008 at 11:32 PM, Mitar mmi...@gmail.com wrote: Hi! Is there a way to disable logging of invalid requests to an HTTP server (which result in a 501 response code)? I would like to log only specific URLs and I am using SetEnvIf with CustomLog to do that, like: SetEnvIf

Re: [EMAIL PROTECTED] Here's a new one (to me).

2008-07-30 Thread Joshua Slive
On Wed, Jul 30, 2008 at 4:20 PM, Grant Peel [EMAIL PROTECTED] wrote: OK, understood, So does that mean that the original problem (my Apache server connecting to an open relay), is starting AT my server itself? This is discussed quite thoroughly at http://wiki.apache.org/httpd/ProxyAbuse

Re: [EMAIL PROTECTED] What is the difference between Directory ~ and DirectoryMatch?

2008-07-25 Thread Joshua Slive
On Fri, Jul 25, 2008 at 11:00 AM, sepeth [EMAIL PROTECTED] wrote: Hi! What is the difference between Directory ~ and DirectoryMatch? just curiosity. None. Just a change in syntax over time because Directory ~ is a little obscure. They work exactly the same. Joshua.

Re: [EMAIL PROTECTED] http header parsing

2008-07-21 Thread Joshua Slive
On Mon, Jul 21, 2008 at 5:33 AM, apache a [EMAIL PROTECTED] wrote: has anyone found a scenarion, wherein based on a condition, the http header will NOT be parsed at all... what the steps involved, after an http request reaches the server, This is a pretty-vague question. Perhaps if you asked

Re: [EMAIL PROTECTED] ProxyPass redirects the request

2008-07-21 Thread Joshua Slive
On Mon, Jul 21, 2008 at 8:51 AM, Merton Campbell Crockett [EMAIL PROTECTED] wrote: On 20 Jul 2008, at 19:19:07, Mohammad Kargar - Indicee wrote: I'm using the following configuration to setup my local Apache as a reverse proxy for the app server (let's call ithttp://www.backend.com/). The

Re: [EMAIL PROTECTED] ACL - access control lists

2008-07-21 Thread Joshua Slive
On Mon, Jul 21, 2008 at 5:58 AM, apache a [EMAIL PROTECTED] wrote: does apache servers use ACLs to check conditions based on the incoming http request URL, even before the header is parsed? I see this is the third time you've asked variants on this question. But without actually explaining what

Re: [EMAIL PROTECTED] Programmatic Authorization Logic

2008-07-05 Thread Joshua Slive
On Sat, Jul 5, 2008 at 8:08 AM, André Warnier [EMAIL PROTECTED] wrote: Ali Sakebi wrote: Thanks for answer. mod_perl (*) is what I was looking for. But is there any Java-based solution like mod_perl available too? Nothing simple that I know of. There are also some modules available at

Re: [EMAIL PROTECTED] Programmatic Authorization Logic

2008-07-05 Thread Joshua Slive
On Sat, Jul 5, 2008 at 4:02 PM, Ali Sakebi [EMAIL PROTECTED] wrote: Thanks a lot for helping. I'm developing a Java web-app and as a part of this web-app I need to let users to upload and share their files with some or all other users. Since these files are static contents I'm going to use

Re: [EMAIL PROTECTED] how does apache serves connections and requests ?

2008-07-01 Thread Joshua Slive
On Tue, Jul 1, 2008 at 3:41 AM, Meir Yanovich [EMAIL PROTECTED] wrote: Thanks for the link so i understand its does not support multiplexer architecture.am i right ? I don't think multiplexer architecture is a well-defined concept. I believe what you are asking about is typically called

Re: [EMAIL PROTECTED] Indexes

2008-06-26 Thread Joshua Slive
On Thu, Jun 26, 2008 at 6:30 PM, William Kanoff [EMAIL PROTECTED] wrote: [Thu Jun 26 14:49:34 2008] [error] [client 71.216.5.1] Directory index forbidden by Options directive: /Users/*/Sites/php/ In my httpd-userdir.conf I have: Directory /home/*/Sites AllowOverride FileInfo

Re: [EMAIL PROTECTED] Indexes

2008-06-26 Thread Joshua Slive
not be brought to the index page? On Jun 26, 2008, at 3:36 PM, Joshua Slive wrote: On Thu, Jun 26, 2008 at 6:30 PM, William Kanoff [EMAIL PROTECTED] wrote: [Thu Jun 26 14:49:34 2008] [error] [client 71.216.5.1] Directory index forbidden by Options directive: /Users/*/Sites/php/ In my httpd

Re: [EMAIL PROTECTED] What is apache compiled with now?

2008-06-25 Thread Joshua Slive
On Wed, Jun 25, 2008 at 8:47 AM, Jay Why [EMAIL PROTECTED] wrote: I want to recompile apache. What command can I run to see what configure command I would need to run to get back the same settings for Apache. In the build/ directory of the installed server there should be a file called

Re: [EMAIL PROTECTED] Forbidden

2008-06-23 Thread Joshua Slive
On Mon, Jun 23, 2008 at 8:26 AM, Bruno Mendoza [EMAIL PROTECTED] wrote: Hi, I have just installed http apache server on linux (Ubuntu 8.04 LST kernel 2.6.24-19-generic) from source files but, after started server, when I try visit localhost I recive the following message Forbidden You

Re: [EMAIL PROTECTED] redirect to url w/query_string ???

2008-06-20 Thread Joshua Slive
On Fri, Jun 20, 2008 at 12:51 PM, Mike Schleif [EMAIL PROTECTED] wrote: It creates rewrite.log; but, does not write anything there. That means your RewriteRules are not being seen at all in the request processing. Exactly where in your config files are you putting them? Joshua.

Re: [EMAIL PROTECTED] Rejecting Invalid URL With a 503 Status

2008-06-13 Thread Joshua Slive
On Fri, Jun 13, 2008 at 12:41 PM, Merton Campbell Crockett [EMAIL PROTECTED] wrote: Looking at the Apache access log, it's clear that Apache is processing a lot of requests from systems probing for vulnerabilities. Rather than have Apache process the request, I would like to immediately

Re: [EMAIL PROTECTED] Apache 2.2.9 download not on any mirror

2008-06-13 Thread Joshua Slive
On Fri, Jun 13, 2008 at 3:25 PM, Graeme Walker [EMAIL PROTECTED] wrote: Hi, Apache 2.2.9 has been officially released however it doesn't appear to be on any mirror, not even the source code. Has something gone wrong? Have a little patience. Mirrors take up to 24 hours to sync. That is why no

Re: [EMAIL PROTECTED] Rejecting Invalid URL With a 503 Status

2008-06-13 Thread Joshua Slive
On Fri, Jun 13, 2008 at 3:40 PM, Merton Campbell Crockett [EMAIL PROTECTED] wrote: Basically, I'm tired of the bullshit. I don't want to spend my life filling out forms explaining to those that haven't a clue that their vulnerability is a false positive. I want to configure Apache to reject

Re: [EMAIL PROTECTED] Windows MPM

2008-06-12 Thread Joshua Slive
On Thu, Jun 12, 2008 at 3:59 AM, Alberto Dondana [EMAIL PROTECTED] wrote: We use IP audio decoder (barix exstreamer) that get music (mp3 files) from a webserver. And unfortunately I have to install webserver on M$ machine. But if we start 4 or more Barix that get music from an Apache2

Re: [EMAIL PROTECTED] Windows MPM

2008-06-11 Thread Joshua Slive
On Wed, Jun 11, 2008 at 11:54 AM, Alberto Dondana [EMAIL PROTECTED] wrote: Dear List, I need to recompile Httpd (unfortunately on windows) in order to change MPM Module from winnt to prefork. How should I do it? I'm able in linux/unix, but I can't find the way to do it in a windows

Re: [EMAIL PROTECTED] how to unload (exclude) a loaded module for a virtual site ?

2008-06-10 Thread Joshua Slive
On Tue, Jun 10, 2008 at 10:48 AM, Yavuz Maslak [EMAIL PROTECTED] wrote: I use apache2.0.x We have many domains on it . There are some loaded modules as default on the server. I want it to exclude a few modules for a virtual site. How can I do that ? Could you give me an example about that

Re: [EMAIL PROTECTED] Building Apache, does --prefix gets hardcoded ?

2008-06-10 Thread Joshua Slive
On Tue, Jun 10, 2008 at 12:38 PM, Jorge Medina [EMAIL PROTECTED] wrote: I am trying to create a tar ball with Apache, Tomcat and my application to be deployed later on a server with the same kernel as the building machine. When building Apache HTTP server, there is an option —prefix passed

Re: [EMAIL PROTECTED] pipelining in real world

2008-06-06 Thread Joshua Slive
On Fri, Jun 6, 2008 at 1:58 PM, Andrew Gaydenko [EMAIL PROTECTED] wrote: Can anybody roughly estimate the fraction of http transactions with pipelining (and persistent, but without pipelining) among all transactions which take place everyday in the world? Why do you want this information?

Re: [EMAIL PROTECTED] RewriteMap question

2008-06-04 Thread Joshua Slive
On Wed, Jun 4, 2008 at 12:00 PM, Josh Trutwin [EMAIL PROTECTED] wrote: We have a RewriteMap program that is kicked off via the following: RewriteMap smc_rewriter prg:/usr/share/php/rewriter.php This works well most of the time, but for heavy use it really can bog down as there is always only

Re: [EMAIL PROTECTED] RewriteMap question

2008-06-04 Thread Joshua Slive
On Wed, Jun 4, 2008 at 12:37 PM, Josh Trutwin [EMAIL PROTECTED] wrote: On Wed, 4 Jun 2008 12:08:28 -0400 Joshua Slive [EMAIL PROTECTED] wrote: Is it possible to start multiple instances of this program? No, not directly. A few possibilities: 1. Try to do whatever you are doing without

Re: [EMAIL PROTECTED] Difference in mod_perl mod_php

2008-06-03 Thread Joshua Slive
On Tue, Jun 3, 2008 at 12:32 PM, howard chen [EMAIL PROTECTED] wrote: On Wed, Jun 4, 2008 at 12:24 AM, Matus UHLAR - fantomas [EMAIL PROTECTED] wrote: - mod_php interprets PHP files and sends them to client If you want apache to parse perl scripts in the same way as mod_php does with php

Re: [EMAIL PROTECTED] Request Filter

2008-06-03 Thread Joshua Slive
On Tue, Jun 3, 2008 at 3:34 AM, living liquid | Christian Meisinger [EMAIL PROTECTED] wrote: i try to write a filter which can block request. i copied and modified mod_authn_dbd which has already some SQL stuff. my problem is that i can't get any configuration settings. I recommend you try the

Re: [EMAIL PROTECTED] redirect to maintenance page

2008-06-03 Thread Joshua Slive
On Mon, Jun 2, 2008 at 4:35 PM, Sagar [EMAIL PROTECTED] wrote: Hi All, I need to make configuration on Apache installed on Windows Server 2003. To redirect to maintenance page. I have three application A, B and C. I access these application as http://server-name/aplication name for example

Re: [EMAIL PROTECTED] AddOutputFilterByType

2008-06-03 Thread Joshua Slive
On Tue, Jun 3, 2008 at 6:42 AM, Ben Davies [EMAIL PROTECTED] wrote: Okay, this is great! Making some real headway here. Your suggestions works as expected. However, I want to throw another spanner in the works :) I have a directory which only contains flac files. I have several bash

Re: [EMAIL PROTECTED] Difference in mod_perl mod_php

2008-06-03 Thread Joshua Slive
On Tue, Jun 3, 2008 at 1:09 PM, howard chen [EMAIL PROTECTED] wrote: It is probably true that mod_perl exposes more of the API than any other similar module. Joshua. Yes, this is the point which I don't understand. Since Perl is embedded into Apache, so is mod_php mean php interpreter

Re: [EMAIL PROTECTED] AddOutputFilterByType

2008-06-02 Thread Joshua Slive
On Mon, Jun 2, 2008 at 10:31 AM, Ben Davies [EMAIL PROTECTED] wrote: Hi Everybody! I've noticed that the directive AddOutputFilterByType has been deprecated in Apache 2.1 and later. Does anyone have a suggestion (or a link) on how one would be able to configure Apache to accomplish the same

Re: [EMAIL PROTECTED] AddOutputFilterByType

2008-06-02 Thread Joshua Slive
On Mon, Jun 2, 2008 at 11:50 AM, Ben Davies [EMAIL PROTECTED] wrote: Sorry, I should have been more explicit: How would you implement AddOutputFilterByType for filters created with ExtFilterDefine? Example: I have a flac file. I have a custom filter that converts flac files to mp3 files.

Re: [EMAIL PROTECTED] ForceType text/plain works for PHP but not for SSI

2008-06-02 Thread Joshua Slive
On Mon, Jun 2, 2008 at 7:15 PM, Ali, Saqib [EMAIL PROTECTED] wrote: I have the following defined for port 81 on a web server that has WebDAV enabled. This forces the httpd to send PHP files unparsed. VirtualHost x.x.x.x:81 DocumentRoot /var/www/html/ Directory

Re: [EMAIL PROTECTED] Consequences of disabling mod_authz_host?

2008-05-31 Thread Joshua Slive
On Sat, May 31, 2008 at 9:37 PM, Eric [EMAIL PROTECTED] wrote: From what I understand, mod_authz_host always performs two DNS lookups per request when mod_authz_host is enabled, regardless of whether any host-based blockings are used. No, that's not true to the best of my knowledge. If it were

Re: [EMAIL PROTECTED] Question about internal dumy connections in httpd-2.28

2008-05-21 Thread Joshua Slive
On Wed, May 21, 2008 at 7:37 AM, Ali Nebi [EMAIL PROTECTED] wrote: Hi, i want to ask about internal dummy connections in apache 2.2.8. I see in the logs records like this: ::1 - - [21/May/2008:13:22:39 +0200] OPTIONS * HTTP/1.0 200 - - Apache/2.2.8 (EL) (internal dummy connection) In

Re: [EMAIL PROTECTED] mod_proxy - proxy aware?

2008-05-21 Thread Joshua Slive
On Wed, May 21, 2008 at 10:41 AM, Chris Franks [EMAIL PROTECTED] wrote: Hi, Our webservers sit behind proxy servers. One one of the web servers, I'm trying to use mod_proxy to proxy content from outside of our network. Can mod_proxy be made aware of the actual proxy servers we have? I'm

Re: [EMAIL PROTECTED] opening files on client

2008-05-19 Thread Joshua Slive
On Mon, May 19, 2008 at 10:20 AM, syed mehdi [EMAIL PROTECTED] wrote: Hi, I have placed a *.abc file at apache server document root (/var/www/html), this application opens with some registered application (say x) on client side. Now whenver i try to open this file from client side (using some

Re: [EMAIL PROTECTED] executing files on server

2008-05-19 Thread Joshua Slive
On Mon, May 19, 2008 at 10:25 AM, syed mehdi [EMAIL PROTECTED] wrote: or say if i want to execute some exe like *.exe instead of *.abc on server side, then where should i place that on server and what changes should i make. any help will be appreciated. The second part of your question is

Re: [EMAIL PROTECTED] hardening apache

2008-05-14 Thread Joshua Slive
On Wed, May 14, 2008 at 1:05 PM, anil saini bits [EMAIL PROTECTED] wrote: hello suggest me some steps for hardening my apache web server i have 50 users who is using web server with thr seperate accounts most importantly how to provide security to own user folders so that other can get

Re: [EMAIL PROTECTED] Apache Security Problem

2008-05-14 Thread Joshua Slive
On Wed, May 14, 2008 at 10:31 AM, Andre Hübner [EMAIL PROTECTED] wrote: Hi List, System: Suse 10.1, Apache 2.2.8 it seems that i have a security problem with script-created symlinks. I have a little php-script that creates with symlink(); a symbolic link to other file of other user. when

Re: [EMAIL PROTECTED] Reverse Reverse Proxy?

2008-05-14 Thread Joshua Slive
On Wed, May 14, 2008 at 10:31 AM, Tod [EMAIL PROTECTED] wrote: I have two web servers both running Apache 2.x. All intranet content is served to users by ServerA. There is an application running on ServerB that I would like ServerA to redirect requests to. When this redirect is done I'd

Re: [EMAIL PROTECTED] Can't disable Indexes with Options -Indexes

2008-05-13 Thread Joshua Slive
On Tue, May 13, 2008 at 7:58 PM, Mark Slater [EMAIL PROTECTED] wrote: I'm able to recompile apache to disable the auto-indexing, but I'd like to also have it disabled in the configuration files by default because I won't always be able to control how apache gets compiled for a production

Re: [EMAIL PROTECTED] Why include Content-Length in type-maps?

2008-05-09 Thread Joshua Slive
On Fri, May 9, 2008 at 8:09 AM, Mathias [EMAIL PROTECTED] wrote: Are there any benefits of including Content-Length in type-maps? I do not understand the need to overwrite this option when Apache is perfectly capable of retrieving the information on it#8217;s own. Are there performance

Re: [EMAIL PROTECTED] Odd CGI behavior

2008-05-09 Thread Joshua Slive
On Thu, May 8, 2008 at 5:28 PM, Gord Ripley [EMAIL PROTECTED] wrote: Hi: I have a puzzle that has been nagging me all day. I'm POSTing from a TextArea to a CGI script that reads STDIN and writes the result to a file. File size is about 5K. Three times out of five the routines work perfectly.

Re: [EMAIL PROTECTED] CGI without displaying script in URI

2008-05-05 Thread Joshua Slive
On Mon, May 5, 2008 at 2:59 AM, Justin Jereza [EMAIL PROTECTED] wrote: Hello. How can I configure Apache to make a CGI script respond to all requests to / or any other arbitrary location and all locations under that without showing the name of script in the URI? The best I can do is

Re: [EMAIL PROTECTED] Limit on ServerName?

2008-05-02 Thread Joshua Slive
On Fri, May 2, 2008 at 12:26 AM, Prasanna Ram Venkatachalam [EMAIL PROTECTED] wrote: Hi Friends, Is there any character limit in mentioning Server name using ServerName directive? I haven't checked the code, but I'm pretty sure you'll run into limits in browsers or in the DNS system before

Re: [EMAIL PROTECTED] Cache configuration advice

2008-05-02 Thread Joshua Slive
On Fri, May 2, 2008 at 6:22 AM, Marko Asplund [EMAIL PROTECTED] wrote: On Wed, 30 Apr 2008 18:37:35 Joshua Slive wrote: As far as I've understood the below setup would not correctly cache request content when using request parameters (requires Expires header). What would

Re: [EMAIL PROTECTED] Accessing the request URI header

2008-05-02 Thread Joshua Slive
On Fri, May 2, 2008 at 7:45 PM, Daniel Aleksandersen [EMAIL PROTECTED] wrote: Hi list, Header always set Content-Location http://www.domain.tld/{REQUEST_URI} Looks great, right? Well, it does not work great. How do I get the request URI into the above wild-guess-at-a-syntax? Header

Re: [EMAIL PROTECTED] mod_vhost_alias

2008-04-30 Thread Joshua Slive
On Wed, Apr 30, 2008 at 9:55 AM, Mário Gamito [EMAIL PROTECTED] wrote: Hi, I've compiled Apache 1.3.37 with mod_vhost_alias: # ./configure --enable-module=vhost_alias --enable-shared=vhost_alias I have: AddModule mod_vhost_alias.c in my httpd.conf, but Apache won't start, it says:

Re: [EMAIL PROTECTED] Cache configuration advice

2008-04-30 Thread Joshua Slive
On Wed, Apr 30, 2008 at 8:37 AM, Marko Asplund [EMAIL PROTECTED] wrote: As far as I've understood the below setup would not correctly cache request content when using request parameters (requires Expires header). What would be the best way to fix this? See the CacheIgnoreQueryString

Re: [EMAIL PROTECTED] Using mod_vhost_alias with a VirtualHost in httpd.conf

2008-04-30 Thread Joshua Slive
On Wed, Apr 30, 2008 at 10:30 AM, Mário Gamito [EMAIL PROTECTED] wrote: Hi, I have this 1.3.37 Apache with mod_rewrite, mod_alias and mod_vhost_alias installed. Why are you using 1.3? Version 2.2 would be a much better choice. In httpd.conf I have a Virtual Host: VirtualHost

Re: [EMAIL PROTECTED] Convert # to Ascii %23

2008-04-30 Thread Joshua Slive
On Wed, Apr 30, 2008 at 11:49 AM, Phil Pinkerton [EMAIL PROTECTED] wrote: On Wed, Apr 30, 2008 at 11:30 AM, Joshua Slive [EMAIL PROTECTED] wrote: The point is, the # and following stuff never make it to the server; they are eaten by the client. To fix the problem, you need

Re: [EMAIL PROTECTED] Problem with sendfile on VMware ESX

2008-04-30 Thread Joshua Slive
On Wed, Apr 30, 2008 at 12:31 PM, Otávio C. Cordeiro [EMAIL PROTECTED] wrote: Hi, I was setting Apache (2.2.6) to run on a Linux ESX (VMware ESX 3.5) but the environment is presenting some problems. Every non-SSL connection with mime 'text/html' breaks on 255 chars. $ curl --head

Re: [EMAIL PROTECTED] htdigest

2008-04-29 Thread Joshua Slive
On Tue, Apr 29, 2008 at 2:21 AM, Marta Gros Marín [EMAIL PROTECTED] wrote: Hi, thanks for answering. Can you please tell me why it is better to manipulate the password file directly rather than calling htdigest or htpasswd? thanks. Mostly for security reasons, really (although it would be much

Re: [EMAIL PROTECTED] question on log time entry in the Apache access log

2008-04-29 Thread Joshua Slive
On Tue, Apr 29, 2008 at 7:07 AM, Arnab Ganguly [EMAIL PROTECTED] wrote: Hi All, My query is , in apache access_log we get the entry of 127.0.0.1 - frank [10/Oct/2000:13:55:36 -0700] GET /apache_pb.gif HTTP/1.0 200 2326 What the log document says is 10/Oct/2000:13:55:36 is the time when

Re: [EMAIL PROTECTED] error in mod_auth_digest documentation

2008-04-29 Thread Joshua Slive
On Tue, Apr 29, 2008 at 8:28 AM, Kungla [EMAIL PROTECTED] wrote: Hei, I wasted many good hours in finding out that AuthDigestFile /web/auth/.digest_pw will never work as described in http://httpd.apache.org/docs/2.0/mod/mod_auth_digest.html I used AuthUserFile as described in

Re: [EMAIL PROTECTED] Search Replace + Redirect with Mod_Rewrite?

2008-04-29 Thread Joshua Slive
On Tue, Apr 29, 2008 at 12:52 PM, Vik Rubenfeld [EMAIL PROTECTED] wrote: I need to change the variable names in query strings. This is because I need to get two different supplier companies talking to each other. (One supplier uses variable names that the other supplier doesn't recognize).

Re: [EMAIL PROTECTED] htdigest

2008-04-28 Thread Joshua Slive
On Mon, Apr 28, 2008 at 3:28 AM, Marta Gros Marín [EMAIL PROTECTED] wrote: Hi, I need my web server to be secure, so I have activated SSL and also have different users with password, depending on the files they can see. For those users I'm using auth method Digest, and want to manage them

Re: [EMAIL PROTECTED] SetEnvIf help (concepts OK, but lacks implementation)

2008-04-27 Thread Joshua Slive
On Sat, Apr 26, 2008 at 5:33 PM, Daniel Aleksandersen [EMAIL PROTECTED] wrote: Hi, This is for Apache 2.2.4 and newer. Comments explain what I am trying to achieve on each step. The coding is just what I think is right, but know not to be working. Please help me fix the coding. Help is

Re: [EMAIL PROTECTED] .htaccess assistance

2008-04-27 Thread Joshua Slive
On Sun, Apr 27, 2008 at 7:55 PM, Tom Ray [Lists] [EMAIL PROTECTED] wrote: Hey, I'm trying to setup something up where I have a video player on the main page of the site but the .flv files are in a directory such as videos/files. What I would like to do is use .htaccess to block the direct

Re: [EMAIL PROTECTED] measuring cache hit ratio in mod_cache

2008-04-26 Thread Joshua Slive
On Fri, Apr 25, 2008 at 6:18 PM, Richard Hubbell [EMAIL PROTECTED] wrote: Searched high-and-low and found nothing which usually causes some concern for a couple different reasons. I think that maybe my search was all wrong. So I try a few different things. Still no luck; then I think

Re: [EMAIL PROTECTED] error in httpd 2.0.63

2008-04-25 Thread Joshua Slive
On Fri, Apr 25, 2008 at 8:31 AM, Ch Praveena [EMAIL PROTECTED] wrote: Hi all, I am clustering jboss 4.2.GA server and is using httpd 2.0.63 as load balancer for it. When I am trying to run the application, for implementing cluster, I am getting the error mod_jk log: [Fri Apr 25 17:47:50

Re: [EMAIL PROTECTED] .htaccess for script aliased directories‏

2008-04-25 Thread Joshua Slive
2008/4/24 Pam Astor [EMAIL PROTECTED]: I am trying to password protect a sub directory within the web space of a domain that is serving site statistics of awstats generated pages. The path to the dir is /home/user1/www/awstats. When testing, I am able to get a username and password prompt

Re: [EMAIL PROTECTED] Once compiled code of apache2.2.8 on soalris machine can be reused for another solaris machine.

2008-04-25 Thread Joshua Slive
On Fri, Apr 25, 2008 at 11:25 AM, Krist van Besien [EMAIL PROTECTED] wrote: On Fri, Apr 25, 2008 at 4:01 PM, Narendra Verma [EMAIL PROTECTED] wrote: Please give me idea to solve this problem. Make life easy for yourself and standardize the location of apache across all your machines.

Re: [EMAIL PROTECTED] .htaccess for script aliased directories‏

2008-04-25 Thread Joshua Slive
2008/4/25 Pam Astor [EMAIL PROTECTED]: OK I took the advice and have been trying to set up http username and password logins without using .htaccess files inside the web accessible directory I am trying to password protect. I checked my AllowOverride settings in httpd.conf and they appear to

Re: [EMAIL PROTECTED] .htaccess for script aliased directories‏

2008-04-25 Thread Joshua Slive
2008/4/25 Pam Astor [EMAIL PROTECTED]: OK thanks, I tried again, this time I added to my virtualdomain .conf file the below, and I am still having the same problem... Directory /home/mydirectory/www/awstats There's really only two things that are likely to explain that: 1. The directory

Re: [EMAIL PROTECTED] .htaccess for script aliased directories‏

2008-04-25 Thread Joshua Slive
2008/4/25 Pam Astor [EMAIL PROTECTED]: 1. The directory you entered above is not the correct path; or 2. The conf file you are editting is not being read. Check 1 by requesting a file that you know doesn't exist and check the error log to see what path apache is searching in. Check 2

Re: [EMAIL PROTECTED] .htaccess for script aliased directories‏

2008-04-25 Thread Joshua Slive
2008/4/25 Pam Astor [EMAIL PROTECTED]: 1. The directory you entered above is not the correct path; or 2. The conf file you are editting is not being read. Check 1 by requesting a file that you know doesn't exist and check the error log to see what path apache is searching

Re: [EMAIL PROTECTED] .htaccess for script aliased directories

2008-04-25 Thread Joshua Slive
On Fri, Apr 25, 2008 at 3:32 PM, Danie Qian [EMAIL PROTECTED] wrote: Limit GET POST require valid-user /Limit Remove the Limit GET POST and /Limit lines. They are dangerous. See: http://httpd.apache.org/docs/2.2/mod/core.html#limit Joshua.

Re: [EMAIL PROTECTED] .htaccess for script aliased directories‏

2008-04-25 Thread Joshua Slive
2008/4/25 Pam Astor [EMAIL PROTECTED]: I gave you two very specific tasks to do to isolate the problem. Do them. Joshua. OK, for 1, I requested a non existant test file and this is the result from the error log: [Fri Apr 25 15:38:14 2008] [error] [client 12.345.678.91] File does not

Re: [EMAIL PROTECTED] .htaccess for script aliased directories‏

2008-04-25 Thread Joshua Slive
2008/4/25 Pam Astor [EMAIL PROTECTED]: [Fri Apr 25 15:35:18 2008] [error] [client 12.34.678.91] (2)No such file or directory: Could not open password file: /home/userdir/htpasswd That seems pretty clear. Your AuthUserFile directive is configured incorrectly. It isn't pointing to an

Re: [EMAIL PROTECTED] .htaccess for script aliased directories

2008-04-25 Thread Joshua Slive
On Fri, Apr 25, 2008 at 4:32 PM, Danie Qian [EMAIL PROTECTED] wrote: On second thought, I tested the setting by commentting out the 'require valid-user' line completely to see what the browsor gets for other methods, it is actually a 403 forbidden error instead of a open 200. So i guess I

Re: [EMAIL PROTECTED] file doesn't exist

2008-04-24 Thread Joshua Slive
On Thu, Apr 24, 2008 at 8:42 AM, Martin [EMAIL PROTECTED] wrote: This is my httpd.conf file mail:/etc/apache2# cat httpd.conf NameVirtualHost *:80 VirtualHost mail.forumsyd.net:80 That should be VirtualHost *:80. I bet that fixes your problem. [Thu Apr 24 15:28:43 2008] [error]

Re: [EMAIL PROTECTED] file doesn't exist

2008-04-24 Thread Joshua Slive
On Thu, Apr 24, 2008 at 10:23 AM, Martin [EMAIL PROTECTED] wrote: OK, I thought /htdocs was starting in the webroot rather than the real root. But why would it produce that error if the only problem was the VH There is probably another VirtualHost section someplace that is getting matched and

Re: [EMAIL PROTECTED] How to get my script run by the module instead of the execcgi

2008-04-23 Thread Joshua Slive
On Wed, Apr 23, 2008 at 9:56 AM, Neil S. Briscoe [EMAIL PROTECTED] wrote: Hi OK, originally we intended to use the php5-cgi to run a PHP script. Having suffered an error and reading through the error logs and the suggested solution - we managed to get the source displayed as a page, but

Re: [EMAIL PROTECTED] mod_rails: Strange, strange problem

2008-04-23 Thread Joshua Slive
On Wed, Apr 23, 2008 at 12:43 AM, Kyrre Nygård [EMAIL PROTECTED] wrote: hello! lately, all randomly, i've been getting plain text instead of my actual pages. a refresh usually takes care of the problem. what's going on? This is almost-certainly an error in your rails application. You'd

Re: [EMAIL PROTECTED] How to get my script run by the module instead of the execcgi

2008-04-23 Thread Joshua Slive
On Wed, Apr 23, 2008 at 4:09 PM, Neil S. Briscoe [EMAIL PROTECTED] wrote: Joshua Slive wrote: If you show us the relevant part of your configuration, along with more details on EXACTLY what you see when you request a php script, we might be able to help. What about the second part

Re: [EMAIL PROTECTED] The simplest of questions ...

2008-04-22 Thread Joshua Slive
On Tue, Apr 22, 2008 at 11:00 AM, Tall Paul [EMAIL PROTECTED] wrote: I am guessing that this is the simplest problem there is but it has me stumped. I installed Apache and PHP and ran the localhost tests and all is well. I have a static IP and I am behind a US Robotics router in which I

Re: [EMAIL PROTECTED] Printing Content-Length in Apache access_log

2008-04-22 Thread Joshua Slive
On Tue, Apr 22, 2008 at 10:08 AM, Arnab Ganguly [EMAIL PROTECTED] wrote: Hi All, How do I get the content length in the access log.Is there any configuration I need to do in the httpd.conf file? Also what is the 276 value in the line of the access log file 12.246.123.60 - -

Re: [EMAIL PROTECTED] The simplest of questions ...

2008-04-22 Thread Joshua Slive
On Tue, Apr 22, 2008 at 10:39 AM, [EMAIL PROTECTED] wrote: Thanks Joshua, I have an FTP server running and people can access that just fine. It is running on port 21. I just tried the validator but it said the address has to be in the form of a URL and not an IP. I wonder if that is the

Re: [EMAIL PROTECTED] Using mod_mem_cache with MPM

2008-04-22 Thread Joshua Slive
On Tue, Apr 22, 2008 at 2:02 PM, Kunal Shah [EMAIL PROTECTED] wrote: Is mod_mem_cache modules cache is shared among the Multiple processes started using MPM module? Is there any special configuration needed? The cache is shared between all works in the same process. That means it will be

Re: [EMAIL PROTECTED] header unset content-encoding

2008-04-22 Thread Joshua Slive
On Tue, Apr 22, 2008 at 2:43 PM, michel platini [EMAIL PROTECTED] wrote: the problem is that apache set the header content-encoding to be chunked before send the response. this is a problem because the client is not http\1.1 compliant and doesn't work if there are no content-length header.

Re: [EMAIL PROTECTED] silent URL redirect/cloak with mod_rewrite

2008-04-21 Thread Joshua Slive
On Mon, Apr 21, 2008 at 10:04 AM, Hank [EMAIL PROTECTED] wrote: n Mon, Apr 21, 2008 at 3:04 AM, Boyle Owen [EMAIL PROTECTED] wrote: understand you correctly, you have registered domainA and domainB and the domain names point to your server's IP in DNS. You want to map domainA to ../siteA

Re: [EMAIL PROTECTED] Adding a Header to the httpd response

2008-04-21 Thread Joshua Slive
On Mon, Apr 21, 2008 at 9:38 AM, Mohammed Salih [EMAIL PROTECTED] wrote: Thank you all for your reply. Yes I am using Header to set the Cache-Control header. and it is doing it job. but some times the application might have already set this header. So I want to avoid setting it again using

Re: [EMAIL PROTECTED] How to turn off xml parser on linux apache

2008-04-21 Thread Joshua Slive
On Mon, Apr 21, 2008 at 7:12 AM, Mika Tapio Tuhkanen [EMAIL PROTECTED] wrote: I can't open/read xml-file that is on linux apache server. Xml is valid (checked) and it can be opened with windows apache. I found that the solution could be to turn off xml parser but I can't seem to find where or

Re: [EMAIL PROTECTED] Re: Proxy Error

2008-04-21 Thread Joshua Slive
On Mon, Apr 21, 2008 at 12:12 AM, Parag Dhanuka [EMAIL PROTECTED] wrote: Please help someone... The problem is happening every 3 hrs on a live server :( I have writen some script to handle this but cannot really sleep till this is fix Besides I also tried connecting locally to the

Re: [EMAIL PROTECTED] Adding a Header to the httpd response

2008-04-21 Thread Joshua Slive
On Mon, Apr 21, 2008 at 10:34 AM, Joshua Slive [EMAIL PROTECTED] wrote: On Mon, Apr 21, 2008 at 9:38 AM, Mohammed Salih [EMAIL PROTECTED] wrote: Thank you all for your reply. Yes I am using Header to set the Cache-Control header. and it is doing it job. but some times

Re: [EMAIL PROTECTED] Re: Proxy Error

2008-04-21 Thread Joshua Slive
On Mon, Apr 21, 2008 at 11:24 AM, Parag Dhanuka [EMAIL PROTECTED] wrote: THis however happens after I get tonnes of [client 66.249.85.88] proxy: error reading status line from remote server What can this error mean as tomcat logs are not showing any errors whatsoever :( That's probably just

Re: [EMAIL PROTECTED] Memory consumption

2008-04-20 Thread Joshua Slive
On Sun, Apr 20, 2008 at 6:24 AM, benjamin [EMAIL PROTECTED] wrote: Hello, I'm currently using Apache 2.2 under Debian Etch, with FastCGI/Suexec and Php5.2 (all of these softwares have been installed as Debian paquets, using aptitude). The server is a Pentium 4 (3 Ghz) with 2 Gb of RAM.

Re: [EMAIL PROTECTED] LoadModule takes two arguments...

2008-04-19 Thread Joshua Slive
On Fri, Apr 18, 2008 at 10:45 PM, Hüseyin Şentürk [EMAIL PROTECTED] wrote: Hi, I have been trying to install MySQL, Apache and PHP on my computer. My resourcebook is PHP MySQL for Dummies. I have installed MySQL and Apache2.2. I downloaded PHP. But I can not joint PHP and Apache2. System

Re: [EMAIL PROTECTED] Anyone have a clue as to what these race conditions and circumventing are on FollowSymLinks ?

2008-04-19 Thread Joshua Slive
On Sat, Apr 19, 2008 at 1:50 PM, Emmanuel E [EMAIL PROTECTED] wrote: From the manual http://httpd.apache.org/docs/2.2/mod/core.html#options Omitting this option should not be considered a security restriction, since symlink testing is subject to race conditions that make it

[EMAIL PROTECTED] Re: RE : [EMAIL PROTECTED] mod_mem_cache caches incomplete content

2008-04-19 Thread Joshua Slive
On Sat, Apr 19, 2008 at 4:54 PM, PAILLART Frederic [EMAIL PROTECTED] wrote: Hi Joshua, Thanks a lot for your answer. I was not aware that the disk cache is more performant than mem cache. I'm using worker MPM and I've configured my apache server as follow : ServerLimit 4

Re: [EMAIL PROTECTED] file doesn't exist

2008-04-19 Thread Joshua Slive
On Sat, Apr 19, 2008 at 2:53 AM, Martin S [EMAIL PROTECTED] wrote: Davide Bianchi skrev: Martin S wrote: /var/www/apache2-default, still it tries to find /htdocs for the outside boxen. Your configuration is certainly broken. How do you get it from the localhost and how do you

Re: [EMAIL PROTECTED] caught SIGTERM, shutting down

2008-04-18 Thread Joshua Slive
On Fri, Apr 18, 2008 at 5:50 AM, Feraudet Cyril [EMAIL PROTECTED] wrote: Hello all, I have a little problem whith apache 2.0.61. Regulary (twice by days), I can found this kind of message in my error_log : [info] removed PID file /appwebinet/logiciels/list/apache/var/httpd.pid (pid=6862)

Re: [EMAIL PROTECTED] executing scripts under apache server

2008-04-18 Thread Joshua Slive
On Fri, Apr 18, 2008 at 4:57 AM, syed mehdi [EMAIL PROTECTED] wrote: Hi Guys, After installing apache2, python lib for apache2 (libapache2), and doing some changes in default file in /etc/apache2/sites-available i was able to execute python scripts in /var/www/ directory from client side

Re: [EMAIL PROTECTED] How do I create virtual directories?

2008-04-18 Thread Joshua Slive
On Fri, Apr 18, 2008 at 11:01 AM, RKVS Raman [EMAIL PROTECTED] wrote: Hello, I have a webserver running apache with a public IP. I have an internal server which runs certain services. Can I create a virtual directory on public server which actually redirects the request to the internal

Re: [EMAIL PROTECTED] HTTP Start [Failed]

2008-04-18 Thread Joshua Slive
On Fri, Apr 18, 2008 at 5:12 AM, Madan KN [EMAIL PROTECTED] wrote: Hi Folks, Am using CentOS 5 + Webmin + Apache HTTP 2.2.x * When installed for the first time everything was working fine. * Tried removing the the Apache HTTP Server and added again using Webmin. * After that it is giving me

Re: [EMAIL PROTECTED] Redirecting http to https using mod_proxy

2008-04-18 Thread Joshua Slive
On Fri, Apr 18, 2008 at 4:03 PM, [EMAIL PROTECTED] wrote: I want to redirect users whenever they type http://webmail.example.com they are redirected to localmail.example.com I answered your question yesterday. Please check the list archives. Joshua.

Re: [EMAIL PROTECTED] mod_expires in Apache 2.0.54

2008-04-18 Thread Joshua Slive
On Fri, Apr 18, 2008 at 6:50 PM, Karthick P [EMAIL PROTECTED] wrote: It works as expected. An other query is that which option would be best to set this expiration, Directory or Location. I think that is explained pretty well here: http://httpd.apache.org/docs/2.2/sections.html#file-and-web

Re: [EMAIL PROTECTED] mod_expires in Apache 2.0.54

2008-04-17 Thread Joshua Slive
On Thu, Apr 17, 2008 at 12:14 PM, Karthick P [EMAIL PROTECTED] wrote: Hello everyone, We have been using Apache 2.0.54 on SLES as our hosting standard for all our applications. We have enabled the mod_expires in apache to set the expiration settings for the static content like JPEG,

Re: [EMAIL PROTECTED] Tons of Segfaults in Apache-Prefork 2.2.4

2008-04-17 Thread Joshua Slive
On Thu, Apr 17, 2008 at 12:16 PM, Markus Meyer [EMAIL PROTECTED] wrote: I enabled CoreDumpDirectory in httpd.conf, made a ulimit -c unlimited and started Apache. When I had a segfault there was no corefile in the specified directory and Apache was still running. Only the forked process was

  1   2   3   4   5   6   7   8   9   10   >