Re: Apache::test + mod_ssl
David Wheeler wrote: On Jun 11, 2004, at 8:24 PM, Stas Bekman wrote: I'm working on a module in another project that's still using the old Apache::test (not the lc test). Any reason why you wouldn't move to A-T? Like I said, it's not my module, so it's not my call. Neither I familiar with A-t. Where does it create that semaphore file with A-T? May be it's the env val for $TMPDIR? but it's specific to modperl-2.0. All I know is what the error message says: Ouch! ap_mm_create(1048576, /usr/local/apache/logs/httpd.mm.6521) failed Error: MM: mm:core: failed to open semaphore file (Permission denied): OS: No such file or directory I'm guessing that under A-T, it creates it in the test directory. I suppose so. Check that A-t generates ServerRoot setting pointing to the local dir. -- __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
Re: Apache::test + mod_ssl
On Mon, Jun 14, 2004 at 12:13:53AM +0300, Stas Bekman wrote: David Wheeler wrote: Where does it create that semaphore file with A-T? May be it's the env val for $TMPDIR? but it's specific to modperl-2.0. All I know is what the error message says: Ouch! ap_mm_create(1048576, /usr/local/apache/logs/httpd.mm.6521) failed Error: MM: mm:core: failed to open semaphore file (Permission denied): OS: No such file or directory I'm guessing that under A-T, it creates it in the test directory. The problem is that if you use an EAPI-patched-1.3, you get a path to a mutex file hard-coded into the httpd binary. If this path is absolute, as above, then you need permission in that path to create a file, so using httpd-test to run httpd as a user doesn't work if that path is only writable by root, obviously. You can compile EAPI-patched-1.3 with a relative EAPI_MM_CORE_PATH (or wahtever it is, I don't remember), and the problem will go away as it will become effectively ServerRoot-relative. All IIRC :) joe
Re: Apache::test + mod_ssl
On Jun 13, 2004, at 2:13 PM, Stas Bekman wrote: I suppose so. Check that A-t generates ServerRoot setting pointing to the local dir. It does. I don't know what else might be the problem...what command does A-T use to start Apache? Could it be different somehow than what A-t uses? Regards, David
Bug report for Apache httpd-1.3 [2004/06/13]
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned| | | OPN=ReopenedVER=Verified(Skipped Closed/Resolved) | | | +-+ | | | Severity: BLK=Blocker CRI=CriticalMAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement | | | | +-+ | | | | Date Posted | | | | | +--+ | | | | | Description | | | | | | | | 7982|New|Maj|2002-04-11|mod_rewrite URL string empty when passed unicoded | | 8311|Opn|Nor|2002-04-19|error in PUT directive gives confusing error messa| | 8329|New|Nor|2002-04-20|mime_magic gives 500 and no error_log on Microsoft| | 8372|Ass|Nor|2002-04-22|Threadsaftey issue in Rewrite's cache [Win32/OS2/N| | 8849|New|Nor|2002-05-07|make install errors as root on NFS shares | | 8882|New|Enh|2002-05-07|[PATCH] mod_rewrite communicates with external rew| | 9037|New|Min|2002-05-13|Slow performance when acessing an unresolved IP ad| | 9126|New|Blk|2002-05-15|68k-next-openstep v. 4.0 | | 9726|New|Min|2002-06-09|Double quotes should be flagged as T_HTTP_TOKEN_ST| | 9894|New|Maj|2002-06-16|getline sub in support progs collides with existin| | |New|Nor|2002-06-19|Incorrect default manualdir value with layout.| |10038|New|Min|2002-06-20|ab benchmaker hangs on 10K https URLs with keepali| |10073|New|Maj|2002-06-20|upgrade from 1.3.24 to 1.3.26 breaks include direc| |10169|New|Nor|2002-06-24|Apache seg faults due to attempt to access out of | |10178|New|Maj|2002-06-24|Proxy server cuts off begining of buffer when spec| |10195|New|Nor|2002-06-24|Configure script erroneously detects system Expat | |10199|New|Nor|2002-06-24|Configure can't handle directory names with unders| |10243|New|Maj|2002-06-26|CGI scripts not getting POST data | |10354|New|Nor|2002-06-30|ErrorDocument(.htaccess) fails when passed URL wit| |10470|New|Cri|2002-07-04|proxy module will not correctly serve mixed case f| |10666|New|Enh|2002-07-10|line-end comment error message missing file name | |10744|New|Nor|2002-07-12|suexec might fail to open log file| |10747|New|Maj|2002-07-12|ftp SIZE command and 'smart' ftp servers results i| |10760|New|Maj|2002-07-12|empty ftp directory listings from cached ftp direc| |10890|New|Cri|2002-07-17|if et locale is used, configure fails | |10939|New|Maj|2002-07-18|directory listing errors | |11020|New|Maj|2002-07-21|APXS only recognise tests made by ./configure | |11236|New|Min|2002-07-27|Possible Log exhaustion bug? | |11265|New|Blk|2002-07-29|mod_rewrite fails to encode special characters| |11765|New|Nor|2002-08-16|.apaci.install.tmp installs in existing httpd.conf| |11986|New|Nor|2002-08-23|Restart hangs when piping logs on rotation log pro| |11993|Opn|Cri|2002-08-23|PDFs served through ProxyPass show up blank | |12096|New|Nor|2002-08-27|apxs does not handle binary dists installed at non| |12391|New|Maj|2002-09-07|DBM_LIB should be blank for OS X 10.2 | |12551|New|Nor|2002-09-11|mod_proxy fails to shutdown when client cancels | |12574|New|Nor|2002-09-12|Broken images comes from mod_proxy when caching ww| |12583|New|Nor|2002-09-12|First piped log process do not handle SIGTERM | |12598|New|Maj|2002-09-12|Apache hanging in Keepalive State | |13120|New|Cri|2002-09-29|CGI procs defunctioning | |13188|New|Nor|2002-10-02|does not configure correctly for hppa64-hp-hpux11.| |13274|Ass|Nor|2002-10-04|Subsequent requests are destroyed by the request e| |13607|Opn|Enh|2002-10-14|Catch-all enhancement for vhost_alias?| |13687|New|Min|2002-10-16|Leave Debug symbol on Darwin | |13822|New|Maj|2002-10-21|Problem while running Perl modules accessing CGI::| |14031|New|Nor|2002-10-29|POST handling for multi part forms incorrect | |14095|Opn|Nor|2002-10-30|Change default Content-Type (DefaultType) in defau| |14250|New|Maj|2002-11-05|Alternate UserDirs don't work intermittantly | |14358|New|Enh|2002-11-07|rotatelogs using TZ settings | |14443|New|Maj|2002-11-11|Keep-Alive randomly causes TCP RSTs | |14448|Opn|Cri|2002-11-11|Apache WebServer not starting if installed on Comp| |14518|New|Nor|2002-11-13|QUESY_STRING parts not incorporated by mod_rewrite|
Bug report for Apache httpd-2.0 [2004/06/13]
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned| | | OPN=ReopenedVER=Verified(Skipped Closed/Resolved) | | | +-+ | | | Severity: BLK=Blocker CRI=CriticalMAJ=Major | | | | MIN=Minor NOR=Normal ENH=Enhancement | | | | +-+ | | | | Date Posted | | | | | +--+ | | | | | Description | | | | | | | | 7483|Ass|Enh|2002-03-26|Add FileAction directive to assign a cgi interpret| | 7741|Ass|Nor|2002-04-04|some directives may be placed outside of proper co| | 7862|New|Enh|2002-04-09|suexec never log a group name.| | 8167|New|Min|2002-04-16|--with-module does not build MODULE_DIRS correctly| | 8483|Opn|Min|2002-04-24|apache_2.0 .msi installer breaks .log and .conf fi| | 8500|Ass|Cri|2002-04-25|authorization user does not logged| | 8713|New|Min|2002-05-01|No Errorlog on PROPFIND/Depth:Infinity| | 8867|Opn|Cri|2002-05-07|exports.c generation fails when using a symlink to| | 8880|New|Enh|2002-05-07|AcceptPathInfo does not apply to DirectoryIndex fi| | 8925|New|Cri|2002-05-09|Service Install (win32 .msi/.exe) fails for port i| | 8993|Opn|Nor|2002-05-10|openssl library location(s) are hardcoded in confi| | 9484|New|Enh|2002-05-29|Dynamic ServerAdmin configuration | | 9513|Opn|Nor|2002-05-30|Missing start menu items | | 9656|New|Nor|2002-06-06|Support of FTP Proxy only partially documented| | 9727|New|Min|2002-06-09|Double quotes should be flagged as T_HTTP_TOKEN_ST| | 9945|New|Enh|2002-06-18|[PATCH] new funtionality for apache bench | |10114|Ass|Enh|2002-06-21|Negotiation gives no weight to order, only q value| |10154|Ass|Nor|2002-06-23|ApacheMonitor interferes with service uninstall/re| |10575|New|Enh|2002-07-09|no option to autoindex auth protected files/folder| |10722|Ass|Nor|2002-07-12|ProxyPassReverse doesn't change cookie paths | |10775|Ass|Cri|2002-07-13|SCRIPT_NAME wrong value | |11000|New|Enh|2002-07-20|Mutex permission problems: configuration template | |11035|New|Min|2002-07-22|Apache adds double entries to headers generated by| |11259|New|Enh|2002-07-29|'make install' should provide a deinstaller | |11294|New|Enh|2002-07-30|desired vhost_alias option| |11331|New|Cri|2002-07-31|stale cgi process entries when using suexec | |11427|Opn|Maj|2002-08-02|Possible Memory Leak in CGI script invocation | |11514|New|Maj|2002-08-07|worker MPM stalls on UnixWare 7.11| |11521|New|Nor|2002-08-07|Addition of Japanese error message | |11580|Opn|Enh|2002-08-09|generate Content-Location headers | |11660|New|Enh|2002-08-13|a New Hebrew Translation for Test Page for Apache| |11960|New|Maj|2002-08-23|Apache default config doesn't include uk langauge | |12033|Opn|Nor|2002-08-26|Graceful restart immidiately result in [warn] long| |12187|Opn|Blk|2002-08-30|Standard config with perchild; Apache is blocked | |12340|Opn|Nor|2002-09-05|WindowsXP proxy, child process exited with status | |12355|Opn|Nor|2002-09-06|SSLVerifyClient directive in location make post to| |12426|Ass|Nor|2002-09-09|mod_proxy broken under high load ?| |12680|New|Enh|2002-09-16|Digest authentication with integrity protection | |12885|New|Enh|2002-09-20|windows 2000 build information: mod_ssl, bison, et| |12894|New|Nor|2002-09-21|not assuming the DEFAULTTYPE for PHP files without| |12981|New|Nor|2002-09-25|Apache Bench can't take binary post data | |13029|New|Nor|2002-09-26|Win32 mod_cgi failure with non-ASCII characters in| |13101|New|Cri|2002-09-27|Using mod_ext_filter with mod_proxy and http/1.1 c| |13272|Opn|Nor|2002-10-04|Documentation doesn't mention that SSL is not in b| |13328|New|Nor|2002-10-05|Apache kills processgroup.| |13343|New|Maj|2002-10-06|Apache2 dies if signal HUP is sent to master proce| |13368|New|Maj|2002-10-07|IIS prevents Apache from starting (missing -w opti| |13507|New|Enh|2002-10-10|capturing stderr from mod_cgi | |13577|New|Maj|2002-10-13|mod_proxy mangles query string with mod_rewrite | |13599|Ass|Nor|2002-10-14|autoindex formating broken for multibyte sequences| |13603|New|Nor|2002-10-14|incorrect DOCUMENT_URI in mod_autoindex with Heade|
Re: cvs commit: httpd-2.0 STATUS
At 05:43 AM 6/12/2004, Joe Orton wrote: On Sat, Jun 12, 2004 at 09:54:56AM -, [EMAIL PROTECTED] wrote: --- STATUS 11 Jun 2004 21:05:21 - 1.751.2.920 +++ STATUS 12 Jun 2004 09:54:56 - 1.751.2.921 @@ -74,8 +74,10 @@ *) mod_ssl: Remove some unused functions (after CAN-2004-0488 fix is applied) http://cvs.apache.org/viewcvs.cgi/httpd-2.0/modules/ssl/ssl_util.c?r1=1.46r2=1.47 - +1: jorton, nd + +1: jorton trawick: need changes to mod_ssl.h to remove prototypes for those removed functions + -1: nd: actually that's a public API change (major bump) then and not + applicable for 2.0, just let 'em in The entire contents of mod_ssl.h just cannot be considered a public API, that's too much, even the config structures are in there. The only thing that's usable from other modules is the optional hook, and in reality that declaration just gets cut'n'pasted anyway (even by third-party modules I've seen). Although I'm totally in agreement that these should never have become public, the fact is they are. It's a good effort but not worth any investment in 2.0.x, with 2.2 (2.1-dev) these finally go 'into hiding' as they should have been in the first place. Bill
Re: cvs commit: httpd-2.0 STATUS
The entire contents of mod_ssl.h just cannot be considered a public API, that's too much, even the config structures are in there. The only thing that's usable from other modules is the optional hook, and in reality that declaration just gets cut'n'pasted anyway (even by third-party modules I've seen). Agreed. Without the proper API wrapper (AP_DECLARE) a function may fail to be usable multiplatform anyway. Anything without API wrappers should be considered implementation details. We could issue an RFC on this issue with next stable release, stating how module authors can determine whether a callable function in an Apache header file is considered an API, and explaining our need to modify implementation details as necessary to keep the code base maintainable as we make fixes and enhancements. Any screaming could hopefully be converted into clear requests for certain interfaces to be considered APIs. Sounds like a good plan. +1 david
Re: cvs commit: httpd-2.0 STATUS
For precedent there have already been two binary backwards-incompatible changes made on the 2.0 branch of such exposed but really private interfaces: http://cvs.apache.org/viewcvs.cgi/httpd-2.0/modules/ssl/mod_ssl.h?r1=1.122.2.5r2=1.122.2.6only_with_tag=APACHE_2_0_BRANCH http://cvs.apache.org/viewcvs.cgi/httpd-2.0/modules/dav/main/mod_dav.h?r1=1.65.2.1r2=1.65.2.2 I don't really care about this patch in particular, but moving forward I think it would be good to backport the mod_ssl.h-ssl_private.h split to 2.0 both to prevent further confusion and facilitate other useful backports like the hooks into mod_ssl from mod_rewrite and mod_headers. joe
Windows HTTP API
Hi! Microsoft describes http.sys as the kernel mode cache of IIS 6, however it's kernel mode HTTP listener with cache for any application. Using http.sys Apache HTTPD could be used with IIS 6 on Windows sharing the same port and IP address. I think this is a good thing if you want to host more web sites using different server software on the same server. Directory names can also be specified in addition to host names, thus different directories with the same host can be served by different server software. It has a public user mode interface, httpapi.dll, and it used by IIS 6 as well, so anybody can use the same functionality. And of course Apache HTTPD could use the cache functionality of http.sys. http.sys is a core operating system component, it's on the system without installing IIS 6. It's supported by Windows Server 2003 and will be included in the upcoming Windows XP SP2. I think you should consider implementing HTTP API in Apache HTTPD as it has a lot of possibilities. More information about HTTP API is available in Platform SDK: http://msdn.microsoft.com/library/en-us/http/http/http_api_start_page.asp Sincerely, Kornél
RE: cvs commit: httpd-2.0 STATUS
-Original Message- From: Joe Orton [mailto:[EMAIL PROTECTED] Sent: Sunday, June 13, 2004 2:02 PM To: [EMAIL PROTECTED] Subject: Re: cvs commit: httpd-2.0 STATUS For precedent there have already been two binary backwards-incompatible changes made on the 2.0 branch of such exposed but really private interfaces: http://cvs.apache.org/viewcvs.cgi/httpd-2.0/modules/ssl/mod_ssl .h?r1=1.122.2.5r2=1.122.2.6only_with_tag=APACHE_2_0_BRANCH http://cvs.apache.org/viewcvs.cgi/httpd-2.0/modules/dav/main/mo d_dav.h?r1=1.65.2.1r2=1.65.2.2 I don't really care about this patch in particular, but moving forward I think it would be good to backport the mod_ssl.h-ssl_private.h split to 2.0 both to prevent further confusion and facilitate other useful backports like the hooks into mod_ssl from mod_rewrite and mod_headers. I totally agree with Joe here - there are a whole bunch of useful features that can be back ported if we can do the mod_ssl.h - ssl_private.h split. For the record, we've got a number of requests to back port the mod_rewrite and mod_headers features to 2.0 on hp-ux. Yes - we can back port the changes without going for the split - but the split would just make the things a lot easier in the future. +1 for the back port -Madhu