Re: Disable logging of invalid requests

2008-12-14 Thread Joshua Slive
On Sun, Dec 14, 2008 at 1:35 PM, Mitar wrote: > And now I do not have invalid requests logged. I do not like that but > I do not like having them logged even more. I really do not understand > why this short-circuiting is necessary. We have an error log for such > "important" things. CustomLog sh

Re: Disable logging of invalid requests

2008-12-12 Thread Joshua Slive
On Thu, Dec 11, 2008 at 11:32 PM, Mitar 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 Request_URI "^/$"

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 and ?

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 and ? > > just curiosity. None. Just a change in syntax over time because is a little obscure. They work exactly the same. Joshua. --

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 w

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/). T

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 a

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

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 a

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 7:01 PM, William Kanoff <[EMAIL PROTECTED]> wrote: > Changed home to User, still did not work. You'll need to be more precise here. Did you use User or Users? You need to match the path that is being requested. If it still didn't work, you need to check if that config file

Re: [EMAIL PROTECTED] Indexes

2008-06-26 Thread Joshua Slive
not right should I > 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

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: > > >AllowOverride FileInfo AuthConfig Limit Ind

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 confi

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 >

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] How to remove my server from Open Proxy list

2008-06-17 Thread Joshua Slive
On Tue, Jun 17, 2008 at 3:58 PM, Zia Syed <[EMAIL PROTECTED]> wrote: > Well, I've committed a rookie mistake. I enabled ProxyRequest on my > server without securing it and today I realized that my server is > under attack. I've turned off the server (since its a home server), > and change the confi

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 r

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 wh

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 r

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 we

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] 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"

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

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: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. &g

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 alwa

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:/// for example http:///A > I have mad

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

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

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 d

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

2008-06-02 Thread Joshua Slive
; http://doctrina.wordpress.com/ > > On Mon, Jun 2, 2008 at 4:53 PM, Joshua Slive <[EMAIL PROTECTED]> wrote: >> Probably because you are using AddType (an old deprecated method still >> recommended in the php docs) to activate php but AddHandler (the >> method recommende

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". > >DocumentRoot /var/www/html/ > >DAV On > >ForceType text/plain >

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

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

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

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 > hav

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 connecti

Re: [EMAIL PROTECTED] Apache 2 not serving pages >255 bytes from vxfs filesystem

2008-05-20 Thread Joshua Slive
On Tue, May 20, 2008 at 3:13 AM, Annihilannic <[EMAIL PROTECTED]> wrote: > Hi, > > I've encountered a baffling problem trying to serve web pages located on a > vxfs filesystem. Files of 255 bytes or less are served fine, but pages of > 256 bytes or more result in a blank page in FireFox. If I loc

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

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 (usin

Re: [EMAIL PROTECTED] question

2008-05-17 Thread Joshua Slive
On Fri, May 16, 2008 at 11:36 PM, Sergey Pustovit <[EMAIL PROTECTED]> wrote: > Hello, > I am new to the Apache. I am trying to learn how to build the my own > website. I installed the Apache and having problem staring it. The responce > that I get is: > "sergey-pustovits-macbook:Desktop sergeypust

Re: [EMAIL PROTECTED] Re: Apache Security Problem

2008-05-15 Thread Joshua Slive
On Thu, May 15, 2008 at 3:36 AM, Andre Hübner <[EMAIL PROTECTED]> wrote: > > sorry, I think i verbalized not clear enough. ;) > essence is following: The way of creating a symlink is irrelavant. In Most > cases this is a script, but symlink is also creatable by just unpacking a > archive with sy

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'

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 us

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

Re: [EMAIL PROTECTED] Rewrite Problem

2008-05-13 Thread Joshua Slive
On Tue, May 13, 2008 at 10:59 AM, Hayward Lam <[EMAIL PROTECTED]> wrote: > I need to support the ARK (Archive Resource Key) spec which requires URL > ending with "?" and "??". For example: > > http://domain.com/ark:/12345/t41290? > http://domain.com/ark:/12345/t41290?? > > Since "?" is used for re

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 productio

Re: [EMAIL PROTECTED] How to log httpd request with all the headers

2008-05-13 Thread Joshua Slive
On Tue, May 13, 2008 at 7:55 PM, Tracy12 <[EMAIL PROTECTED]> wrote: > > What is the log format to log all the request and response headers? Doesn't exist. You can either enumerate the headers you want, or you can use mod_log_forensic, which will give you all the input headers, or you can use mod_

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 > per

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

2008-05-09 Thread Joshua Slive
On Fri, May 9, 2008 at 9:50 AM, Daniel <[EMAIL PROTECTED]> wrote: > 2008-05-09 15:25 skreiv Joshua Slive: >> On Fri, May 9, 2008 at 8:09 AM, Mathias wrote: >> > Are there any benefits of including Content-Length in type-maps? I do not >> > understand the need to

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’s own. > > Are there performance ben

Re: [EMAIL PROTECTED] How to test whether a file exist in a ssi page?

2008-05-09 Thread Joshua Slive
On Fri, May 9, 2008 at 4:05 AM, Thorsten Scherler <[EMAIL PROTECTED]> wrote: > Hi all, > > how can I test whether a file exist in a ssi page? > > I have following > > which will return me the path of the file that I need to include if > exists. > > Now I want to test whether or not this file exist

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 d

Re: [EMAIL PROTECTED] How to stop httpd in single process mode on Linux

2008-05-05 Thread Joshua Slive
On Mon, May 5, 2008 at 1:56 AM, zengwm <[EMAIL PROTECTED]> wrote: > Hi, > > On Fedora 8, I start apache in single process mode using this command: > httpd -X > And it won't stop! > > Sending it SIGKILL will kill the process. But it does not respond to > SIGTERM or SIGINT. > > Is there a way t

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? He

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 (

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 befo

Re: [EMAIL PROTECTED] VirtulHost related question

2008-05-01 Thread Joshua Slive
On Thu, May 1, 2008 at 7:43 AM, Narendra Verma <[EMAIL PROTECTED]> wrote: > > Using such a default vhost with a wildcard port effectively prevents any > request going to the main server. > But I am not getting the concept of blue line mentioned above. And what is > the meaning of main server in

Re: [EMAIL PROTECTED] Problem with Configuring Virtual Host on Apache 2.2.6 Pls Help

2008-04-30 Thread Joshua Slive
On Wed, Apr 30, 2008 at 5:33 PM, Saachin Mandloi <[EMAIL PROTECTED]> wrote: > yes they are on 80 and 443 respectively i.e. http on 80 and https on 443 Look for the SSLEngine On directive. It should be ONLY in the 443 vhost. Joshua.

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 --

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.

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: > > I don't t

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 di

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

2008-04-30 Thread Joshua Slive
On Wed, Apr 30, 2008 at 9:40 AM, Phil Pinkerton <[EMAIL PROTECTED]> wrote: > I am not sure where the problem is I tried both IE and Firefox with > the same results. > > Perhaps it is in the cgi or perl script ? see REQUEST_URI below has > dropped the path from > the "#" forward. The point is,

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 star

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] 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] 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 th

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

Re: [EMAIL PROTECTED] HTTP “Location” header responds question

2008-04-28 Thread Joshua Slive
On Sun, Apr 27, 2008 at 9:22 PM, Daniel Aleksandersen <[EMAIL PROTECTED]> wrote: > Hi list, > > Really a question about the HTTP standard, but I had nowhere else to ask it. > > May I include the HTTP "Location" header when not redirecting using a 3## > redirect status? I am considering including

Re: [EMAIL PROTECTED] connecting to another port via port 80

2008-04-28 Thread Joshua Slive
On Mon, Apr 28, 2008 at 12:37 AM, Nishantha Pradeep <[EMAIL PROTECTED]> wrote: > Hi all > I am running an apache server on my computer and I am also running chat > server on the same computer. The chat server's http-polling is at port 5280 > . what I want to do is, I have a web chat client and tha

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

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 dir

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. > >

Re: [EMAIL PROTECTED] rejecting non GET/POST methods

2008-04-27 Thread Joshua Slive
On Sun, Apr 27, 2008 at 7:43 AM, Robert Montgomery <[EMAIL PROTECTED]> wrote: > Is there a way to tell apache to completely ignore > certain methods, ie, PROPFIND, CCM_POST, CONNECT, > OPTIONS, etc.. (and NOT write those requests to the > log files either!) > > I've tried LIMIT & LIMIT EXCEPT d

Re: [EMAIL PROTECTED] mod_rewrite infinite loop problem

2008-04-26 Thread Joshua Slive
On Fri, Apr 25, 2008 at 4:32 PM, David Bylsma <[EMAIL PROTECTED]> wrote: > > Is there a simpler way? I would probably avoid the program rewrite map (which is a potential bottleneck). There are several ways to do this. One very simple one would be to make your RewriteRule something like RewriteRu

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] .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

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

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]

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: > > require valid-user > Remove the and 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]>: > > > > > > 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

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 i

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... > > There's really only two things that are likely to explain that: 1. The directory you entered above is not the co

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 appe

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

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 passwor

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

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 section someplace that is getting matched and has

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 > That should be . I bet that fixes your problem. > [Thu Apr 24 15:28:43 2008] [error] [client 192.168.0.81] File does not > exist: /

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 t

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. Y

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,

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 heade

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] 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

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 - - [04/Apr

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

  1   2   3   4   5   6   7   8   9   10   >