[EMAIL PROTECTED] Bizarre event upgrading Windows 2.2.4 to 2.2.6
2.2.6 said "Uninstall previous version" so I took a backup copy of the "Apache 2.2" directory and proceeded. After the install I went to my homepage (which you can see at http://swiftys.org.uk/). It was an old version! Definately mine, but old… How odd! I looked at the backup I'd taken, and in there index.html was my current "version" and dated 27/08/2007 In the live htdocs directory, index.html was an old version from 20/11/2004 1. Why did this happen? 2. Where on earth did it get that ancient index.html from? I've now restored my current homepage, so all is well, but I'm very puzzled, and frankly slightly concerned… what else might be banjaxed? Incidentally, following the install I couldn't find any way to start the "Apache Monitor", other than finding it under \Program Files and launching it manually. Shouldn't this be somewhere in the Start Menu, under "Control Apache Server" ? -- Steve Swift http://www.swiftys.org.uk
Re: [EMAIL PROTECTED] Geting rid of the ? in the URL
Read the Drupal documentation for how to fix the configuration of Drupal: http://drupal.org/node/15365 solprovider On 12/5/07, Rashmi Amlani <[EMAIL PROTECTED]> wrote: > I am a total newbie to apache. Have recently installed Apache 2.2, mySql and > Drupal on winxp and everything seems to be working fine However I cannot > figure out a way of getting rid of the ? in the url so like instead of > http://localhost/drupal/?q=manufacturer I would like > http://localhost/drupal/manufacturer > I have tried to read and follow all the clean url instructions that I could > fine online but nothing seems to be working. Pls help! > Thanks - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Geting rid of the ? in the URL
Hi all! I am a total newbie to apache. Have recently installed Apache 2.2, mySql and Drupal on winxp and everything seems to be working fine However I cannot figure out a way of getting rid of the ? in the url so like instead of http://localhost/drupal/?q=manufacturer I would like http://localhost/drupal/manufacturer I have tried to read and follow all the clean url instructions that I could fine online but nothing seems to be working. Pls help! Thanks - Never miss a thing. Make Yahoo your homepage.
[EMAIL PROTECTED] Re: OpenBSD 4.1 Installation Problem With Apache 2.2.6
On Nov 26, 2007 1:03 PM, D. J. <[EMAIL PROTECTED]> wrote: > Hello all, hopefully you can help. > > OpenBSD v4.1, Apache v2.2.4, PHP v5.2.5 > > Again, no luck. I finally decided to attack Apache, and this is where > you all come in. I then attempted to compile and install 2.2.6 from > source but immediately was shut down with this error: > > *** BEGIN COMMAND LINE CAPTURE*** > > phoenix# ./configure --enable-so > checking for chosen layout... Apache > checking for working mkdir -p... yes > checking build system type... i386-unknown-openbsd4.1 > checking host system type... i386-unknown-openbsd4.1 > checking target system type... i386-unknown-openbsd4.1 > > Configuring Apache Portable Runtime library ... > > checking for APR... sed: "./srclib/apr/include/apr_version.h": No such > file or directory > configure: error: failed to find major version of bundled APR > phoenix# > > *** END COMMAND LINE CAPTURE*** > Found problem. Apparently another version of apr or apr-util is hiding on my machine somewhere. A new ./configure command of: ./configure --enable-so --with-included-apr ...took care of the problem. Just an FYI for anyone else experiencing this issue and for user list archive posterity. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Using SSI in proxied content
On 05/12/2007, Marko Asplund <[EMAIL PROTECTED]> wrote: > > I'm trying to setup a Apache reverse proxy to run server-side include > commands included in proxied content. > Apache proxies content coming from Tomcat using mod_proxy_ajp. > SSI commands get run in local content, but not in proxied content. > Should this sort of setup work with Apache 2.2 or is this just a problem > with my configuration? It should work for proxied content, assuming your config specifies the filter correctly. Something like this should work: LoadModule includes_module modules/mod_includes.so # ... ServerName what.ever.com ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/ AddOutputFilterByType INCLUDES text/html # I'm not sure if this is necessary.. Options Includes -- noodl - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Using SSI in proxied content
I'm trying to setup a Apache reverse proxy to run server-side include commands included in proxied content. Apache proxies content coming from Tomcat using mod_proxy_ajp. SSI commands get run in local content, but not in proxied content. Should this sort of setup work with Apache 2.2 or is this just a problem with my configuration? marko - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] virtual hosts and authentication
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Try moving the location block end tag to encompass the Rewrite rule for the header like so: DocumentRoot /srv/www/htdocs/ ServerAdmin [EMAIL PROTECTED] ServerName www.testserver.ch CustomLog /var/log/apache2/testserver-access.log combined ErrorLog /var/log/apache2/testserver-error.log LogLevel warn AuthType Basic AuthName "By Invitation Only" AuthUserFile /srv/www/htdocs/passwd/passwords AuthGroupFile /srv/www/htdocs/passwd/groups require group DieGruppe # don't loose time with IP address lookups HostnameLookups Off # needed for named virtual hosts UseCanonicalName Off RewriteEngine On # (This RewriteRule doesn't actually rewrite anything URL-wise.) RewriteCond %{LA-U:REMOTE_USER} (.+) RewriteRule .* - [E=RU:%1] # Put the username into a request header: RequestHeader set X_REMOTE_USER %{RU}e RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/%{SERVER_NAME}:80/test/VirtualHostRoot/$1 [L,P,E=RU:%1] [EMAIL PROTECTED] robert rottermann wrote: > hi there > > I try to set up a syste where the user authentication is done by apache > which the should forward the request to an application server (zope). > > to be able to controll access privileges within the application server I > need to forward the name of the logged in user. > > you can find the virtual host config attached. > > my problem is, that the username is not passed to upstream server. > > I would be gratefull if you could point out what I am doing wrong. > > thanks > robert > > # test > # --- > # > > DocumentRoot /srv/www/htdocs/ > ServerAdmin [EMAIL PROTECTED] > ServerName www.testserver.ch > CustomLog /var/log/apache2/testserver-access.log combined > ErrorLog /var/log/apache2/testserver-error.log > LogLevel warn > > > AuthType Basic > AuthName "By Invitation Only" > AuthUserFile /srv/www/htdocs/passwd/passwords > AuthGroupFile /srv/www/htdocs/passwd/groups > require group DieGruppe > > > # don't loose time with IP address lookups > HostnameLookups Off > > # needed for named virtual hosts > UseCanonicalName Off > > RewriteEngine On > # (This RewriteRule doesn't actually rewrite anything URL-wise.) > RewriteCond %{LA-U:REMOTE_USER} (.+) > RewriteRule .* - [E=RU:%1] > > # Put the username into a request header: > RequestHeader set X_REMOTE_USER %{RU}e > > RewriteRule ^/(.*) > http://localhost:8080/VirtualHostBase/http/%{SERVER_NAME}:80/test/VirtualHostRoot/$1 > [L,P,E=RU:%1] > > > > > > > - > The official User-To-User support forum of the Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: [EMAIL PROTECTED] >" from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHVs6wtqidmIdniVgRAjvnAKCFz2P5L9PM4WhPKaUtbeplEhh1BQCcCgTe iWlMjgwINenkG6hPgzRojIA= =jDiU -END PGP SIGNATURE- - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] separate log for directories
On 05/12/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello, how can I write separate log files for : > > mydomain.com/directory1 > > and > > mydomain.com/directory2 ? > > Iam trying ErrorLog and CustomLog inside but is > not possible to do it. The logging directives are specific to server entries (main server or vhosts) not directories, so placing these directives in http://httpd.apache.org/docs/2.2/logs.html#accesslog -- noodl - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] HttpURLConnection - java.net.ConnectException: Connection timed out
On 05/12/2007, sh_santosh <[EMAIL PROTECTED]> wrote: >I am usging Apache-Tomcat 5.5.20 and Axis 1.2 RC. > I am invoking the web services method by my java client program. Hi, This list is for user support of the Apache HTTPD project, not Tomcat or Axis. Try one of these lists instead: http://tomcat.apache.org/lists.html#tomcat-users http://ws.apache.org/axis/mail.html -- noodl - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] virtual hosts and authentication
On Wed, 5 Dec 2007 15:20:27 + "Vincent Bray" <[EMAIL PROTECTED]> wrote: > On 05/12/2007, robert rottermann <[EMAIL PROTECTED]> wrote: > > I try to set up a syste where the user authentication is done by > > apache which the should forward the request to an application > > server (zope). I don't seem to have your original question, but from the above quote, noodl's reply may or may not be what you want. > I'm not sure if this works in a gateway configuration but try it > anyway: > > SetEnv Proxy-Chain-Auth On You'll need trunk, 2.2-current, or 2.2.7 for that. http://svn.apache.org/viewvc?view=rev&revision=578336 > RequestHeader is used to fiddle with the incoming request from the > client, not gateway/proxy headers. But it will affect headers sent to the backend, except where explicitly excluded. -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.apachetutor.org/ - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] virtual hosts and authentication
On 05/12/2007, robert rottermann <[EMAIL PROTECTED]> wrote: > I try to set up a syste where the user authentication is done by apache > which the should forward the request to an application server (zope). I'm not sure if this works in a gateway configuration but try it anyway: SetEnv Proxy-Chain-Auth On Described here: http://httpd.apache.org/docs/2.2/mod/mod_proxy_http.html#env (Btw, s/loose/lose/ in your config comments :) RequestHeader is used to fiddle with the incoming request from the client, not gateway/proxy headers. -- noodl - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Active directory auth configuration with apache 2.0.52
Hi, I am trying to configure the AD authentication configuration for my apache server (2.0.52)on suse 10.2. While loading the mod_auth_ldap.so module it gives error as follows: Cannot load /usr/lib/apache2/mod_auth_ldap.so into server: /usr/lib/apache2/mod_auth_ldap.so: undefined symbol: util_ldap_connection_close I tried to search help for this on Google & found several threads saying that, it requires util_ldap.so module. I could not find this module or source for this on web. Can anybody help me in this regard? Thanks in advance Ratnakar - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Invalid URI in request
Hi All, Thanks for all the info.I agree there is some issue with request as HTTP method is missing in the request for which I get invalid URI in the error log.But wanted to know how is it possible to send such invalid request? Do we have any tool by which I can test this thing.I tried some of the free tools that allows to create HTTP request but HTTP method name is always there. Like in my case I didn't got the method name in the request. Thanks in advance -A On Dec 5, 2007 1:24 PM, Axel-Stephane SMORGRAV < [EMAIL PROTECTED]> wrote: > Now it is pretty clear that the problem is the missing method in the > request. > > The URL should be prefixed with GET, PUT, POST or some other HTTP method. > > From RFC 2616: > Method = "OPTIONS"; Section 9.2 > | "GET"; Section 9.3 > | "HEAD" ; Section 9.4 > | "POST" ; Section 9.5 > | "PUT"; Section 9.6 > | "DELETE" ; Section 9.7 > | "TRACE" ; Section 9.8 > | "CONNECT"; Section 9.9 > | extension-method > > So you log should for example have read: > 68.197.41.131 - - [04/Dec/2007:02:24:46 -0500] "GET /test-bin/test-module > HTTP/1.0" 200 1234 > > The problem is with your client. > > -ascs > > > > De : Arnab Ganguly [mailto:[EMAIL PROTECTED] > Envoyé : mardi 4 décembre 2007 15:24 > À : users@httpd.apache.org > Objet : Re: [EMAIL PROTECTED] Invalid URI in request > > > In the access log I got was > 68.197.41.131 - - [04/Dec/2007:02:24:46 -0500] "/test-bin/test-module > HTTP/1.0" 400 226 > > and the error log I got is > [error] [client 68.197.41.131] Invalid URI in request > /test-bin/test-module HTTP/1.0 > Thanks > -A > > > > - > The official User-To-User support forum of the Apache HTTP Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: [EMAIL PROTECTED] > " from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
[EMAIL PROTECTED] separate log for directories
Hello, how can I write separate log files for : mydomain.com/directory1 and mydomain.com/directory2 ? Iam trying ErrorLog and CustomLog inside but is not possible to do it. Any idea? Thanks - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Errorlog/customlog for differents directories
How can I do it without using VirtualHost? I only have a ServerName, but I need to get Errorlog and customlog files of various directories Alias /main "/var/www/main/" Options Indexes FollowSymLinks MultiViews AllowOverride FileInfo RewriteEngine on RewriteBase /main RewriteRule ^([0-9a-z_/.]+)/images/([0-9a-z/._]+)$ images/$2 RewriteRule ^([0-9a-z_/.]+)/style/([0-9a-z/._]+)$ style/$2 RewriteRule ^([0-9a-z_/.]+)/js/([0-9a-z/._]+)$ js/$2 # ErrorLog /var/log/httpd/main-error_log # CustomLog /var/log/httpd/main-access_log combined ... Alias /main "/var/www/second/" - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] HttpURLConnection - java.net.ConnectException: Connection timed out
Dear all, I am usging Apache-Tomcat 5.5.20 and Axis 1.2 RC. I am invoking the web services method by my java client program. In SoapBindingImpl class i have written a Implementation method sendAndReceive(). sendAndReceive method code is -- public String sendAndReceive(String sRequest, String sMode) { StringBuffer sbResponse = new StringBuffer(); URL url = null; try { sbResponse = new StringBuffer(); String _sServerURL =_sLocalServerPath; url = new URL(_sServerURL+"/wsTestServiceServlet"); //Servlet - where business Implementation code is written. HttpURLConnection conn = (HttpURLConnection)url.openConnection();// sun.net.www.protocol.http.HttpURLConnection {rt.jar} conn.setRequestMethod("POST"); conn.setDoOutput(true); conn.setDoInput(true); PrintStream outStream = new PrintStream(conn.getOutputStream());==> java:140 from Exception stack outStream.print("request="+URLEncoder.encode(sRequest)); outStream.print("&BIZ_ACTION_MODE=" +sMode); outStream.close(); BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream())); String line; while ((line = rd.readLine()) != null) { sbResponse.append(line); } rd.close(); } catch (MalformedURLException e) { sbResponse.setLength(0); sbResponse.append(e.getMessage()); e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); sbResponse.setLength(0); sbResponse.append(e.getMessage()); } return sbResponse.toString(); } >From this method i am getting Connection Time out Exception. On this line program is hanged : PrintStream outStream = new PrintStream(conn.getOutputStream()); Please see Exception == java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.Socket.connect(Socket.java:516) at java.net.Socket.connect(Socket.java:466) at sun.net.NetworkClient.doConnect(NetworkClient.java:157) at sun.net.www.http.HttpClient.openServer(HttpClient.java:365) at sun.net.www.http.HttpClient.openServer(HttpClient.java:477) at sun.net.www.http.HttpClient.(HttpClient.java:214) at sun.net.www.http.HttpClient.New(HttpClient.java:287) at sun.net.www.http.HttpClient.New(HttpClient.java:299) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:796) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:748) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:673) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:840) at webservices.wsHotelEngine.WssearchdetailsSoapBindingImpl.sendAndReceive(WssearchdetailsSoapBindingImpl.java:198) at webservices.wsHotelEngine.WsseardetailsSoapBindingImpl.getHotelDetailsXML(WssearchdetailsSoapBindingImpl.java:43) at webservices.wsHotelEngine.WssearchdetailsSoapBindingSkeleton.getHotelDetailsXML(WssearchdetailsSoapBindingSkeleton.java:140) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:384) at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:281) at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:319) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:450) at org.apache.axis.server.AxisServer.invoke(AxisServer.java:285) at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:653) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
Re: [EMAIL PROTECTED] Weird writev()-loop when download is cancelled.
Quoting Sander Smeenk ([EMAIL PROTECTED]): > Scenario: User browses to my site, clicks a link to a 1.5G zipfile, > realises it will take ages to download and clicks 'cancel download', > which results in an Apache process eating up ~99% CPU-time and hogging > the system. Explicitly enabling or disabling Sendfile does not make any difference. Funny thing is, using wget(1) and interrupting that it works like expected. -Sndr. -- | Scenery is here, wish you were beautiful. | 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] apache crash with DrvDocumentPropertySheets
Hi there, i have installed the Apache 2.2.6.0 on a Windows Server 2003 SP2 an i use very often the printer functions in php. But after some time (maybe 2-3 days) the apache crashs with the following error: --- httpd.exe Error --- An unrecoverable error occurred, and execution cannot continue. Error: Es wurde versucht, auf eine unzulssige Adresse zuzugreifen. Caught in [_DrvDocumentPropertySheets] --- OK --- I don't know how to reproduce this error, because wie print about 300 pages per day the same way with the same code an sometimes this happens. What can i do? Great Thanks in advance Oliver PS: Sorry for my terrible english, i prefer to talk in german ;) - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Weird writev()-loop when download is cancelled.
Hello! With Apache 2.2.6 (the prefork mpm, on Debian 'SID') i'm seeing weird behaviour when a (large) download is cancelled by a visitor. Scenario: User browses to my site, clicks a link to a 1.5G zipfile, realises it will take ages to download and clicks 'cancel download', which results in an Apache process eating up ~99% CPU-time and hogging the system. Strace shows: 30672 writev(79, [{"1fa0\r\n", 6}, {"\270Q\34"..., 8096}, {"\r\n", 2}], 3) = -1 EPIPE (Broken pipe) 30672 --- SIGPIPE (Broken pipe) @ 0 (0) --- 30672 writev(79, [{"1fa0\r\n", 6}, {"\235:\235"..., 8096}, {"\r\n", 2}], 3) = -1 EPIPE (Broken pipe) 30672 --- SIGPIPE (Broken pipe) @ 0 (0) --- 30672 writev(79, [{"1fa0\r\n", 6}, {"\241\237"..., 8096}, {"\r\n", 2}], 3) = -1 EPIPE (Broken pipe) 30672 --- SIGPIPE (Broken pipe) @ 0 (0) --- In a continous loop. This happens for each and every request that is cancelled, so looping apache processes accumulate at a fast rate on a busy site. While smaller files make processes loop less longer, this large file poses a problem as it takes some time to writev() 1.5G and processing the SIGPIPE's. Why exactly does Apache not stop sending data after receiving a SIGPIPE? ;-) -Sndr. -- | 42.7 percent of all statistics are made up on the spot. | 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [EMAIL PROTECTED] Re: Prevent new page
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of User 1001 > Sent: Wednesday, December 05, 2007 8:38 AM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Re: Prevent new page > > > Whilst I wait to test your suggestion (thanks), where or what would be > more apropos for asking questions about [web] "page design" questions Your orginal post said: >> One web page with a form invokes a PHP script which in turn invokes a >> Javascript popup. So I would look for a PHP forum and/or a Javascript forum. As I said before, if the page is clearing, you must either be 1) submitting back to the server which responds with an empty page or 2) telling the page to clear via JS. You first have to decide whether it's PHP or JS that is causing the problem... TIP: switch off JS in the browser and see if it persists. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > - > The official User-To-User support forum of the Apache HTTP > Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: [EMAIL PROTECTED] >" from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] virtual hosts and authentication
hi there I try to set up a syste where the user authentication is done by apache which the should forward the request to an application server (zope). to be able to controll access privileges within the application server I need to forward the name of the logged in user. you can find the virtual host config attached. my problem is, that the username is not passed to upstream server. I would be gratefull if you could point out what I am doing wrong. thanks robert # test # --- # DocumentRoot /srv/www/htdocs/ ServerAdmin [EMAIL PROTECTED] ServerName www.testserver.ch CustomLog /var/log/apache2/testserver-access.log combined ErrorLog /var/log/apache2/testserver-error.log LogLevel warn AuthType Basic AuthName "By Invitation Only" AuthUserFile /srv/www/htdocs/passwd/passwords AuthGroupFile /srv/www/htdocs/passwd/groups require group DieGruppe # don't loose time with IP address lookups HostnameLookups Off # needed for named virtual hosts UseCanonicalName Off RewriteEngine On # (This RewriteRule doesn't actually rewrite anything URL-wise.) RewriteCond %{LA-U:REMOTE_USER} (.+) RewriteRule .* - [E=RU:%1] # Put the username into a request header: RequestHeader set X_REMOTE_USER %{RU}e RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/%{SERVER_NAME}:80/test/VirtualHostRoot/$1 [L,P,E=RU:%1] begin:vcard fn:Robert Rottermann n: Rottermann;Robert email;internet:[EMAIL PROTECTED] tel;work:++41 31 333 10 20 tel;fax:++41 31 333 10 23 tel;home:++41 31 333 36 03 x-mozilla-html:FALSE version:2.1 end:vcard - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]