[users@httpd] Are gzip-compression and caching mutually exclusive in Apache?

2013-10-03 Thread Ben Johnson
Hello, I'm wondering if it is possible to gzip-compress response bodies while at the same time allowing the user-agent (Web browser, in this case) to cache the responses. I am using Apache 2.4. I set up client-side caching with the following, which functions as expected: ###

Re: [users@httpd] httpd 2.0 to 2.2

2013-06-17 Thread Ben Johnson
On 6/17/2013 11:39 PM, paul.warren.p.p...@accenture.com wrote: > Hi, > > > > Im upgrading our httpd server from 2.0 to 2.2 on Windows. > > What would be the recommended procedure for this? > > Should I install on the same installation folder as Apache 2.0? > > > > Regards. > > PAUL Wi

Re: [users@httpd] webservers not responding properly after hardware change

2013-06-14 Thread Ben Johnson
On 6/14/2013 11:11 AM, Norman Fournier wrote: > [mail:~] root# ping n...@normanfournier.com > ping: cannot resolve n...@normanfournier.com > : Unknown host Is it just me, or are you attempting to ping an *email address* (vs. an IP

Re: [users@httpd] Does Apache htpasswd using md5 match the PHP md5 function result?

2013-05-02 Thread Ben Johnson
On 5/2/2013 2:19 PM, Ben Johnson wrote: > > > On 5/2/2013 1:50 PM, Bo Berglund wrote: >> I am trying to understand the use of MD5 as passwords for Apache, >> previously I have always used CRYPT:ed passwords in my .htpasswd file. >> Because Apache on Windows does n

Re: [users@httpd] Does Apache htpasswd using md5 match the PHP md5 function result?

2013-05-02 Thread Ben Johnson
On 5/2/2013 1:50 PM, Bo Berglund wrote: > I am trying to understand the use of MD5 as passwords for Apache, > previously I have always used CRYPT:ed passwords in my .htpasswd file. > Because Apache on Windows does not allow CRYPT:ed passwords (see > earlier thread) I am investigating the MD5 poss

Re: [users@httpd] PHP dynamic library install in apache on Linux ?

2013-04-30 Thread Ben Johnson
On 4/30/2013 12:06 PM, georg wrote: > Hi, > > Im switching base from XP to feodora Linux, have installed the Apache > packaage that goes with it > however, I havent found out how to install PHP through (dynamic linked) > library, as I did with XP. > I dont want to have it as CGI since Ive under

Re: [users@httpd] Re: Cannot get Apache 2 basic authentication working with CRYPT on Win7

2013-04-30 Thread Ben Johnson
On 4/30/2013 11:55 AM, Bo Berglund wrote: > On Tue, 30 Apr 2013 11:36:47 -0400, Ben Johnson > wrote: > >>> Well, >>> I cannot easily change the authentication method at all because the >>> "real" website uses CRYPT passwords and we also have a l

Re: [users@httpd] Re: Cannot get Apache 2 basic authentication working with CRYPT on Win7

2013-04-30 Thread Ben Johnson
On 4/30/2013 11:12 AM, Bo Berglund wrote: > On Tue, 30 Apr 2013 10:31:07 -0400, Ben Johnson > wrote: > >> >> >> On 4/30/2013 9:06 AM, Bo Berglund wrote: >>> I have a local Apache 2.2 server on my development PC. It is running >>> on Windows7X64. >

Re: [users@httpd] Cannot get Apache 2 basic authentication working with CRYPT on Win7

2013-04-30 Thread Ben Johnson
On 4/30/2013 9:06 AM, Bo Berglund wrote: > I have a local Apache 2.2 server on my development PC. It is running > on Windows7X64. > Some of our folders are protected and we use .htpasswd files to > authenticate the users with CRYPT-ed passwords. > THe whole website is version controlled in CVS an

Re: [users@httpd] How to update the Windows ”platform page”?

2013-03-12 Thread Ben Johnson
On 3/11/2013 4:20 PM, Peter Lorenzen wrote: > Hi, > > I just realized that the reason there is no Windows binaries for 2.2.23 > and 2.2.24 is that the Apache Foundation does not provide the binaries > and whoever provided them before does not anymore. > The first part is true. It's good to see

Re: [users@httpd] PHP list issues

2013-03-07 Thread Ben Johnson
On 3/6/2013 4:46 PM, georg wrote: > Hi, > > have a problem getting a picture stored and retreived by ODBC in PHP to > get rendered, > it comes as a golliable flush of nonsens characters > > anyone has a clue, or a deferral to a good PHP forum > > tnx > > Georg > You've acknowledged already

Re: [users@httpd] Where are error logs created on windows?

2013-03-04 Thread Ben Johnson
On 3/3/2013 9:00 PM, Pranav Kumar Ojha wrote: > Alright, starting httpd as administrator helped creating the file and > resolved the issue. Thanks you! > > Thanks, > Pranav You're very welcome. For the sake of thoroughness, starting Apache as Administrator is necessary only when UAC (the Use

Re: [users@httpd] Where are error logs created on windows?

2013-03-03 Thread Ben Johnson
On 3/3/2013 11:40 AM, Pranav Kumar Ojha wrote: > Hi all, > > I have recently installed latest version of Apache2.2 on windows 7. I am > operating as an administrator with username as 'adminuser' on this > machine. The apache webserver is installed at this location: 'C:\Program > Files\Apache Sof

Re: [users@httpd] I need your Help

2013-02-26 Thread Ben Johnson
On 2/26/2013 2:56 PM, CASTRO MINIAX wrote: > Hi guys my name is Alvi , I have successfully installed apache web > server httpd-2.0.64-win32-x86-no_ssl.msi > > and why i typed " localhost " on my browser i rece

Re: [users@httpd] Re: redirect non-existing directory request to that directory with file name appended

2013-02-26 Thread Ben Johnson
On 2/26/2013 2:39 PM, Matthew Smith wrote: > Tried this but it causes a 500 error. Any ideas where I am off? > > RewriteCond %{REQUEST_FILENAME} !-f > RewriteCond %{REQUEST_FILENAME} !-d > RewriteRule (.*) /site_mysite_com/$1/index.cfm [L] > > On Mon, Feb 25, 2013 at 10:10 PM, Matthew Smith <

Re: [users@httpd] pathing to assets not working using rewrite

2013-02-25 Thread Ben Johnson
On 2/24/2013 7:39 PM, Matthew Smith wrote: > I am trying to serve a secondary site from a subdirectory on my local > server. > > Here is my htaccess: > > RewriteCond %{HTTP_HOST} mysitedotcom [NC] > RewriteCond %{REQUEST_URI} !^/site_mysite_com/ [NC] > RewriteRule (.*) /site_mysite_com/$1 [L] >

Re: [users@httpd] Unable to open logs - but NOT a permission problem

2013-02-25 Thread Ben Johnson
On 2/25/2013 12:03 PM, D'Arcy J.M. Cain wrote: > I have been scouring the net for my specific issue. All the responses > suggest that either the file permissions are wrong or that the ulimit > is set too low. I know that neither of these is my problem because > Apache starts at boot and sometim

Re: [users@httpd] httpd-2.2.23-win32-x86-no_ssl.msi is not available?

2013-02-21 Thread Ben Johnson
hat 2.2.23 will pop-up at http://www.apache.org/dist/httpd/binaries/win32/ , in MSI format, in the near future, if you would rather wait. Thank you, -Ben > 2013/2/20 Ben Johnson : >> >> >> On 2/19/2013 8:14 PM, Yoshinori Sano wrote: >>> I'm searching for httpd-2.2.23-wi

Re: [users@httpd] Apache2 error

2013-02-21 Thread Ben Johnson
ives you more ammo to throw at your host. -Ben > > On Wed, Feb 20, 2013 at 9:56 PM, Ben Johnson <mailto:b...@indietorrent.org>> wrote: > > > > On 2/20/2013 10:42 AM, Krishna Chandra Prajapati wrote: > > Hi All, > > > > I'

Re: [users@httpd] Apache2 error

2013-02-20 Thread Ben Johnson
On 2/20/2013 10:42 AM, Krishna Chandra Prajapati wrote: > Hi All, > > I'm getting the below error in apache error logs. > > [Sun Feb 10 15:06:18 2013] [notice] child pid 20892 exit signal Bus > error (7) > [Mon Feb 11 21:45:01 2013] [notice] caught SIGTERM, shutting down > > Let me know, how c

Re: [users@httpd] httpd-2.2.23-win32-x86-no_ssl.msi is not available?

2013-02-19 Thread Ben Johnson
On 2/19/2013 8:14 PM, Yoshinori Sano wrote: > I'm searching for httpd-2.2.23-win32-x86-no_ssl.msi file. > But I cannot find it. > The latest version I found is httpd-2.2.22-win32-x86-no_ssl.msi > in http://www.apache.org/dist/httpd/binaries/win32/ . > > The Apache httpd MSI binary for Windows is

[users@httpd] Using Alias (mod_alias) with .htaccess files

2013-02-19 Thread Ben Johnson
Hi, everyone, I'm using mod_alias to map URLs to directories that are outside of Apache's DocumentRoot. However, it seems that .htaccess files are being ignored in these directories. File: my-customizations.conf (included in httpd.conf) ###

Re: [users@httpd] Apache Module mod_authn_socache: AuthnCacheSOCache not allowed here (and other problems)

2013-02-18 Thread Ben Johnson
On 2/12/2013 2:41 PM, Ben Johnson wrote: > > > On 2/11/2013 3:00 PM, Ben Johnson wrote: >> >> >> On 2/11/2013 2:38 PM, Nick Kew wrote: >>> >>> On 11 Feb 2013, at 18:43, Ben Johnson wrote: >>> >>>> The documentation provides

Re: [users@httpd] moving from mod_php to mod_fcgid : rewrite problem

2013-02-14 Thread Ben Johnson
>>> i f you'd like to post your CGI wrapper script, I'd be happy to take a >>> look. Alas, you may lack access to this script, in which case, it's a >>> moot point. Although, I must say, it seems unlikely that your host would >>> have misconfigured the

Re: [users@httpd] moving from mod_php to mod_fcgid : rewrite problem

2013-02-14 Thread Ben Johnson
On 2/14/2013 4:47 AM, Riccardo Cohen wrote: > Hi Ben > >> Do other PHP scripts function as expected when executed via mod_fcgid? >> Or do they all return the error string, "No input file specified" and a >> 404 response? > > Actually my website redirect all urls to /index.php, so there is only

Re: [users@httpd] moving from mod_php to mod_fcgid : rewrite problem

2013-02-14 Thread Ben Johnson
pper script, I'd be happy to take a >> look. Alas, you may lack access to this script, in which case, it's a >> moot point. Although, I must say, it seems unlikely that your host would >> have misconfigured the wrapper script. (Then again, we've all seen worse.) &

Re: [users@httpd] moving from mod_php to mod_fcgid : rewrite problem

2013-02-13 Thread Ben Johnson
I see the same 404 and message >> as above. Maybe you changed something after sending this message. > > I use firefox http live header and it shows a status code 302 ("HTTP/1.1 > 302 Found") then the browser redirect to the page as if it was another > website You're ri

Re: [users@httpd] moving from mod_php to mod_fcgid : rewrite problem

2013-02-13 Thread Ben Johnson
hers with 404 responses. > > I could not find the apache error log, so I'll ask my hosting support > team and get back to you > > Thanks for your help. You're welcome. I'll wait to hear back before offering additional information. -Ben > > > On 12/02/13 19:40,

Re: [users@httpd] Apache Module mod_authn_socache: AuthnCacheSOCache not allowed here (and other problems)

2013-02-12 Thread Ben Johnson
On 2/11/2013 3:00 PM, Ben Johnson wrote: > > > On 2/11/2013 2:38 PM, Nick Kew wrote: >> >> On 11 Feb 2013, at 18:43, Ben Johnson wrote: >> >>> The documentation provides a sample configuration snippet ( >>> http://httpd.apache.org/docs/current/mod

Re: [users@httpd] moving from mod_php to mod_fcgid : rewrite problem

2013-02-12 Thread Ben Johnson
to the rewrite log. Is there a specific reason for which you're using "./index.php" in the right-hand side of the rule? I'm referring to the period ("."), in particular. This may well be the source of the problem. It could be that mod_php interprets that relative

Re: [users@httpd] moving from mod_php to mod_fcgid : rewrite problem

2013-02-12 Thread Ben Johnson
On 2/12/2013 2:16 AM, Riccardo Cohen wrote: > Hello > I received some clues from this list members, thanks for that. But > unfortunately my problem is not solved. > > It's not that I want others to focus on me, but I'm quite sure that > there is a real problem (if not why would it work perfectly

Re: [users@httpd] Apache Module mod_authn_socache: AuthnCacheSOCache not allowed here (and other problems)

2013-02-11 Thread Ben Johnson
On 2/11/2013 2:38 PM, Nick Kew wrote: > > On 11 Feb 2013, at 18:43, Ben Johnson wrote: > >> The documentation provides a sample configuration snippet ( >> http://httpd.apache.org/docs/current/mod/mod_authn_socache.html ): > > Whoops! You found a documentation

[users@httpd] Apache Module mod_authn_socache: AuthnCacheSOCache not allowed here (and other problems)

2013-02-11 Thread Ben Johnson
Hello, I'm attempting to configure Apache Module mod_authn_socache, but receive a warning when Apache starts. Server version: Apache/2.4.3 (Win32) Server built: Aug 18 2012 12:41:37 The documentation provides a sample configuration snippet ( http://httpd.apache.org/docs/current/mod/mod_authn_s

Re: [users@httpd] How do you implement mod_fcgid?

2012-12-31 Thread Ben Johnson
On 12/31/2012 10:56 AM, John Iliffe wrote: > I would be pleased to do that Nick but I have no experience with bugzilla. > > If you can give me a short hint in how to go about it I will make the entry > immediately. > > Regards, > > John > = > On Friday

Re: [users@httpd] MPM module for windows

2012-12-20 Thread Ben Johnson
On 12/19/2012 11:13 AM, techienote@gmail.com wrote: > Hi, > > Recently I have installed apache 2.2 on windows 32 bit edition. I just want > to understand which mpm module I should use for windows. > > As of now we are expecting 6k concurrent user. So what will be the > recommended value f

Re: [users@httpd] Does Apache 'configure' command have a 'clean' option?

2012-12-11 Thread Ben Johnson
On 12/11/2012 3:46 PM, oh...@cox.net wrote: > Hi, > > I spent last night pulling my hair out because I was trying to build Apache, > but I was trying different 'configure' commands with different MPM > configurations, and it seemed like when I changed the parameters for > configure, it was us

Re: [users@httpd] mod_fcgid upload permission changes.

2012-12-11 Thread Ben Johnson
On 12/11/2012 1:12 PM, Eric Covener wrote: > On Tue, Dec 11, 2012 at 1:01 PM, Toni Moreno wrote: >> I would be happy to know another way to upload files for any users on the >> system through HTTPS. > > mod_fcgid doesn't do this for you. If you POST to a fastcgi, read the > post body in whatev

Re: [users@httpd] mod_fcgid upload permission changes.

2012-12-11 Thread Ben Johnson
On 12/11/2012 1:01 PM, Toni Moreno wrote: > I would be happy to know another way to upload files for any users on > the system through HTTPS. > > But the question is why mod_fcgid changes apache umask ? is the correct > way to proceed , a undefined configuration , or a bug? > > El 11/12/2012 1

Re: [users@httpd] Apache HTTP Server 2.4.x for Windows?

2012-12-11 Thread Ben Johnson
On 12/11/2012 10:23 AM, Handy, Molly CTR DISA PEO-MA wrote: > All, > > > > Hello. Forgive my unfamiliarity with Apache but I have a question > regarding Apache HTTP Server 2.4.x for Windows. We currently have > version 2.2.22 running on Windows 2008 R2. I reviewed the download page > and rele

Re: [users@httpd] How to compile the source code for Apache HTTP Server 2.2.23 Win32 version

2012-12-10 Thread Ben Johnson
On 12/10/2012 10:42 PM, 马聪 wrote: > Hi all, > I'm a developer from China, I'm now trying to upgrade my Apache HTTP > Server from 2.2.22 to 2.2.23. From the Apache HTTP Server web site, > there are only Unix code items. Could anyone tell me how to compile the > source code to get the 2.2.23 Win3

Re: [users@httpd] error 500 after activating .htaccess

2012-12-05 Thread Ben Johnson
On 12/5/2012 2:28 PM, Rafnews wrote: > Hi, > > i have a webserver running on httpd 2.4.2 with SSL under Windows 7. > i have several virtualhost that work great. > here is for example a virtualhost declaration: > > DocumentRoot "d:/webserver/www/rg3" > ServerName rg3.loc > ServerAlias www.

Re: [users@httpd] httpd-ssl.conf and SSL directives

2012-12-05 Thread Ben Johnson
On 12/5/2012 12:55 PM, Alex Chen wrote: > If I enable HTTPS by loading the mod_ssl.so, enabling httpd-ssl.conf, > start Apache then remove SSL certificate, SSL private key, will that > cause Apache to fail to acceptHTTPS requests? > How if I remove the httpd-ssl.conf all together? > In a nutshel

Re: [users@httpd] Able to view .htaccess and .htpasswd files via user-agent under default configuration (Apache 2.4, Win32)

2012-12-03 Thread Ben Johnson
On 12/3/2012 5:51 PM, Eric Covener wrote: > What's in the with require valid-user? That effectively > replaces the w/ no AuthMerging. If you're passing that check, > the .ht* will be served. > Right you are, good sir! I would never have figured that out. If I remove the contents of that (s

Re: [users@httpd] Able to view .htaccess and .htpasswd files via user-agent under default configuration (Apache 2.4, Win32)

2012-12-03 Thread Ben Johnson
On 12/3/2012 4:07 PM, Eric Covener wrote: >> -- >> >> Require all denied >> >> >> >> Require all denied >> >> -- >> >> Any other ideas as to why none of these are effective? >> >> Thanks again, > > Are you sure these are static files se

Re: [users@httpd] Able to view .htaccess and .htpasswd files via user-agent under default configuration (Apache 2.4, Win32)

2012-12-03 Thread Ben Johnson
On 12/3/2012 3:07 PM, Igor Cicimov wrote: > > On 04/12/2012 5:41 AM, "Ben Johnson" <mailto:b...@indietorrent.org>> wrote: >> >> Hello, everyone, >> >> I am able to view .htaccess and .htpasswd files on my development server >> from w

[users@httpd] Able to view .htaccess and .htpasswd files via user-agent under default configuration (Apache 2.4, Win32)

2012-12-03 Thread Ben Johnson
Hello, everyone, I am able to view .htaccess and .htpasswd files on my development server from within a Web browser. My understanding is that the following configuration directive, which is included in the default configuration file, should prevent this: --- # # The following

Re: [users@httpd] Apache 2.4 stability & ErrorLogFormat

2012-11-29 Thread Ben Johnson
On 11/29/2012 4:52 PM, Alvise Nicoletti wrote: > Il 29/11/2012 21:36, Mark Montague ha scritto: >> On November 29, 2012 14:46 , Alvise Nicoletti >> wrote: >>> I would like to use the ErrorLogFormat function (a > apache2.4 >>> function), >>> because I have a lot of php websites in a same Virtual

Re: [users@httpd] How to enable mod_ssl

2012-11-21 Thread Ben Johnson
On 11/21/2012 11:59 AM, Netmail wrote: > Hi > I want to configure my websites on ssl in my apache 2.2.22 and I read many > document but I don't understand many point: > - in my httpd.conf there aren't the loadmodule mod_ssl and I go to install > the mod_ssl via yum install mod_ssl; restart httpd

Re: [users@httpd] Apache 2.2 authentication against a Mysql Database

2012-11-19 Thread Ben Johnson
On 11/19/2012 6:07 PM, David Mehler wrote: > Hello, > > Thanks to everyone who helped. I have it working. Here it is for > anyone this might help. > > Hth > Dave. > > Set up for Mysql authentication: > > Create a mysql database: > create database web; > grant select, insert, update, delete on

Re: [users@httpd] Exploit?

2012-11-19 Thread Ben Johnson
On 11/19/2012 9:54 AM, Miles Fidelman wrote: > I'm guessing it might be trying a probe against a content management > system that has a hole in it (e.g., Wordpress has been known to leak > information in the past). > > Clearly some security scanner wrote those entries in your log file. If > you

Re: [users@httpd] 403 Forbidden ...

2012-11-13 Thread Ben Johnson
On 11/13/2012 4:54 PM, Lester Caine wrote: > Ben Johnson wrote: >>> My rewrite rules are stored in a config file 'mod_rewrite.conf' which is >>> >loaded in every vhost.d config file. To get this working I've copied >>> all >>> >the c

Re: [users@httpd] 403 Forbidden ...

2012-11-13 Thread Ben Johnson
On 11/13/2012 4:37 PM, Lester Caine wrote: > Ben Johnson wrote: >> Still, I'm not sure that this has anything to do with URL-rewriting. >> This seems related to path resolution in the PHP application (which >> mod_rewrite may influence, to be fair). >> >&g

Re: [users@httpd] 403 Forbidden ...

2012-11-13 Thread Ben Johnson
On 11/13/2012 3:34 PM, Lester Caine wrote: > Lester Caine wrote: > > Found a few little niggles while sorting mod_info. I was still running > mod_access_compat and switching that off flagged a couple of problems. > All have now been cleared but no change to the 403 error on rewrite > results. >

Re: [users@httpd] 403 Forbidden ...

2012-11-13 Thread Ben Johnson
On 11/13/2012 11:45 AM, Lester Caine wrote: > Antonio Vidal Ferrer wrote: >> May be as a first step, start enabling Rewrite log. Put >> RewriteLogLevel at 5, to >> see what is being rewrited. Then based on that we can check what it's >> making it >> fail. > The rewrite is apparently doing the cor

Re: [users@httpd] 403 Forbidden ...

2012-11-13 Thread Ben Johnson
On 11/13/2012 3:45 AM, Lester Caine wrote: > Lester Caine wrote: >> I'm missing something simple I am sure ... >> Am moving from 2.2 to 2.4 and this works on 2.2! >> >> http://eveshamtc.lsces.co.uk works ... >> >> The vhost file has 301 redirects from the original .aspx links, so >> http://evesha

Re: [users@httpd] Apache not honoring SUID/GUID or FACL

2012-11-09 Thread Ben Johnson
On 11/9/2012 9:21 AM, Dan wrote: > Ok folks. I've got this working but performance with mod_fastCGI but I'm > disappointed with the results compared to mod_php. I know mod_php is > supposed to be the fastest option, but fastcgi is on average 60% slower > than mod_php, so I'm hoping someone can ve

Re: [users@httpd] couldn't see the webpage hosted on my PC

2012-11-08 Thread Ben Johnson
On 11/8/2012 11:52 AM, Cheerful Gao wrote: > Hello, > > I setup a virtual webhost on my PC and use Apache http server 2.2.23. I > setup the virtual server by configuring the httpd.conf and hosts file. > It works but only on my host PC. I can't access the webpage from any > other computers eithe

Re: [users@httpd] php libraries

2012-11-06 Thread Ben Johnson
On 11/6/2012 3:56 PM, Norman Fournier wrote: > Hello, > > I am upgrading my php from 4 to 5 on OSX 10.4. The upgrade docs pointed me to > the Apache UNIX install guide. I uncommented the appropriate sections of > httpd.conf but php 4x is returned with phpinfo.php. > > My question is where do

Re: [users@httpd] Need help with multiple SSL certs + multiple domains

2012-11-05 Thread Ben Johnson
On 11/5/2012 4:46 PM, Igor Cicimov wrote: > > On 06/11/2012 6:03 AM, "Phusion" > wrote: >> >> I am in need of some assistance. The server is running Apache > 2.2.15-15 on Red >> Hat Enterprise Linux Server 6.3 x86_64. The configuration currently > has the >> followin

Re: [users@httpd] Apache not honoring SUID/GUID or FACL

2012-11-02 Thread Ben Johnson
On 11/2/2012 2:24 PM, Dan wrote: > Hello all... > > I have a Apache 2.2.15 install serving a Wordpress 3.4.2 site. I also > have a developer who needs to occasionally overwrite a specific file > in a plugin directory by FTP or SFTP. > > The issue I have is that newly installed plugins (installe

Re: [users@httpd] 500 status code responses, but the full/correct file contents are still sent to the user-agent

2012-11-02 Thread Ben Johnson
On 11/2/2012 5:35 AM, Tom Evans wrote: > On Thu, Nov 1, 2012 at 6:09 PM, Ben Johnson wrote: >> Might anyone know what could possibly cause Apache to return 500 >> (Internal Server Error) status code responses *but still return the >> requested file's contents*?

Re: [users@httpd] htaccess file trouble

2012-11-01 Thread Ben Johnson
block, as 2.4 uses a different syntax. Good luck! -Ben > -Original Message- > From: Ben Johnson [mailto:b...@indietorrent.org] > Sent: Thursday, November 01, 2012 1:44 PM > To: users@httpd.apache.org > Subject: Re: [users@httpd] htaccess file trouble > > > > On 11/1/20

Re: [users@httpd] htaccess file trouble

2012-11-01 Thread Ben Johnson
On 11/1/2012 4:31 PM, Marc Fromm wrote: > I have some .htaccess files in directories in /var/www/html which work > great. > > I create an .htaccess file in /var/www/secure/html/phpPgAdmin/ but it is > being ignored. > > > > I checked all the common mistakes like misspelled, syntax, and > All

[users@httpd] 500 status code responses, but the full/correct file contents are still sent to the user-agent

2012-11-01 Thread Ben Johnson
Might anyone know what could possibly cause Apache to return 500 (Internal Server Error) status code responses *but still return the requested file's contents*? I have reviewed the application logic carefully to ensure that no header that includes the 500 status code is being sent from within the

[users@httpd] "The connection was reset" frequently when browsing httpd.apache.org

2012-10-26 Thread Ben Johnson
In the last few months, I have observed frequent "The connection was reset" messages while browsing the documentation on httpd.apache.org. Curiously, if I switch browsers (from Firefox to Chrome), I'm usually able to retrieve the requested document. Likewise, if I wait a few minutes and refresh t

Re: [users@httpd] Intermittent 500 responses in access.log without corresponding entries in error.log

2012-10-25 Thread Ben Johnson
On 10/25/2012 7:20 AM, Tom Evans wrote: > On Mon, Oct 22, 2012 at 8:41 PM, Ben Johnson wrote: >> I suppose the next step is to further increase PHP_FCGI_MAX_REQUESTS and >> see if the frequency of these 500 responses decreases. > > Or set it to 1, and see if your conjectu

Re: [users@httpd] Intermittent 500 responses in access.log without corresponding entries in error.log

2012-10-22 Thread Ben Johnson
On 10/22/2012 12:45 PM, Ben Johnson wrote: > Hello, > > I'm struggling to debug an issue that seems to affect two different and > unrelated PHP scripts on a given website. > > The essence of the issue is that the scripts in question (and only those > scripts) return

[users@httpd] Intermittent 500 responses in access.log without corresponding entries in error.log

2012-10-22 Thread Ben Johnson
Hello, I'm struggling to debug an issue that seems to affect two different and unrelated PHP scripts on a given website. The essence of the issue is that the scripts in question (and only those scripts) return status code 500 responses, but only some small percentage of the time. The effective p

Re: [users@httpd] How to strip out the query parameter for specific URLs using mod_rewrite?

2012-10-04 Thread Ben Johnson
On 10/4/2012 12:01 PM, Bhattacharya, Sudip wrote: > Great. This one worked. > > However, it looks like the first request with the query string returns a 301 > moved permanently response, requiring another request from the browser to the > file without the query string. > > Can this redirectio

Re: [users@httpd] How to strip out the query parameter for specific URLs using mod_rewrite?

2012-10-04 Thread Ben Johnson
On 10/4/2012 11:32 AM, Bhattacharya, Sudip wrote: > Hi Sridhar, > > This would apply to the whole virtual host. I need to enable it for specific > subfolders. Something like this should work: RewriteCond %{REQUEST_URI} =/folder/xmlfiles/static.xml RewriteCond %{QUERY_STRING} !="" #The ? at th

Re: [users@httpd] gzipping via mod_deflate, the DeflateBufferSize, the Content-Length header, and download progress in Web browsers

2012-10-03 Thread Ben Johnson
On 9/26/2012 12:39 PM, Eric Covener wrote: >> Is there any chance that the SetEnvIfNoCase directive is not being >> satisfied due to the mod_rewrite rules that I'm using? > > There's always a way for things to go wrong with mod_rewrite. > > SetEnvIf would run both before and after your rewrite

Re: [users@httpd] how to redirect a site via r301

2012-10-02 Thread Ben Johnson
On 10/2/2012 9:46 AM, Bulent Malik wrote: > > I use apache2.2 on freebsd8. > I have 2 sites on it. First is test.org and second one is test.com. > > I wish apache to redirect that When a visitor reaches at > http://test.org/query.php?id=516263 to http://test.com/query.php?id=516263 >

Re: [users@httpd] server full name

2012-10-01 Thread Ben Johnson
On 10/1/2012 3:15 PM, Cheerful Gao wrote: > * > Hello, > I want to build a website http://www.lankaoshenli.com/ and host this > website using Apache http server on my PC with Windows 7 home premium. I > need provide a full server name during the server installaton according > to the document. Sho

Re: [users@httpd] Forcing SSL while redirecting with query string intact, preventing "double-login problem" and preventing plaintext authentication

2012-09-27 Thread Ben Johnson
On 9/27/2012 11:55 AM, Yehuda Katz wrote: > We use mod_rewrite (non-relevant config removed): > > > > RewriteEngine On > RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} > > > > AddExternalAuth pwauth /usr/sbin/pwauth > SetExternalAuthMethod pwauth pipe >

Re: [users@httpd] Forcing SSL while redirecting with query string intact, preventing "double-login problem" and preventing plaintext authentication

2012-09-27 Thread Ben Johnson
On 9/27/2012 11:06 AM, Ben Johnson wrote: > Hello, > > Over the years, I've experimented with a number of mechanisms by which > to force SSL connections to a website, while at the same time: > > a.) Preventing the "double-login" problem. > > b.) Eliminat

[users@httpd] Forcing SSL while redirecting with query string intact, preventing "double-login problem" and preventing plaintext authentication

2012-09-27 Thread Ben Johnson
Hello, Over the years, I've experimented with a number of mechanisms by which to force SSL connections to a website, while at the same time: a.) Preventing the "double-login" problem. b.) Eliminating entirely the potential for users to log-in over a plain-text connection. c.) Redirecting plain-

Re: [users@httpd] gzipping via mod_deflate, the DeflateBufferSize, the Content-Length header, and download progress in Web browsers

2012-09-26 Thread Ben Johnson
On 9/12/2012 1:16 PM, Ben Johnson wrote: > Would it be better to disable GZIP compression for all URLs within the > /download/ (for example) directory? > > Or perhaps for certain file-types? Because I tried that with the > following, but it seems not to have any effect (I belie

Re: [users@httpd] Apache fails to start, without explanation, when certain SSL-related directives are misconfigured

2012-09-26 Thread Ben Johnson
On 8/22/2012 10:55 AM, Ben Johnson wrote: > > > On 8/22/2012 9:36 AM, Eric Covener wrote: >> On Wed, Aug 22, 2012 at 9:24 AM, Ben Johnson wrote: >>> >>> >>> On 8/22/2012 8:56 AM, Eric Covener wrote: >>>>> Dovecot dropped its TLS capabil

Re: [users@httpd] output compression when host has disabled mod_deflate, mod_gzip and php_value auto_prepend_file

2012-09-21 Thread Ben Johnson
On 9/21/2012 12:44 PM, edward eric pedersson wrote: > Thanks for your response Ben. Sure! > I did mean the user-agent caching. I guess I can control this using the > PHP header output and hope the user-agent respects the header. > > Penalties or benefits, depends which way you look at it I gue

Re: [users@httpd] output compression when host has disabled mod_deflate, mod_gzip and php_value auto_prepend_file

2012-09-21 Thread Ben Johnson
On 9/21/2012 10:10 AM, edward eric pedersson wrote: > 1) Will apache cache the full url or the url minus the query parameter? I don't believe that Apache will cache anything. Did you mean the user-agent? If so, the user-agent should cache the contents associated with the entire URL, including th

Re: [users@httpd] can't display or download images on new Apache install

2012-09-19 Thread Ben Johnson
On 9/19/2012 1:08 PM, Rick Lopez wrote: > Thanks for the reply. To clarify I am running Apache 2.4.3. I also used > Kompozer to create the index.html file so I assumed it was creating the > correct syntax. Kompozer created this for the embedded jpg file: > > src="file:///usr/local/apache2/images

Re: [users@httpd] error 404 from a page that does not exist

2012-09-12 Thread Ben Johnson
On 9/12/2012 1:10 PM, Marc Fromm wrote: > Strange. I don't have wordpress on my server. Where could it come form? Someone is "guessing URLs". That is, probing your server to see whether or not you have WordPress installed. This is harmless, for the most part, but you may want to take some kind

[users@httpd] gzipping via mod_deflate, the DeflateBufferSize, the Content-Length header, and download progress in Web browsers

2012-09-12 Thread Ben Johnson
I have a "download page" that serves various types of content (PDFs, ZIP files, images, etc.) via a PHP script that is executed atop Apache. Whenever I enable GZIP compression on this page, via mod_deflate, Web browsers do not show the total file size to be downloaded, presumably because Apache is

Re: [users@httpd] Apache authentication - require group AND (not OR) user

2012-09-07 Thread Ben Johnson
On 8/23/2012 1:12 PM, Ben Johnson wrote: > > > On 8/22/2012 3:48 PM, Ben Johnson wrote: >> >> >> On 8/22/2012 2:39 PM, Eric Covener wrote: >>>> http://www.svnforum.org/threads/37237-AuthzSVNAccessFile-Require-ldap-group >>> >>> T

Re: [users@httpd] replace an ip @ by a "normal" URL

2012-08-27 Thread Ben Johnson
On 8/27/2012 4:42 PM, Ijlal EL HAZITI wrote: > Hello everybody > I've just installed a webapp (sakai precisely) in a CentOs 6.2 server. > sakai is accessivle via *@ip:8080/portal, *and I need to replace that > adresse by a normal URL: www.exapmle.com/sakai > > > I'

[users@httpd] ModPHP performance is good, FastCGI is not: Resource limit? Lock? Race condition?

2012-08-24 Thread Ben Johnson
Hello, I'm wrestling with an issue that has been unusually difficult for me to troubleshoot. I believe to have reduced the root cause to executing PHP sripts with ModPHP vs. FastCGI. Basically, I have an HTML document (generated via PHP, which isn't necessarily relevant) that includes several ex

Re: [users@httpd] Large static files - no mod_xsendfile available

2012-08-23 Thread Ben Johnson
On 8/23/2012 3:26 PM, Ben Johnson wrote: > Sending this off-list, because it's probably not the appropriate venue > for the comment Oops... bit of a faux pas there. Fat-fingered a key or two and sent that right to the list. Welp, cat's out of the bag. If it's any con

Re: [users@httpd] Large static files - no mod_xsendfile available

2012-08-23 Thread Ben Johnson
Jan, Sending this off-list, because it's probably not the appropriate venue for the comment, but have you looked into the nginx Web-server at all? It's relatively immature, but from what I've read, its performance is by far superior to Apache's, due to a radically different architecture. It wasn

Re: [users@httpd] Large static files - no mod_xsendfile available

2012-08-23 Thread Ben Johnson
On 8/23/2012 2:55 PM, Knacktus wrote: > Am 23.08.2012 20:27, schrieb Ben Johnson: >> >> >> On 8/23/2012 1:42 PM, Knacktus wrote: >>> Hi all, >>> >>> I'm a newbie to Apache, so I hope my question makes any sense :-) ... >>> >>

Re: [users@httpd] Large static files - no mod_xsendfile available

2012-08-23 Thread Ben Johnson
On 8/23/2012 1:42 PM, Knacktus wrote: > Hi all, > > I'm a newbie to Apache, so I hope my question makes any sense :-) ... > > I have a Python web application which runs on a RedHat 6.3 Server. I'm > not allowed to install any third party packages or modules, which are > not in the RedHat standa

Re: [users@httpd] Apache authentication - require group AND (not OR) user

2012-08-23 Thread Ben Johnson
On 8/22/2012 3:48 PM, Ben Johnson wrote: > > > On 8/22/2012 2:39 PM, Eric Covener wrote: >>> http://www.svnforum.org/threads/37237-AuthzSVNAccessFile-Require-ldap-group >> >> That thread predates the authorization containers from 2.4 recommended >> in this

Re: [users@httpd] Apache authentication - require group AND (not OR) user

2012-08-22 Thread Ben Johnson
On 8/22/2012 2:39 PM, Eric Covener wrote: >> http://www.svnforum.org/threads/37237-AuthzSVNAccessFile-Require-ldap-group > > That thread predates the authorization containers from 2.4 recommended > in this thread. Maybe there are plans for AuthzSVN to interoperate, > or maybe it already does.

Re: [users@httpd] Apache authentication - require group AND (not OR) user

2012-08-22 Thread Ben Johnson
On 8/16/2012 11:28 AM, Ben Johnson wrote: > > >> On 8/15/2012 7:45 AM, Rainer Jung wrote: >> You might be looking for the RequireAny and RequireAll container >> directives: >> >> http://httpd.apache.org/docs/2.4/en/mod/mod_authz_core.html#requireall >&g

Re: [users@httpd] An interesting observation

2012-08-22 Thread Ben Johnson
On 8/22/2012 1:09 AM, Ajay Garg wrote: > Hi all. > > I have been doing some testing with uploading large files to a > httpd-based WebDAV server, and I notice that while uploading large > files, if the connection breaks midway and the file is not transmitted > completely, the (incomplete) file is

Re: [users@httpd] Apache fails to start, without explanation, when certain SSL-related directives are misconfigured

2012-08-22 Thread Ben Johnson
On 8/22/2012 9:36 AM, Eric Covener wrote: > On Wed, Aug 22, 2012 at 9:24 AM, Ben Johnson wrote: >> >> >> On 8/22/2012 8:56 AM, Eric Covener wrote: >>>> Dovecot dropped its TLS capabilities, but it still started >>>> the server and bound to the non-s

Re: [users@httpd] Apache fails to start, without explanation, when certain SSL-related directives are misconfigured

2012-08-22 Thread Ben Johnson
On 8/22/2012 8:56 AM, Eric Covener wrote: >> Dovecot dropped its TLS capabilities, but it still started >> the server and bound to the non-secure port. > > I'd personally prefer the server fail startup rather than operate w/o SSL. While that may be, this preference should not be assumed. Even i

Re: [users@httpd] Apache fails to start, without explanation, when certain SSL-related directives are misconfigured

2012-08-22 Thread Ben Johnson
On 8/22/2012 8:55 AM, Eric Covener wrote: > example? I provided one in my initial message: when Apache is configured to use a given SSL certificate and the key and certificate files do not match. > - > To unsubscribe, e-mail: u

[users@httpd] Apache fails to start, without explanation, when certain SSL-related directives are misconfigured

2012-08-22 Thread Ben Johnson
Hello, I find it extremely troubling that when Apache fails to start due to an SSL-related misconfiguration nothing is logged to that effect. For example, if a certificate and private key do not match, Apache will fail to start and, from what I can tell, fails to log anything at all. Maybe there

Re: [users@httpd] mod_rewrite And Browser Caching

2012-08-18 Thread Ben Johnson
On 8/18/2012 11:30 AM, sebb wrote: > On 18 August 2012 15:55, Drew Tomlinson wrote: >> I've been working at this for days and couldn't figure out why a mod_rewrite >> rule wasn't working. My situation was that I wanted to redirect this: >> >> http://domain.com/unique_directory/whatever >> >> to

Re: [users@httpd] Apache authentication - require group AND (not OR) user

2012-08-16 Thread Ben Johnson
On 8/15/2012 7:45 AM, Rainer Jung wrote: > On 14.08.2012 23:30, Ben Johnson wrote: >> Hello, >> >> I've scoured the Internet for examples of how to implement logical >> operators where the "require" directive is concerned. >> >> The dearth

  1   2   >