Re: [EMAIL PROTECTED] Geting rid of the ? in the URL
On Dec 6, 2007 11:01 PM, Rashmi Amlani <[EMAIL PROTECTED]> wrote: > ok here's what I have done so far > 1. In httpd.conf > I uncommented the following line: > a.) LoadModule rewrite_module modules/mod_rewrite.so > b.) set the AllowOverwrite to ALL This must ofcourse be AllowOverride All > I hope this helps. What am I missing or doing wrong? If you have access to your httpd.conf it is better to put the rewrite rules in there. The drupal people definitely advise that (and this is how I did it). The docs have the details. Furthermore you need to make sure that you've set your drupal install itself to generate "friendly URLs". You can test if your rewrite rules work by requesting a page yourself. For example, you can log in as admin to your site and then enter the following in your browser's adres bar. http:///drupal/admin (This asumes that /drupal is the base url of your drupal install.). It you get the admin site then your rewrite work, and your problem is that Drupal isn't generating nice URLs. Krist -- [EMAIL PROTECTED] [EMAIL PROTECTED] Bremgarten b. Bern, Switzerland -- A: It reverses the normal flow of conversation. Q: What's wrong with top-posting? A: Top-posting. Q: What's the biggest scourge on plain text email discussions? - 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] mod_proxy_html (Expecially for Nick Kew)
Hello, I run Apache 2.2 on Windows XP along with Tomcat 5.5. I'm using reverse proxy (mod_proxy) to publish a web application on Internet. I had had to use mod_proxy_html due to problems with path rewriting. Now all works fine except one think: I have a form inside an html page and when I submit it, It doesn't give signals of life (I click on submit button and release, but the page remains as it is). I tried to submbit the form accessing locally on 8080 port of Tomcat and it works. I suspect that it is a problem of action attributes of form element and that it is not rewrited by mod_proxy_html. Is there any way to solve this problem? Thanks, rocsca - 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] Problem runningtmod_proxy_html in httpd-2.2.x?
> This is my setting: > > ProxyHTMLLogVerbose On > LogLevel Debug > > ProxyPass /demo1/ http://www.backend-site.com/ > ProxyHTMLURLMap http://www.backend-site.com /demo1 > > > ProxyPassReverse / > SetOutputFilter proxy-html > ProxyHTMLURLMap / /demo1/ > > > From the log I can not see the module is doing anything > except crashing the > process: > > [Thu Dec 06 16:23:27 2007] [debug] mod_proxy_http.c(1448): > proxy: start body send [Thu Dec 06 16:23:27 2007] [info] > [client 69.77.163.58] Content-Type is text/html; > charset=UTF-8 [Thu Dec 06 16:23:27 2007] [info] [client > 69.77.163.58] Got charset UTF-8 from HTTP headers [Thu Dec 06 > 16:23:28 2007] [notice] child pid 26785 exit signal > Segmentation fault (11) > > > Has anyone got it to work in httpd-2.2.x? I'm using apache 2.2.6 and it works.. rocsca - 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] Problem runningtmod_proxy_html in httpd-2.2.x?
> This is my setting: > > ProxyHTMLLogVerbose On > LogLevel Debug > > ProxyPass /demo1/ http://www.backend-site.com/ > ProxyHTMLURLMap http://www.backend-site.com /demo1 > > > ProxyPassReverse / > SetOutputFilter proxy-html > ProxyHTMLURLMap / /demo1/ > > > From the log I can not see the module is doing anything > except crashing the > process: > > [Thu Dec 06 16:23:27 2007] [debug] mod_proxy_http.c(1448): > proxy: start body send [Thu Dec 06 16:23:27 2007] [info] > [client 69.77.163.58] Content-Type is text/html; > charset=UTF-8 [Thu Dec 06 16:23:27 2007] [info] [client > 69.77.163.58] Got charset UTF-8 from HTTP headers [Thu Dec 06 > 16:23:28 2007] [notice] child pid 26785 exit signal > Segmentation fault (11) > > > Has anyone got it to work in httpd-2.2.x? What platform are you using? Indeed Apache goes in error often until I have installed Visual C++ 2005 SP1 Redistributable Package (I've dowloaded mod_proxy_html binaries from http://www.apachelounge.com/download/). Please note that I'm using Windows XP. rocsca - 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] Apache, Tomcat and mod_proxy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, At the Tomcat's catalina.out I found the following log: ... Dec 4, 2007 4:47:49 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 3549 ms Dec 4, 2007 4:53:51 PM org.apache.jk.core.MsgContext action WARNING: Error sending end packet java.net.SocketException: Broken pipe This might indicate that your Tomcat server took too long to produce its answer. By the time that it started writing its response, the network connection was gone. This might be caused because your Apache proxy "hung up" already. Check your Apache proxy for timeouts and choose a longer time. Then re-test. If the problem occurs with a higher load than the 50 users that you simulated, then you're on to something - in that case, Tomcat would be the bottleneck, because the processing times increase beyond the proxy's timeout. Hope this helps, -- Karel Kubat / M +31 6 2956 4861 (+31 6 AWK 6 HUM 1) From the list of "Things You'll Never Hear A Southern Male Say": I'll take Shakespeare for 1000, Alex. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (Darwin) iD8DBQFHWVZl23FrzRzybNURAugGAJ47GMRdnzmdjYgQZ/lMICEK5F+TwgCg+xod IFTBr0nkFYO/YUyVFhhHADs= =p9DS -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] Apache, Tomcat and mod_proxy
Hi, Do you have a firewall between apache and Tomcat? Looks like the connection gets closed before Tomcat is able to send the response. Try JkOptions DisableReuse, this worked for me. Gabriel "Ângelo Vimeney" <[EMAIL PROTECTED] om>To users@httpd.apache.org 06/12/2007 01:27 cc PM Subject [EMAIL PROTECTED] Apache, Tomcat and Please respond to mod_proxy [EMAIL PROTECTED] e.org Hello everybody, I'm experiencing problems using the Apache server as a proxy to my Tomcat server and I will appreciate if somebody could help me. Please, take my apologies for my poor English and long mail. I'm using Apache version 2.2.6 installed on a dedicated HTTP server machine (running Linux 2.6.9-34.EL). I'm using Tomcat version 6.0.14 installed on another dedicated server machine (running Linux 2.6.9-34.EL). I have also a remote browser emulator running on another dedicated machine. The emulated browsers access an e-commerce site deployed at the Tomcat server (I'm running the TPC-W benchmark). When I simulate 25 browsers accessing Apache, everything works fine. But when I increase this value to 50, after 5 minutes of simulation, the following error message is logged at the Apache's error_log file: [Tue Dec 04 16:47:17 2007] [notice] Apache/2.2.6 (Unix) configured -- resuming normal operations [Tue Dec 04 16:53:08 2007] [error] (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header [Tue Dec 04 16:53:08 2007] [error] ajp_read_header: ajp_ilink_receive failed [Tue Dec 04 16:53:08 2007] [error] (120006)APR does not understand this error code: proxy: read response failed from 10.10.20.246:8009 (compute-0-0) [Tue Dec 04 16:53:08 2007] [error] (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header [Tue Dec 04 16:53:08 2007] [error] ajp_read_header: ajp_ilink_receive failed [Tue Dec 04 16:53:08 2007] [error] (120006)APR does not understand this error code: proxy: read response failed from 10.10.20.246:8009 (compute-0-0) ... At the Tomcat's catalina.out I found the following log: ... Dec 4, 2007 4:47:49 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 3549 ms Dec 4, 2007 4:53:51 PM org.apache.jk.core.MsgContext action WARNING: Error sending end packet java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:531) at org.apache.jk.common.JkInputStream.endMessage(JkInputStream.java:121) at org.apache.jk.core.MsgContext.action(MsgContext.java:301) at org.apache.coyote.Response.action(Response.java:183) at org.apache.coyote.Response.finish(Response.java:305) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:195) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:595) Dec 4, 2007 4:53:51 PM org.apache.jk.common.ChannelSocket processConnection WARNING: processCallbacks status 2 Dec 4, 2007 4:53:56 PM org.apache.jk.core.MsgContext action WARNING: Error sending end packet java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:531) at org.apache.jk.common.JkInputStream.endMessage(
RE: [EMAIL PROTECTED] HttpURLConnection - java.net.ConnectException: Connection timed out
Hi, the problem is solved. how see below - in sendAndReceive method Previous code was = String _sServerURL ="http://staging.stemp.com/tempgo1";; url = new URL(_sServerURL+"/wsTestServiceServlet"); //Servlet- where business Implementation code is written. New code in sendAndReceive method - just i have changed the url - http://staging.stemp.com/tempgo1/ to http://localhost:8080/tempgo1/ and it started working. it's change in url to localhost:8080 only... so, what is the problem ? can any body explain Thank you for Help sh_santosh wrote: > > > > Axel-Stephane SMORGRAV-2 wrote: >> >> Just a wild shot: >> >> 1. Verify that the URL you try to connect to ( >> _sServerURL+"/wsTestServiceServlet" ) is correct ( e.g. >> http://my.tomcat.com:8080/wsTestServiceServlet ) >> >> 2. Test the network connectivity between your java client host and the >> hosts on which Tomcat and Axis are running. To do so, try doing telnet >> my.tomcat.com:8080 from the java client host. >> >> If you reproduce the problem in 2) above, there may be a firewall between >> the client and the server. >> >> >> -ascs >> >> -Message d'origine- >> De : sh_santosh [mailto:[EMAIL PROTECTED] >> Envoyé : mercredi 5 décembre 2007 12:35 >> À : users@httpd.apache.org >> Objet : [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.HttpU
Re: [EMAIL PROTECTED] Intelligent/automatic cache expiry based on mtime
On Dec 7, 2007 11:25 AM, Axel-Stephane SMORGRAV <[EMAIL PROTECTED]> wrote: > Sorry for being crude, but why don't you just read the manual (mod_expires) ?? > > ExpiresByType image/jpeg "modification plus 1 day" Because this is doing something different to what I want. Your suggestion would expire content a day after the mtime. See my original message. > I cannot recall that RFC2616 specifies exactly how the e-tag is computed, so > I do not think that you can assume that the modification date will > necessarily be part of the e-tag computation. The documentation says mtime is included in calculating the etag by default in apache. > > -ascs - 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
Axel-Stephane SMORGRAV-2 wrote: > > Just a wild shot: > > 1. Verify that the URL you try to connect to ( > _sServerURL+"/wsTestServiceServlet" ) is correct ( e.g. > http://my.tomcat.com:8080/wsTestServiceServlet ) > > 2. Test the network connectivity between your java client host and the > hosts on which Tomcat and Axis are running. To do so, try doing telnet > my.tomcat.com:8080 from the java client host. > > If you reproduce the problem in 2) above, there may be a firewall between > the client and the server. > > > -ascs > > -Message d'origine- > De : sh_santosh [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 5 décembre 2007 12:35 > À : users@httpd.apache.org > Objet : [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.DelegatingMethodA
Re: [EMAIL PROTECTED] mod_proxy_html (Expecially for Nick Kew)
- Original Message - From: "Rocco Scappatura" <[EMAIL PROTECTED]> To: Sent: Friday, December 07, 2007 3:30 AM Subject: [EMAIL PROTECTED] mod_proxy_html (Expecially for Nick Kew) Is there any way to solve this problem? Have you tried adding these? ProxyHTMLEvents onclick ondblclick onmousedown onmouseup \ onmouseover onmousemove onmouseout onkeypress \ onkeydown onkeyup onfocus onblur onload \ onunload onsubmit onreset onselect onchange - 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] Apache server behind squid proxy
On 06/12/2007, Johan Andersson <[EMAIL PROTECTED]> wrote: > But I have problems to get Apache to understand that it should use > https:// instead of http://, for example: > If I request https://server/dir Apache tries to redirect the browser to > http://server/dir (as it doesn't know the browser acctually used > https:// to begin with). > > Any idea how I force Apache 2.2.6 to use https:// instead of http://? I think you might want the Protocol directive, but it's not documented yet so I can't be sure. Just for giggles, try Protocol https and see if a) your server starts and b) it gets you anywhere closer to fixing the problem. If either, please reply and I'll try and documented it :-) -- 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] Intelligent/automatic cache expiry based on mtime
Hi list, I have an application that loads a lot of images off a server every 60 seconds. I want the client's browser to cache the images because they almost never change. In the rare cases where an image does change, I would like to invalidate the client's cached copy of the image. I could do this with a script, but it seems such a simple and generic thing that Apache must surely already provide this (I can't find it though). Can I add a cache-invalidation header for .jpg files modified in the past 120 seconds? Thanks.
[EMAIL PROTECTED] Error while compiling Apache 2.0 on AIX 6.1
I installed AIX 6.1 on one of the lpar slice. Also installed gcc. Version of gcc is as per following - Using built-in specs. Target: powerpc-ibm-aix5.3.0.0 Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --disable-nls --enable-languages=c,c++ --prefix=/opt/freeware --enable-threads --enable-version-specific-runtime-libs --host= powerpc-ibm-aix5.3.0.0 Thread model: aix gcc version 4.0.0 When I try to compile Apache 2.0.59 on AIX 6.1 with above gcc version, it gives me following error - Making all in srclib Making all in apr Making all in strings /bin/sh /software/apache/httpd-2.0.59/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -I../include -I../include/arch/unix -c apr_cpystrn.c && touch apr_cpystrn.lo /bin/sh /software/apache/httpd-2.0.59/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -I../include -I../include/arch/unix -c apr_snprintf.c && touch apr_snprintf.lo In file included from /usr/include/fcntl.h:188, from ../include/apr_portable.h:44, from apr_snprintf.c:23: /usr/include/unistd.h:915: error: parse error before '[' token /usr/include/unistd.h:916: error: parse error before 'rid_t' In file included from /usr/include/sys/cred.h:49, from /usr/include/sys/thread.h:43, from /usr/include/sys/ptrace.h:28, from /usr/include/sys/proc.h:48, from /usr/include/sys/pri.h:43, from /usr/include/sys/sched.h:38, from /usr/include/sched.h:51, from /usr/include/pthread.h:50, from ../include/apr_portable.h:47, from apr_snprintf.c:23: /usr/include/sys/secattr.h:49: error: parse error before 'rid_t' /usr/include/sys/secattr.h:60: error: parse error before '}' token /usr/include/sys/secattr.h:65: error: parse error before 'authnum_t' /usr/include/sys/secattr.h:71: error: parse error before '}' token /usr/include/sys/secattr.h:106: error: field 'sc_attr' has incomplete type In file included from /usr/include/sys/thread.h:43, from /usr/include/sys/ptrace.h:28, from /usr/include/sys/proc.h:48, from /usr/include/sys/pri.h:43, from /usr/include/sys/sched.h:38, from /usr/include/sched.h:51, from /usr/include/pthread.h:50, from ../include/apr_portable.h:47, from apr_snprintf.c:23: /usr/include/sys/cred.h:331: error: parse error before 'rid_t' /usr/include/sys/cred.h:346: error: parse error before '}' token In file included from /usr/include/sys/ptrace.h:28, from /usr/include/sys/proc.h:48, from /usr/include/sys/pri.h:43, from /usr/include/sys/sched.h:38, from /usr/include/sched.h:51, from /usr/include/pthread.h:50, from ../include/apr_portable.h:47, from apr_snprintf.c:23: /usr/include/sys/thread.h:877: error: parse error before 'cred_ext_t' /usr/include/sys/thread.h:878: error: conflicting types for 'reserved' /usr/include/sys/secattr.h:58: error: previous declaration of 'reserved' was here /usr/include/sys/thread.h:879: error: parse error before '}' token In file included from ../include/apr_portable.h:47, from apr_snprintf.c:23: /usr/include/pthread.h:911: error: parse error before 'cred_ext_t' /usr/include/pthread.h:913: error: parse error before '}' token make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1.
[EMAIL PROTECTED] mod_wodan: Is it still be used/developed ?
Hi All: I'm trying to setup an Apache 2.0 server as reverse proxy using mod_wodan2 (version 2.0-RC1) but I'm experiencing some odd behaviour/problems. In server config context I've configured: WodanDefaultCacheTime / 1m WodanDefaultCacheTimeHeaderMatch Content-type ^.*$ 1m WodanDefaultCacheTimeHeaderMatch Content-Type ^image/.*$ 10m WodanDefaultCacheTimeHeaderMatch Content-Type ^application.*pdf$ 10m And within a given virtual host context: WodanCacheDir /var/cache/apache2/mysite WodanPass / http://localhost:9080/VirtualHostBase/http/mysite.com:80/mpf/VirtualHostRoot/ WodanPassReverse / http://mysite.com/ Along with proper RewriteRule rule rewriting and sending a request to mod_proxy. First of all, it doesn't work as expected, I mean, not caching some objects (like PDF files). The odd thing is that some _other_ virtual hosts started to not working right, ie, not serving a file and setting its length to 0 :( strange! Thanks in advance Lucas Brasilino PS: I've tried to sign up mod_wodan mailing list. But its also not working. - 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] Intelligent/automatic cache expiry based on mtime
ExpiresByType image/jpeg "modification plus 120 seconds" -ascs -Message d'origine- De : Jergen Dutch [mailto:[EMAIL PROTECTED] Envoyé : vendredi 7 décembre 2007 13:02 À : users@httpd.apache.org Objet : Re: [EMAIL PROTECTED] Intelligent/automatic cache expiry based on mtime On Dec 7, 2007 11:25 AM, Axel-Stephane SMORGRAV <[EMAIL PROTECTED]> wrote: > Sorry for being crude, but why don't you just read the manual (mod_expires) ?? > > ExpiresByType image/jpeg "modification plus 1 day" Because this is doing something different to what I want. Your suggestion would expire content a day after the mtime. See my original message. > I cannot recall that RFC2616 specifies exactly how the e-tag is computed, so > I do not think that you can assume that the modification date will > necessarily be part of the e-tag computation. The documentation says mtime is included in calculating the etag by default in apache. > > -ascs - 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] - 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] Apache server behind squid proxy
Vincent Bray wrote: On 06/12/2007, Johan Andersson <[EMAIL PROTECTED]> wrote: But I have problems to get Apache to understand that it should use https:// instead of http://, for example: If I request https://server/dir Apache tries to redirect the browser to http://server/dir (as it doesn't know the browser acctually used https:// to begin with). Any idea how I force Apache 2.2.6 to use https:// instead of http://? I think you might want the Protocol directive, but it's not documented yet so I can't be sure. Just for giggles, try Protocol https and see if a) your server starts and b) it gets you anywhere closer to fixing the problem. If either, please reply and I'll try and documented it :-) Sorry, didn't work. Apache won't start. I get this in error_log: [Fri Dec 07 19:42:56 2007] [info] Loading certificate & private key of SSL-aware server [Fri Dec 07 19:42:56 2007] [error] Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile] Seems like it tries to do SSL now. /Johan - 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] Problem runningtmod_proxy_html in httpd-2.2.x?
This is my setting: ProxyHTMLLogVerbose On LogLevel Debug ProxyPass /demo1/ http://www.backend-site.com/ ProxyHTMLURLMap http://www.backend-site.com /demo1 ProxyPassReverse / SetOutputFilter proxy-html ProxyHTMLURLMap / /demo1/ From the log I can not see the module is doing anything except crashing the process: [Thu Dec 06 16:23:27 2007] [debug] mod_proxy_http.c(1448): proxy: start body send [Thu Dec 06 16:23:27 2007] [info] [client 69.77.163.58] Content-Type is text/html; charset=UTF-8 [Thu Dec 06 16:23:27 2007] [info] [client 69.77.163.58] Got charset UTF-8 from HTTP headers [Thu Dec 06 16:23:28 2007] [notice] child pid 26785 exit signal Segmentation fault (11) Has anyone got it to work in httpd-2.2.x? What platform are you using? Indeed Apache goes in error often until I have installed Visual C++ 2005 SP1 Redistributable Package (I've dowloaded mod_proxy_html binaries from http://www.apachelounge.com/download/). Please note that I'm using Windows XP. I have fixed the problem by adding these lines: ProxyHTMLLinks a href ProxyHTMLLinks areahref ProxyHTMLLinks linkhref ProxyHTMLLinks img src longdesc usemap ProxyHTMLLinks object classid codebase data usemap ProxyHTMLLinks q cite ProxyHTMLLinks blockquote cite ProxyHTMLLinks ins cite ProxyHTMLLinks del cite ProxyHTMLLinks formaction ProxyHTMLLinks input src usemap ProxyHTMLLinks headprofile ProxyHTMLLinks basehref ProxyHTMLLinks script src for I am running on Linux. thanks for the reply. - 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] Redirecting paths with extra slashes
On Dec 7, 2007 8:18 PM, Christian Lerrahn <[EMAIL PROTECTED]> wrote: > Hi, > I have a site that for some reason got indexed by Google with wrong > paths which contain too many slashes. E.g. instead of an entry for > > /foo/bar > > there might be one for > > /foo///bar > > Now this is no problem for a Apache but it is for some of my pages > because they use relative paths. If I have an image > in /foor/bar/index.html which looks like > > > > that will work fine for /foo/bar but not for /foo///bar which will then > look for /foo/img instead of /img. > > What I would like to do is get Apache to redirect wrong addresses like > this to the correct one. That way I get the relative paths correct and > hopefully one day Google will have it right, too. I was thinking of > mod_rewrite but I couldn't get it to work. However, I only can get > rules that either don't seem to do anything or ones that get me into an > infinite loop of redirects. Can anybody give me a hint? RewriteEngine On RewriteRule (.*)//+(.*) $1$2 [R=permanent,L] Joshua. - 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] Reverse proxy cache control problems
Axel-Stephane SMORGRAV wrote: > Could you possibly post the headers returned by \ > http://localhost:5050/cachetest/jsp/cacheable/main.jsp along with your proxy \ > configuration directives? After upgrading Apache from 2.2.4 to 2.2.6 the debug log looks a bit different but the test page still doesn't get cached. Now the debug log includes a "No such file or directory" entry. Here're the cache and proxy settings: CacheRoot /tmp/cacheroot CacheEnable disk /cachetest/jsp/cacheable/ ProxyRequests Off ProxyPass /cachetest ajp://127.0.0.1:8009/cachetest ProxyPassReverse /cachetest ajp://127.0.0.1:8009 -- Request and response headers that the browser sees: http://localhost:5050/cachetest/jsp/cacheable/main.jsp GET /cachetest/jsp/cacheable/main.jsp HTTP/1.1 Host: localhost:5050 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071204 Ubuntu/7.10 (gutsy) Firefox/2.0.0.11 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cookie: JSESSIONID=DE3AA6392D4B4D02770465797300E97C If-Modified-Since: Fri, 7 Dec 2007 14:00:00 GMT Cache-Control: max-age=0 HTTP/1.x 200 OK Date: Fri, 07 Dec 2007 19:35:25 GMT Expires: Sat, 8 Dec 2007 14:00:00 GMT Cache-Control: max-age=3600 Last-Modified: Fri, 7 Dec 2007 14:00:00 GMT Content-Type: text/html;charset=UTF-8 Content-Length: 341 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive -- Here's the Apache debug log extract: [Fri Dec 07 21:35:25 2007] [debug] mod_cache.c(131): Adding CACHE_SAVE filter for /cachetest/jsp/cacheable/main.jsp [Fri Dec 07 21:35:25 2007] [debug] mod_cache.c(138): Adding CACHE_REMOVE_URL filter for /cachetest/jsp/cacheable/main.jsp [Fri Dec 07 21:35:25 2007] [debug] mod_proxy_ajp.c(44): proxy: AJP: canonicalising URL //127.0.0.1:8009/cachetest/jsp/cacheable/main.jsp [Fri Dec 07 21:35:25 2007] [debug] proxy_util.c(1412): [client 127.0.0.1] proxy: ajp: found worker ajp://127.0.0.1:8009/cachetest for ajp://127.0.0.1:8009/cachetest/jsp/cacheable/main.jsp [Fri Dec 07 21:35:25 2007] [debug] mod_proxy.c(819): Running scheme ajp handler (attempt 0) [Fri Dec 07 21:35:25 2007] [debug] mod_proxy_http.c(1683): proxy: HTTP: declining URL ajp://127.0.0.1:8009/cachetest/jsp/cacheable/main.jsp [Fri Dec 07 21:35:25 2007] [debug] mod_proxy_ajp.c(520): proxy: AJP: serving URL ajp://127.0.0.1:8009/cachetest/jsp/cacheable/main.jsp [Fri Dec 07 21:35:25 2007] [debug] proxy_util.c(1852): proxy: AJP: has acquired connection for (127.0.0.1) [Fri Dec 07 21:35:25 2007] [debug] proxy_util.c(1913): proxy: connecting ajp://127.0.0.1:8009/cachetest/jsp/cacheable/main.jsp to 127.0.0.1:8009 [Fri Dec 07 21:35:25 2007] [debug] proxy_util.c(2012): proxy: connected /cachetest/jsp/cacheable/main.jsp to 127.0.0.1:8009 [Fri Dec 07 21:35:25 2007] [debug] proxy_util.c(2169): proxy: AJP: fam 2 socket created to connect to 127.0.0.1 [Fri Dec 07 21:35:25 2007] [debug] ajp_header.c(218): Into ajp_marshal_into_msgb [Fri Dec 07 21:35:25 2007] [debug] ajp_header.c(284): ajp_marshal_into_msgb: Header[0] [Host] = [localhost:5050] [Fri Dec 07 21:35:25 2007] [debug] ajp_header.c(284): ajp_marshal_into_msgb: Header[1] [User-Agent] = [Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071204 Ubuntu/7.10 (gutsy) Firefox/2.0.0.11] [Fri Dec 07 21:35:25 2007] [debug] ajp_header.c(284): ajp_marshal_into_msgb: Header[2] [Accept] = [text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5] [Fri Dec 07 21:35:25 2007] [debug] ajp_header.c(284): ajp_marshal_into_msgb: Header[3] [Accept-Language] = [en-us,en;q=0.5] [Fri Dec 07 21:35:25 2007] [debug] ajp_header.c(284): ajp_marshal_into_msgb: Header[4] [Accept-Encoding] = [gzip,deflate] [Fri Dec 07 21:35:25 2007] [debug] ajp_header.c(284): ajp_marshal_into_msgb: Header[5] [Accept-Charset] = [ISO-8859-1,utf-8;q=0.7,*;q=0.7] [Fri Dec 07 21:35:25 2007] [debug] ajp_header.c(284): ajp_marshal_into_msgb: Header[6] [Keep-Alive] = [300] [Fri Dec 07 21:35:25 2007] [debug] ajp_header.c(284): ajp_marshal_into_msgb: Header[7] [Connection] = [keep-alive] [Fri Dec 07 21:35:25 2007] [debug] ajp_header.c(284): ajp_marshal_into_msgb: Header[8] [Cookie] = [JSESSIONID=DE3AA6392D4B4D02770465797300E97C] [Fri Dec 07 21:35:25 2007] [debug] ajp_header.c(284): ajp_marshal_into_msgb: Header[9] [If-Modified-Since] = [Fri, 7 Dec 2007 14:00:00 GMT] [Fri Dec 07 21:35:25 2007] [debug] ajp_header.c(284): ajp_marshal_into_msgb: Header[10] [Cache-Control] = [max-age=0] [Fri Dec 07 21:35:25 2007] [debug] ajp_header.c(284): ajp_marshal_into_msgb: Header[11] [Max-Forwards] = [10] [Fri Dec 07 21:35:25 2007] [debug] ajp_header.c(424): ajp_ma
Re: [EMAIL PROTECTED] [repost] PhP Rewrite Map File Problem
On 07/12/2007, Josh Trutwin <[EMAIL PROTECTED]> wrote: > > to. This works fine until someone updates that file through > > releasing pages on their site (via a CMS). Occasionally, (maybe 5% > > of the time) when this file is updated the above error occurs on > > every request. The ONLY way to fix this is to hard stop and start > > the server (a restart doesn't restart the php RewriteMap program) > > When the server is restarted, all works well - until the next time > > updating this file causes this problem. This could be the result of the included file being incomplete when loaded. You could try an atomic operation when updating it, like rewriting to a temporary file then rename() it over the old one. -- 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] Intelligent/automatic cache expiry based on mtime
Sorry for being crude, but why don't you just read the manual (mod_expires) ?? ExpiresByType image/jpeg "modification plus 1 day" I cannot recall that RFC2616 specifies exactly how the e-tag is computed, so I do not think that you can assume that the modification date will necessarily be part of the e-tag computation. -ascs -Message d'origine- De : Jergen Dutch [mailto:[EMAIL PROTECTED] Envoyé : vendredi 7 décembre 2007 11:18 À : users@httpd.apache.org Objet : Re: [EMAIL PROTECTED] Intelligent/automatic cache expiry based on mtime On Dec 7, 2007 11:01 AM, C.F-Win in China F <[EMAIL PROTECTED]> wrote: > ExpiresByType image/jpeg "access plus 1 day" > Thanks for this, but I don't want to expire the cache based on access, I want to expire the cache based on mtime. etags should handle this, but it seems not too.. - 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] - 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] Apache server behind squid proxy
On 07/12/2007, Johan Andersson <[EMAIL PROTECTED]> wrote: > Sorry, didn't work. Apache won't start. > I get this in error_log: > [Fri Dec 07 19:42:56 2007] [info] Loading certificate & private key of > SSL-aware server > [Fri Dec 07 19:42:56 2007] [error] Server should be SSL-aware but has no > certificate configured [Hint: SSLCertificateFile] > > Seems like it tries to do SSL now. Yeah, my bad. Protocol specifies the protocol to use in that context. Going back to your original question, you should either get squid to fix the url in headers with whatever it's equivalent of ProxyPassReverse is, or specify ServerName https://your.server.name/ .. in your vhost. I forgot that was possible. See: http://httpd.apache.org/docs/2.2/mod/core.html#servername .. and .. http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypassreverse .. for how apache would solve the problem, were it the proxy. -- 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] Redirecting paths with extra slashes
Hi, I have a site that for some reason got indexed by Google with wrong paths which contain too many slashes. E.g. instead of an entry for /foo/bar there might be one for /foo///bar Now this is no problem for a Apache but it is for some of my pages because they use relative paths. If I have an image in /foor/bar/index.html which looks like that will work fine for /foo/bar but not for /foo///bar which will then look for /foo/img instead of /img. What I would like to do is get Apache to redirect wrong addresses like this to the correct one. That way I get the relative paths correct and hopefully one day Google will have it right, too. I was thinking of mod_rewrite but I couldn't get it to work. However, I only can get rules that either don't seem to do anything or ones that get me into an infinite loop of redirects. Can anybody give me a hint? Cheers, Christian - 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] [repost] PhP Rewrite Map File Problem
Hi - been a week, curious if anyone has any ideas? Josh On Fri, 30 Nov 2007 15:00:17 -0600 Josh Trutwin <[EMAIL PROTECTED]> wrote: > Hi - through some great help from this list (I'm looking at you > Joshua Slive) I was able to setup a RewriteMap using a PhP program. > After a couple months usage on a number of heavy sites we're > noticing an odd inconsistent problem that causes ALL site requests > to yeild this nasty error: > > mod_rewrite: maximum number of internal redirects reached. Assuming > configuration error. Use 'RewriteOptions MaxRedirects' to increase > the limit if neccessary. > > The program is called rewriter.php and starts with this directive: > > RewriteLock '/tmp/rewrite.lock' > RewriteMap rewriter prg:/usr/local/bin/rewriter.php > > A site that wants to use this URL mapper has this in > their .htaccess: > > RewriteCond %{REQUEST_FILENAME} !-f > RewriteCond %{REQUEST_FILENAME} !-d > RewriteCond %{REQUEST_FILENAME} !-l > RewriteRule .* ${rewriter:%{REQUEST_FILENAME}^%{REQUEST_URI}} > [L,QSA,NS] > > There are some other directives involved to 301 redirect old URL's > to the new ones, but I don't think they are the problem. > > The program source can be seen here: > > http://batcave.intrcomm.net/rewriter.phps > > In a nutshell what happens is the program parses stdin (which from > the RewriteRule is the REQUEST_FILENAME followed by the REQUEST_URI) > - from this information it can find the site's virtual host > directory and load a file called _rewrite_map.php which is a simple > php associated array containing for each page then URL should it map > to. This works fine until someone updates that file through > releasing pages on their site (via a CMS). Occasionally, (maybe 5% > of the time) when this file is updated the above error occurs on > every request. The ONLY way to fix this is to hard stop and start > the server (a restart doesn't restart the php RewriteMap program) > When the server is restarted, all works well - until the next time > updating this file causes this problem. > > I've added some logging where the URL is returned to the apache > process: > > if (DEBUG) { error_log("Map found for URI: $uri: $uri_under " . > $map[$uri] . "\n", 3, '/tmp/rewriter.log'); } > > fputs($stdout, $map[$uri] . "\n"); // tell RewriteRule the URL > > Even when these maximum redirect errors are happening, the program > is still logging the above using the correct URL - it's not having > any problems accessing the map file. I added some additional file > locking (also to the program that updates the file) but that didn't > help. > > Someone at work here suggested that it might have to do with how > stdin and stdout are defined, which makes sense so I'm trying that > next but I wanted to see if any gurus on this list know of any > strange RewriteMap bugs/gotchas like this. > > PhP is 4.4 - apache is 1.3.37 - linux 2.4 > > Thanks - let me know if additional info is needed. > > Josh > > > > > - > 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] > - 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] Analyzing access and error logs
Arnab Ganguly wrote: Hi All, Is there any free tool available that analyzes Apache error and access logs? Thanks in advance. -A End original message. - At the risk of sounding rude, do you know how to use a search engine? This is a question you could have answered for yourself with a tiny bit of effort and thought on your part. Put the following terms into Google and you will come up with several alternatives at the top of the first page: "apache httpd log analysis open source free software" Whether any of those will meet your needs is up to you to determine. Dragon ~~~ Venimus, Saltavimus, Bibimus (et naribus canium capti sumus) ~~~ - 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] mod_proxy_html (Expecially for Nick Kew)
> >Is there any way to solve this problem? > > > > > Have you tried adding these? > > ProxyHTMLEvents onclick ondblclick onmousedown onmouseup \ > onmouseover onmousemove onmouseout > onkeypress \ > onkeydown onkeyup onfocus onblur onload \ > onunload onsubmit onreset onselect onchange No. I'm not using Javascript at all. I have a simple form: .. I even haven't specified the action (which by default is the same script). I have two copy of the same script, say 'script.jsp': 1) http://www.example.com/script.jsp 2) http://www.example.com/subdir/script.jsp The first URL works while the second URL don't works. rocsca - 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] Intelligent/automatic cache expiry based on mtime
ExpiresByType image/jpeg "access plus 1 day"
Re: [EMAIL PROTECTED] Intelligent/automatic cache expiry based on mtime
On Dec 7, 2007 11:01 AM, C.F-Win in China F <[EMAIL PROTECTED]> wrote: > ExpiresByType image/jpeg "access plus 1 day" > Thanks for this, but I don't want to expire the cache based on access, I want to expire the cache based on mtime. etags should handle this, but it seems not too.. - 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]