[users@httpd] Require expr

2016-10-21 Thread Ben Barker
Hi, I am running Apache 2.2.24 I have a site protected by basic authentication Ideally, I would like to be able to bypass that authentication on provision of a suitable query string, such that: http://./page.html asks for auth http://./page.html?secret=xxx does not So far as I can s

Re: [users@httpd] root perms / rewritemap prg / module system()

2016-06-24 Thread Ben RUBSON
> On 24 Jun 2016, at 16:24, Stormy wrote: > > At 03:53 PM 6/24/2016 +0200, Ben RUBSON wrote: >> On 2016-06-08 at 14:24, Nick Kew wrote : >> > On Wed, 2016-06-08 at 08:01 -0400, Eric Covener wrote: >> >> On Sat, Apr 16, 2016 at 6:00 PM, Ben RUBSON wrote: >

Re: [users@httpd] root perms / rewritemap prg / module system()

2016-06-24 Thread Ben RUBSON
On 2016-06-08 at 14:24, Nick Kew wrote : > On Wed, 2016-06-08 at 08:01 -0400, Eric Covener wrote: >> On Sat, Apr 16, 2016 at 6:00 PM, Ben RUBSON wrote: >>> Then my question is, could it be possible ? >> >> You would need your own daemon launched during an early ho

[users@httpd] Re: New password protected certificates & conf reload

2016-06-13 Thread Ben RUBSON
> Is there any way to make this work as I am expecting ? Just for reference, I opened a feature request : https://bz.apache.org/bugzilla/show_bug.cgi?id=59693 - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For addit

[users@httpd] New password protected certificates & conf reload

2016-06-12 Thread Ben RUBSON
che has already intentionally forgotten the password. Am I right ? Is there any way to make this work as I am expecting ? Thank you very much ! Best regards, Ben - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For addi

Re: [users@httpd] root perms / rewritemap prg / module system()

2016-06-08 Thread Ben RUBSON
> On 8 jun 2016 at 14:01, Eric Covener : > > On Sat, Apr 16, 2016 at 6:00 PM, Ben RUBSON wrote: >> Then my question is, could it be possible ? > > You would need your own daemon launched during an early hook (like > post_config). You wouldn't be able to respond [d

[users@httpd] Re: root perms / rewritemap prg / module system()

2016-06-08 Thread Ben RUBSON
Hello, Any thoughts on the topic below please ? Apache dev-team, Eric, Rainer... ? :) Many thanks ! Best regards, Ben > On 17 apr. 2016 at 00:00, Ben RUBSON : > > Hello, > > When Apache is started from root user (as all services are), even if it then > switches

Re: [users@httpd] Restart or Reload after changing MaxClients and ServerLimit

2016-04-24 Thread Ben RUBSON
> On Sun, Apr 24, 2016 at 3:08 PM, Ben RUBSON <mailto:ben.rub...@gmail.com>> wrote: > Reading the doc, seems that ServerLimit is related to MaxRequestWorkers > (which has a default set to 256). > > Ben > > > >> Le 24 avr. 2016 à 20:52, Cohen,

Re: [users@httpd] Restart or Reload after changing MaxClients and ServerLimit

2016-04-24 Thread Ben RUBSON
Reading the doc, seems that ServerLimit is related to MaxRequestWorkers (which has a default set to 256). Ben > Le 24 avr. 2016 à 20:52, Cohen, Laurence a écrit : > > Hello, > > While reloading httpd did increase MaxClients to 400 as specified, it did not > increase Ser

Re: [users@httpd] Restart or Reload after changing MaxClients and ServerLimit

2016-04-24 Thread Ben RUBSON
Hi, reload will do it ! Ben > Le 24 avr. 2016 à 17:14, Cohen, Laurence a écrit : > > Hi, > > I need to increase my httpd server's MaxClients and ServerLimit. Can I just > do a > > service httpd reload > > to load the new settings? > > Or do

[users@httpd] root perms / rewritemap prg / module system()

2016-04-16 Thread Ben RUBSON
configured user:group, I then think I will not be able to run commands as root from a module. Then my question is, could it be possible ? I could use sudo, but perhaps there's a more elegant built-in solution. Thank you very much ! Best regards, Ben -

Re: [users@httpd] Get UID/GID from a username string

2016-04-16 Thread Ben RUBSON
>>> Ben: have a look at how mod_rewrite accesses its own >>> ap_register_rewrite_mapfunc via >> >> So Rainer, I just quickly wrote my module, it works, many thanks for your >> help. >> >> Below is my code, I just have 2 questions regarding it :

Re: [users@httpd] Get UID/GID from a username string

2016-04-16 Thread Ben RUBSON
> Ben: have a look at how mod_rewrite accesses its own > ap_register_rewrite_mapfunc via So Rainer, I just quickly wrote my module, it works, many thanks for your help. Below is my code, I just have 2 questions regarding it : 1 - do I need to "free(pw)" ? 2 - is "key =

Re: [users@httpd] Get UID/GID from a username string

2016-04-15 Thread Ben RUBSON
t mod_rewrite because these functions would have then been easily available to everyone. And quite easy to develop, as it only requires to extend the existing functions catalog :) But quite specific I agree. > Ben: have a look at how mod_rewrite accesses its own > ap_register_rewrite_

Re: [users@httpd] Get UID/GID from a username string

2016-04-15 Thread Ben RUBSON
blob/trunk/modules/mappers/mod_rewrite.c Thank you very much, Ben - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Get UID/GID from a username string [wd-vc]

2016-04-15 Thread Ben RUBSON
Well I would like to be able to do it on the fly when a request is proceeded by Apache. Through mod_rewrite for example. I already do it with a RewriteMap which returns me UID/GID, but perhaps there is a less time consuming solution. Ben > In case your system uses /etc/passwd, this will

[users@httpd] Get UID/GID from a username string

2016-04-15 Thread Ben RUBSON
t the corresponding GID ? Thank you very much, Ben - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Avoid internal request on PATH_INFO

2016-04-08 Thread Ben RUBSON
> What I would like to avoid is the entry in the error log for > /additional/path/info which does not exist. What entry? >>> >>> Hello Eric, >>> >>> These messages : >>> client denied by server configuration: >>> /my_document_root/additional/path/info >>> >>> Only /my_docume

Re: [users@httpd] Avoid internal request on PATH_INFO

2016-04-07 Thread Ben RUBSON
> Le 7 avr. 2016 à 21:07, Ben RUBSON a écrit : > >>> What I would like to avoid is the entry in the error log for >>> /additional/path/info which does not exist. >> >> What entry? > > Hello Eric, > > These messages : > client denied by serv

Re: [users@httpd] Avoid internal request on PATH_INFO

2016-04-07 Thread Ben RUBSON
me other paths are available for requests. Ben - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

[users@httpd] Avoid internal request on PATH_INFO

2016-04-07 Thread Ben RUBSON
certainly due to an Apache internal request on PATH_INFO. Is there any way to avoid this ? Thank you very much, Best regards, Ben - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users

[users@httpd] Hi

2015-01-23 Thread Ben David
n learning more. Frankly, I'm not entirely sure at this point to what degree I'll be working with Apache beyond its function as a webserver, but I'm interested in it and what may be possible and in a general understanding of it. I'm currently running Apache 2.4.6 on Cen

Re: [users@httpd] redirect within module?

2013-12-22 Thread Ben Reser
On 12/11/13, 9:26 AM, Eric Covener wrote: > If you can run in translate_name, just do what mod_alias does. > If you have to run as a handler, maybe look at how mod_rewrite does > its internal redirect. I would stay away from duplicating what mod_rewrite does in translate_name for internal redirect

Re: [users@httpd] Does mod_auth_digest not determine session expiration?

2013-12-22 Thread Ben Reser
On 12/22/13, 3:13 PM, Allasso Travesser wrote: > Thank you, Ben, very informative. So I get from this that unmodified, > mod_auth_digest behaves as I said, though it could be modified to force the > browser to do a prompt. Yes, sorry if I wasn't very clear about that. > I

Re: [users@httpd] Does mod_auth_digest not determine session expiration?

2013-12-22 Thread Ben Reser
On 12/22/13 6:07 AM, Allasso Travesser wrote: > So I believe that mod_auth_digest has no and uses no mechanism for tracking > sessions, and always operates in a stateless context. In essence, for each > request it checks the request header for proper login metadata, and if and > only > if it qual

Re: [users@httpd] mod_dav: resume transfers not working

2013-12-17 Thread Ben Reser
On 12/17/13 7:29 AM, Stephen wrote: > Forgive me if I am not asking this question in the right way. If I should post > it somewhere else, please let me know. You're in the right place. > I have been racking my brain as to why some uploads via webdav are failing to > resume. I have some users tha

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

2013-10-03 Thread Ben Johnson
Vary User-Agent env=!dont-vary ###### The responses are indeed gzip-compressed, but not cached. Are gzip-compression and caching mutually exclusive in Apache? Or am I doing something silly? Thanks for any pointers! -Ben - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Apache 2 Mod JK Tomcat load balancing

2013-08-16 Thread Ben Reser
On Fri Aug 16 14:43:23 2013, CR Rajesh wrote: > I'm using Apache 2.4 to load balance Tomcat servers 6 using mod jk. > I'd like to know if it is possible to dynamically add/remove workers > without restarting Apache. I don't think so but mod_cluster has the ability to do that: http://www.jboss.org/

Re: [users@httpd] RE: EXT :Re: [users@httpd] RE: EXT :Re: [users@httpd] apache 2.2.25 and svn commit

2013-08-09 Thread Ben Reser
On Thu, Aug 1, 2013 at 7:22 PM, Ben Reser wrote: > On Thu, Aug 1, 2013 at 7:04 PM, Brennan, Edward C (HII-Ingalls) > wrote: >> Thanks, Ben. So based on your response, I still don't know what caused the >> error. I introduced apache 2.2.25 into my environment, and I get

Re: [users@httpd] AuthType Digest in 2.4?

2013-08-07 Thread Ben Reser
On Wed, Aug 7, 2013 at 6:20 AM, LuKreme wrote: > First, when we set this up ages ago-go, the way to go was > > AuthType digest > > And I rather suspect that is *nt* the recommended way to go with 2.4. Unless you're going to use SSL you probably still want to use Digest. -

Re: [users@httpd] GZIP DEFLATE and HTTPD

2013-08-07 Thread Ben Reser
On Wed, Aug 7, 2013 at 1:59 PM, Akash Jain wrote: > Per Akamai Guy, Vary shows akamai that content can vary so akamai is not > caching, and this leading akamai to make requests to our webversion ... > We mostly just use JS and CSS to be served from akamai .. I think whoever you're talking about a

Re: [users@httpd] GZIP DEFLATE and HTTPD

2013-08-07 Thread Ben Reser
On Wed, Aug 7, 2013 at 1:39 PM, Nick Kew wrote: > If you omit a Vary header, you're telling the cache you can't supply > other variants. That leaves the cache the choice of returning the > wrong contents to some clients, or returning an error. Or perhaps > ignoring the HTTP spec and asking the b

Re: [users@httpd] How limit directives at htaccess file

2013-08-06 Thread Ben Reser
On Tue, Aug 6, 2013 at 11:54 AM, Pol Hallen wrote: > Hi all, I'm study apache and I don't understand some things about htaccess. > > Reading, the advice is: never permit htaccess to users. > > So, can I enable htaccess but only for personalize something like this? > > ErrorDocument 400 /errors/bad

Re: [users@httpd] Setting up Apache Subversion

2013-08-02 Thread Ben Reser
On Fri, Aug 2, 2013 at 3:26 PM, Scott Genevish wrote: > OK, I figured out a solution based on this message: > > http://tigris-scm.10930.n7.nabble.com/TortoiseSVN-1-4-0-Build-7195-fails-when-Apache-sends-301-Redirect-td39856.html > > I added this line to the httpd.conf file where the other lines li

Re: [users@httpd] RE: EXT :Re: [users@httpd] RE: EXT :Re: [users@httpd] apache 2.2.25 and svn commit

2013-08-01 Thread Ben Reser
On Thu, Aug 1, 2013 at 7:04 PM, Brennan, Edward C (HII-Ingalls) wrote: > Thanks, Ben. So based on your response, I still don't know what caused the > error. I introduced apache 2.2.25 into my environment, and I get the error > (which is why I posted to users@httpd, since I didn

Re: [users@httpd] RE: EXT :Re: [users@httpd] apache 2.2.25 and svn commit

2013-08-01 Thread Ben Reser
First of all this probably belongs on us...@subversion.apache.org... On Wed, Jul 31, 2013 at 1:43 PM, Brennan, Edward C (HII-Ingalls) wrote: > Thank you. > I am trying to understand what the recommendation is here. I am currently > using SVN 1.6.6 and have apache 2.2.22 in production (reverte

Re: [users@httpd] httpd 2.0 to 2.2

2013-06-17 Thread Ben Johnson
2, and you'll need to consult the Change Log to identify which directives those might be.) Good luck, -Ben - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

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

2013-06-14 Thread Ben Johnson
l address* (vs. an IP address) in the above snippet? If so, that definitely will not work. -Ben - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

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
Z7kl myPassword $apr1$f/X4Z7kl$XA7sEz7.aRdZX0ZMweLXd/ (the hashes match; the password is valid) This should be everything you need. -Ben - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

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

2013-04-30 Thread Ben Johnson
ould need a clue of how to setup ODBC on linux as well, but > thats another cake) It is indeed. But the process should be pretty similar, again, using the "yum" package manager to install and configure. Search engines will tell you plenty in that regard. > BR georg > Good 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: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
ot; Thanks to everyone here for the assistance in getting this to work properly (under Windows, no less). --- Happy to answer any questions! Good luck! -Ben - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

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

2013-03-12 Thread Ben Johnson
ccess to modify the documentation yourself. Perhaps someone else on this list can provide more information if you wish to gain commit access. > > > Thanks > > Peter > Be well! -Ben - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] PHP list issues

2013-03-07 Thread Ben Johnson
ch is unrelated to the fact that you're storing the images in a database.) Further questions should be directed at a PHP list or forum. There are plenty of them; you might use a search engine. -Ben - To unsubscribe, e-mail: us

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

2013-03-04 Thread Ben Johnson
ory (C:\Program Files). If you install Apache elsewhere, it will not necessarily require Administrator privileges to write to its logs. Enjoy! -Ben >> Date: Sun, 3 Mar 2013 15:20:25 -0500 >> From: b...@indietorrent.org >> To: users@httpd.apache.org >> Subject: Re:

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

2013-03-03 Thread Ben Johnson
the command-line? If you are running Apache as a service, then Apache will have the effective permissions of the account under which the service is running (not the permissions of your user account). If you are starting Apache from the command-line, then you need to be sure that you launch the

Re: [users@httpd] I need your Help

2013-02-26 Thread Ben Johnson
This is the directory to which you need to be adding your own files. Also, are you browsing to http://localhost only? Or are you specifying a file, like http://localhost/my-file.html? In the former case, Apache will look for and serve "index.html", if it exists (otherwise it will ret

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

2013-02-26 Thread Ben Johnson
e ^(.*)$ index.cfm?q=$1 [L,QSA] It sounds like you are looking for the functionality that QSA (Query String Append) provides. -Ben - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

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

2013-02-25 Thread Ben Johnson
ted solution of some kind (e.g., the "live site" you mentioned)? Because to what degree you have control over the Apache configuration dictates the approach you should take. -Ben - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

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

2013-02-25 Thread Ben Johnson
o the "unable to open logs" error. Does the syslog reveal anything useful? Finally, your remarks seem to imply that Apache restarts all on its own from time to time. > Apache starts at boot and sometimes restarts while the server is >

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

2013-02-21 Thread Ben Johnson
On 2/21/2013 9:59 PM, Yoshinori Sano wrote: > Ben, > > Thank you for your explanation. > > But, why Apache Software Foundation does not provide the windows binaries > and MSI files any more? Is there some problem or trouble happened? > I want to know the reason if

Re: [users@httpd] Apache2 error

2013-02-21 Thread Ben Johnson
On 2/21/2013 9:08 AM, Krishna Chandra Prajapati wrote: > Hi Ben, > > Yes, this is my own dedicated server from big brand. It's a virtual server. > > Krishna Unfortunately, you're probably on your own, then. Most dedicated-virtual providers don't provide supp

Re: [users@httpd] Apache2 error

2013-02-20 Thread Ben Johnson
cate a third-party module or faulty software (e.g., kernel) or hardware (e.g., memory). If this is occurring on a hosted platform, I would bring it to Customer Support's attention before exploring other avenues. If this is your own serve

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

2013-02-19 Thread Ben Johnson
m as a courtesy to the rest of us; as such, our expectations must be kept reasonable. Good luck with your project, -Ben - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

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

2013-02-19 Thread Ben Johnson
httpd.conf) ## Alias /project-one "C:/Users/Ben/Documents/Projects/one-svn/trunk" Alias /project-two "C:/Users/Ben/Documents/Projects/two-svn/trunk" Options +Indexes +FollowSymLinks AllowOverride A

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
On 2/14/2013 11:52 AM, Benoit GEORGELIN (web4all) wrote: > Hi ! > > I'm agree with you BEN. > Thanks for all these information. > > I'll try some others tests with Riccardo and we will update the message even > if it's not an apache problem :) A

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

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

2013-02-14 Thread Ben Johnson
-- While it's possible to "fix" the 404 issue so that a "prettier" message is displayed, the root cause here seems to be, very simply, that the PHP CGI executable can't find the requested PHP file (test.php, in this case). I'm not sure what would cause this, but

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

2013-02-13 Thread Ben Johnson
On 2/13/2013 4:14 PM, Riccardo Cohen wrote: > Hi Ben > >>> I tried without the dot : RewriteRule ^en/(.*) index.php/en/$1 but it >>> gave also an error 404. >> >> It would be helpful to know what, exactly, appears in Apache's access >> log (and/or

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

2013-02-13 Thread Ben Johnson
On 2/12/2013 3:19 PM, Riccardo Cohen wrote: > Hi Ben > I tried without the dot : RewriteRule ^en/(.*) index.php/en/$1 but it > gave also an error 404. It would be helpful to know what, exactly, appears in Apache's access log (and/or error log, if you can manage to find that, t

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
On 2/12/2013 10:59 AM, Riccardo Cohen wrote: > Thanks Ben, here are the answers : > >> 1.) Where have you defined the rewrite rule? In a .htaccess file? > > in .htaccess > >> 2.) Have you defined a RewriteBase? If so, what is it? > > no change with or wi

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

2013-02-12 Thread Ben Johnson
rite rule? In a .htaccess file? 2.) Have you defined a RewriteBase? If so, what is it? 3.) Have you reviewed Apache's access log at all? 4.) Have you increased RewriteLogLevel to, say, 4, to see exactly what the mod_rewrite engine is doing? -Ben > So I'll be very pleased to here

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
Module socache_dbm_module modules/mod_socache_dbm.so # mod_dbd configuration DBDriver odbc DBDParams "DATASOURCE=ApacheMysqlAuth" DBDMin 4 DBDKeep 8 DBDMax 20 DBDExptime 300 DBDPersist Off DocumentRoot "C:/Users/Ben/Documents/Apache" Options -Indexes +FollowSymLinks

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

2012-12-31 Thread Ben Johnson
ocs makes a good second-best. >> >> If you enter it in bugzilla we'll have no excuse to forget it! >> I was thinking about an instant update until I noted mod_fcgid >> is still a separate subproject. > https://issues.apache.org/bugzilla/ Create an account and then click "File a bug". -Ben - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] MPM module for windows

2012-12-20 Thread Ben Johnson
the only MPM that takes advantage of the operating system's native capabilities. If you use a different MPM, a POSIX layer will be used, which one must assume will hinder performance considerably (and detract from the server's feature-set). If anyone

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

2012-12-11 Thread Ben Johnson
but in general, "./configure" simply generates the "Makefile". Can you not just delete the Makefile between attempts? -Ben - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

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

2012-12-11 Thread Ben Johnson
ith which Apache creates files, you are violating a fundamental tenet of the portability principle. If I read your original post correctly, PHP should have the permissions required to call chmod('/tmp/fcgid.tmp.PEozaa/', octdec('0644)). Problem solved. -Ben -

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

2012-12-11 Thread Ben Johnson
s chmod() function, e.g., chmod('/tmp/file.ext', octdec('0644')) on the temporary file once you've confirmed that is has been uploaded to PHP's temporary directory successfully? -Ben - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

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

2012-12-11 Thread Ben Johnson
best known source for such binaries: https://www.apachelounge.com/download/ You can find Apache 2.4 binaries, including the most popular Apache modules, at the above-cited URL. Good luck! -Ben - To unsubscribe, e-mail: users-uns

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

2012-12-10 Thread Ben Johnson
liated with Apache Lounge (beyond being a forum member). Good luck! -Ben - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

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

2012-12-05 Thread Ben Johnson
EST_FILENAME} !-d > RewriteRule .* index.php [L] > > i'm lost and i don't see my mistake :( > any idea ? > thx > > -- > > > A.R. > When the 500 error occurs, Apache should write an entry to its log. Always check the log before posting, please. -Ben - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

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

2012-12-05 Thread Ben Johnson
elf. That said, I remember reading somewhere that Apache attempts to reload certain portions of that information in the normal course of operation. Perhaps one of the developers will weigh-in. Why you would ever want to do something like that is another issue altogether. Would you

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
;{SHA}', `password`) FROM `web_user` WHERE `username` = %s" - To where should these directives be moved to avoid this overwriting? To the block whose path matches the server's document root? Thanks! -Ben ---

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
ntax error. In other words, I am definitely modifying the correct file, and Apache is definitely picking-up on the changes. I'm pretty well stumped here... Thanks again, -Ben - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

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
onf 19: 23: Require valid-user : In file: C:/Program Files/apache/conf/httpd.conf 638: 639: Require all granted : --- I must be overlooking something obvious here, and any help is much appreciated. Thank you! -Ben

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

2012-11-29 Thread Ben Johnson
l host), based on your initial post. What, exactly, are you hoping to see in your Apache logs? Can you post a sample "ideal log entry"? Doesn't the /the/path/to/the/phpfile contain the subdirectory (which you seem to be equating with a "website") of interest? The bottom line i

Re: [users@httpd] How to enable mod_ssl

2012-11-21 Thread Ben Johnson
re there differs. Others may feel free to correct me if I'm wrong, but on RedHat, CentOS, etc., it is necessary to add a configuration file for the given module in /etc/httpd/conf.d/. Apache scans all configuration files in this directory on startup by default. Have you searched the Int

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

2012-11-19 Thread Ben Johnson
; Let me repeat my last question: Does the password look like httpd >>> expects the password to look? >>> >>> Now, let me quote from the document >>> ( http://httpd.apache.org/docs/2.2/misc/password_encryptions.html ) >>> I linked: >>>

Re: [users@httpd] Exploit?

2012-11-19 Thread Ben Johnson
that may be vulnerable to this type of exploit, be sure to perform due diligence and update it if necessary. Good luck! -Ben > > Issac Goldstand wrote: >> not sure what it thinks its matching but both of those urls will >> return 200 with the homepage on a static site... >

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
t location. Presumably, the "kernel" directory is inside the "wiki" directory. Most likely, the root of the problem is in how that /wiki location is defined. Did you define that location yourself? Or did you just install some off-the-shelf Wikimedia package for your OS? -Ben - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

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

2012-11-13 Thread Ben Johnson
egarding mod_info, while I have not tested this with Apache 2.4, it should be as simple as installing the module and adding something like this to your server configuration: Require all granted SetHandler server-info You'll probably want to add some kind of authentication requirement to the block, too, so that unauthorized parties cannot view your configuration directives. -Ben - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

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

2012-11-13 Thread Ben Johnson
ow was the ideal > opportunity to switch, but if something as basic as this is not working > then is 2.4 actually any use at all? > You, good sir, would be well-served to install mod_info, which will tell you exactly which directives are be

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

2012-11-09 Thread Ben Johnson
my own work. I'm sure that many of us would be curious to hear back from you once you've tinkered a bit more. Good luck! -Ben > I added the following to my main config: > > LoadModule fastcgi_module modules/mod_fastcgi.so > FastCgiWrapper On >

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

2012-11-08 Thread Ben Johnson
(Unauthorized)? 403 (Access Denied)? Which ports did you forward? Just 80? Have you forwarded other ports to the same PC successfully? -Ben - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] php libraries

2012-11-06 Thread Ben Johnson
p://www.linkedin.com/profile/view?id=18127460 > youtube: http://www.youtube.com/user/normanfournier > Unless you consider yourself to be an expert, and would prefer to configure every element of your stack independently, I recommend that you do yourself a real favor and install MAMP: http://ww

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

2012-11-05 Thread Ben Johnson
ame virtual hosts starting with SNI support in all > modern browsers and apache 2.2.12. All you need to do is point each > virtual host to its wildcard domain cert. If that was the question... One important caveat regarding Server Name Indication (SNI): any user-agent (browser, device, etc.) that doesn't implement SNI (IE on Windows XP, for example) will be directed to the first virtual host that is defined in your Apache configuration. This could have unwanted or unintended consequences, so beware... especially if you cannot easily re-order the entries manually. -Ben - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

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

2012-11-02 Thread Ben Johnson
Thanks in advance... > > Dan Hi, Dan, Presumably, PHP is running as an Apache module (e.g., mod_php) for this particular (v)host. Do you have a specific reason for sticking to mod_php? Because if you simply switched to CGI or FastCGI + suExec, suPHP, etc., Apache processes

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
asicProvider dbm AuthDBMType DB AuthDBMUserFile "/var/www/apache-users" AuthDBMGroupFile "/var/www/apache-users" require group programmers Tailor to suit your specific requirements. If you're using Apache 2.4, you will need to change the first two lines inside the

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
reciated. Thank you, -Ben - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

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

2012-10-26 Thread Ben Johnson
specific mirror (or set of mirrors). This message is intended more as an "FYI" than as a question, in the event that Apache is not aware of this issue. Thank you, -Ben - To unsubscribe, e-mail: users-unsubscr...@h

  1   2   3   >