[users@httpd] mod_proxy_html

2011-09-19 Thread Christian.Kaiser
Hello, we're using mod_proxy_html. Rewriting URLs in HTML code works fine, but we have a problem with rewriting URLs in *.css files. Please advice Regards Christian

Re: [users@httpd] mod_proxy_html

2011-09-19 Thread Nick Kew
On Mon, 19 Sep 2011 09:34:07 + christian.kai...@lew.de wrote: Hello, we're using mod_proxy_html. Rewriting URLs in HTML code works fine, but we have a problem with rewriting URLs in *.css files. I'm not aware of any CSS syntax-aware filter, so you'll have to use a general-purpose text

Re: [users@httpd] Mod Rewrite for Server Status 503, depending upon URL

2011-09-19 Thread Ujjwal Kumar
Thanks Pete. It worked perfectly!! :) On Sat, Sep 17, 2011 at 8:25 PM, Pete Houston p...@openstrike.co.uk wrote: Untested, but: VirtualHost x.x.x.x:80 ServerName www.mysite.com Location /books ErrorDocument 503 http://www.mypartnersite.com/books

[users@httpd] mod_rewrite?

2011-09-19 Thread topinambour ####
Hi I have some problems about to write rewriterule in .htaccess I use spip and URL_propre URL read by google as : #URL_site/#URL_ARTICLE?page=fr i would want to use to remove:?lang=fr and do : /#URL_SITE/#URL_ARTICLE Summary, it would be : http://monsite.org/-Description-?lang=fr to redirect to

Re: [users@httpd] mod_rewrite?

2011-09-19 Thread J-H Johansen
On Mon, Sep 19, 2011 at 2:51 PM, topinambour otpinamb...@gmail.comwrote: Hi I have some problems about to write rewriterule in .htaccess I use spip and URL_propre URL read by google as : #URL_site/#URL_ARTICLE?page=fr i would want to use to remove:?lang=fr and do :

Re: [users@httpd] mod_dbd, mod_authn_dbd examples

2011-09-19 Thread Mark H. Wood
Indeed, the configuration manpage doesn't tell us much at all about DBD support. I just got a copy of the 2.2.21 source kit and tried out a few 'configure's. If you have shared APR and APU installed, then by default it just uses those. In that case, you would need APU (apr-utils) to have ODBC

Re: [users@httpd] mod_rewrite?

2011-09-19 Thread Frank Gingras
On 19/09/2011 8:59 AM, J-H Johansen wrote: On Mon, Sep 19, 2011 at 2:51 PM, topinambour otpinamb...@gmail.comwrote: Hi I have some problems about to write rewriterule in .htaccess I use spip and URL_propre URL read by google as : #URL_site/#URL_ARTICLE?page=fr i would want to use to

Re: [users@httpd] mod_dbd, mod_authn_dbd examples

2011-09-19 Thread J.Lance Wilkinson
Mark H. Wood wrote: Indeed, the configuration manpage doesn't tell us much at all about DBD support. I'm sorry to be a bit vague myself, but I usually just use the Gentoo Linux packaging system to install/upgrade HTTPD and it sorts all this out, so I'm not writing from fresh experience

[users@httpd] Re: mod_rewrite?

2011-09-19 Thread topinambour ####
URL : http://monsite.org/-Description-?lang=fr follows to be 200 and accepted I paste my .htaccess with paste expiration 1 day rewrite00 http://pastebin.com/fT14WcDq In wait 2011/9/19 topinambour otpinamb...@gmail.com Hi I have some problems about to write rewriterule in .htaccess I

Re: [users@httpd] mod_rewrite?

2011-09-19 Thread topinambour ####
Other try: RewriteCond %{QUERY_STRING} ^\?lang=fr$ RewriteRule ^[^\.]$/%1 ^[^\.]$ [L,R=302] then it continue with in inside network 200 answer:-( in server and it continue with ?lang=fr in url browser zone without

[users@httpd] Proxy all but one location

2011-09-19 Thread congo thomas
Hello experts, I have this application (geowebcache its called), running in tomcat. I use Apache2 to proxy all http requests into the geowebcache. However I have come across this boundry where my knowledge of apache configuration reaches my edges... I dont know how to exclude /cache from being

Re: [users@httpd] Proxy all but one location

2011-09-19 Thread Tom Evans
On Mon, Sep 19, 2011 at 3:44 PM, congo thomas apa...@thva.dk wrote: Hello experts, I have this application (geowebcache its called), running in tomcat. I use Apache2 to proxy all http requests into the geowebcache. However I have come across this boundry where my knowledge of apache

[users@httpd] Apache dies with segfault

2011-09-19 Thread Lischuk Mikhail
Hi everyone! My problem started for no reason. Just at some moment httpd started dying with segfault. First I upgraded to the 2.2.21 version (I was using 2.2.20) - it didn't help. Second, I noticed that all my Perl sites are alive on that same server, so I've downloaded and recompiled PHP.

Re: [users@httpd] Apache dies with segfault

2011-09-19 Thread Nick Kew
On Mon, 19 Sep 2011 18:08:45 +0300 Lischuk Mikhail r...@itx.com.ua wrote: #1 0xb7a5a25d in sch_out_filter () from /usr/local/apache2/modules/mod_log.so An innocent name, but there's no mod_log.so in a regular apache install (mod_log_config is the 'standard' logging module). Find out where

[users@httpd] Starting/Stopping Apache via an API

2011-09-19 Thread Tech Newbie
I am aware of the way to start/stop Apache via apachectl, both locally and remotely via SSH. Is there some generic unix API, perhaps related to /sbin/service, that I can remotely programmatically start Apache without exec'ing apachectl directly? I'm thinking since Apache is already configured

[users@httpd] Hidden 301 redirect buried somewhere in configuration

2011-09-19 Thread mathog
At some point in the last couple of years I did something which was apparently too clever by half to our 2.2.14 server so that this: http://aserver/adirectory/178_hlah.html does a 301 redirect to http://aserver/adirectory/170_hlah.html Now I can't find whatever configuration accomplishes

Re: [users@httpd] mod_rewrite?

2011-09-19 Thread Frank Gingras
On 09/19/2011 10:33 AM, topinambour wrote: Other try: RewriteCond %{QUERY_STRING} ^\?lang=fr$ RewriteRule ^[^\.]$/%1 ^[^\.]$ [L,R=302] then it continue with in inside network 200 answer:-( in server and it continue with ?lang=fr in url browser zone without

Re: [users@httpd] Apache dies with segfault

2011-09-19 Thread Lischuk Mikhail
On Mon, 19 Sep 2011 16:54:49 +0100, Nick Kew n...@webthing.com wrote: On Mon, 19 Sep 2011 18:08:45 +0300 Lischuk Mikhail r...@itx.com.ua wrote: #1 0xb7a5a25d in sch_out_filter () from /usr/local/apache2/modules/mod_log.so An innocent name, but there's no mod_log.so in a regular apache

Re: [users@httpd] Hidden 301 redirect buried somewhere in configuration

2011-09-19 Thread Steve Swift
Do you have an Errordocument 404 directive that is causing the redirect? Perhaps by running a CGI? The configuration files can come from places other than the conf directory, such as the directory conf.d I wrote myself a simple CGI script to expand out the base httpd.conf and any Include

[users@httpd] mod_rewrite redirect to different server

2011-09-19 Thread Bernd Schönbach
Hi, is it possible to write a mod_rewrite rule, which reroutes requests to another server, if they are not found on the current server e.g.: Requested URL: www.foo.com/home.php Backup URL: www.bar.com/home.php The redirect should only be made if the Requested URL delivers a 404 message. I

Re: [users@httpd] Hidden 301 redirect buried somewhere in configuration

2011-09-19 Thread Eric Covener
On Mon, Sep 19, 2011 at 2:28 PM, mathog mat...@caltech.edu wrote: At some point in the last couple of years I did something which was apparently too clever by half to our 2.2.14 server so that this:  http://aserver/adirectory/178_hlah.html does a 301 redirect to  

Re: [users@httpd] Starting/Stopping Apache via an API

2011-09-19 Thread Jeff Dyke
On Mon, Sep 19, 2011 at 2:07 PM, Tech Newbie tec...@yahoo.com wrote: I am aware of the way to start/stop Apache via apachectl, both locally and remotely via SSH. Is there some generic unix API, perhaps related to /sbin/service, that I can remotely programmatically start Apache without

Re: [users@httpd] mod_rewrite redirect to different server

2011-09-19 Thread Mark Montague
On September 19, 2011 15:34 , =?ISO-8859-15?Q?Bernd_Sch=F6nbach?= bernd.schoenb...@googlemail.com wrote: is it possible to write a mod_rewrite rule, which reroutes requests to another server, if they are not found on the current server e.g.: Requested URL: www.foo.com/home.php Backup URL: