Re: [us...@httpd] What is the best way to handle "too many open files" errors?

2009-05-20 Thread Igor Cicimov
Have you considered increasing the open files limit? Have a look at the ulimit command. The default is sometimes not enough. Cheers, Igor On Wed, May 20, 2009 at 4:00 PM, Ben Welsh wrote: > Hello, > > I'm managing a pgsql --> django --> mod_python --> apache machine that > serves no media, but

Re: [us...@httpd] Mod_rewrite and mod_proxy_balancer

2009-05-21 Thread Igor Cicimov
Try this one RewriteCond %{HTTP_REQUEST} storeid=1001 RewriteCond %{HTTP_REQUEST} langid=-1 RewriteRule (.*) $1&checkFlag=true [L] Cheers, Igor On Fri, May 22, 2009 at 3:20 AM, ricardo figueiredo < ricardoogra...@gmail.com> wrote: > Hi, > > I use rewrite because there is a directive RewriteMap

Re: [us...@httpd] Httpd on Ubuntu 9.04

2009-05-22 Thread Igor Cicimov
There is not httpd on Debian/Ubuntu. It's called apache2 and /etc/apache2 is the config folder. To check if apache is installed and where you run the dpkg command, something like this: # sudo dpkg -s apache2 and # sudo dpkg -S apache2 Igor On Sat, May 23, 2009 at 12:27 AM, Stephen wrote: > Joh

Re: [us...@httpd] ............ :( Plz help

2009-05-25 Thread Igor Cicimov
You can try mod_rwrite in the virtual host section: RewriteEngine On RewriteCond %{HTTP_HOST} ^acmework\.acmeblog\.com$ RewriteRule ^/(acme)$ http://%1/$1?area=ind Igor On Mon, May 25, 2009 at 3:13 PM, Karthik Nanjangude < karthik.nanjang...@xius-bcgi.com> wrote: > Hi > > > > SPECF > > Apach

[us...@httpd] Apache2 compile error on Solaris 10

2009-06-14 Thread Igor Cicimov
Hi all, I'm trying to compile apache2 on Solaris 10 with gcc-3.4.6. I have configured the server using the following command: ./configure --prefix=/usr/local/apache2.2.11 --with-mpm=worker --disable-cgid --enable-info --enable-proxy --enable-proxy-connect --enable-proxy-ftp --enable-proxy-http -

Re: [us...@httpd] Apache2 compile error on Solaris 10

2009-06-14 Thread Igor Cicimov
at 10:17 PM, Igor Cicimov wrote: > > Trying to solve the problem I have install apr and aprutils packages from >> free solaris but the error is still there. I also have all the dependences >> for the server installed as expat, sasl and openssl. >> >> Any idea what'

Re: [us...@httpd] Apache2 compile error on Solaris 10

2009-06-14 Thread Igor Cicimov
; location. > What is the output of the following command > > Which ar > > > Thanks, > Prathima > > -Original Message- > From: Igor Cicimov [mailto:icici...@gmail.com] > Sent: Monday, June 15, 2009 10:47 AM > To: users@httpd.apache.org > Subject: [us..

Re: [us...@httpd] Apache2 compile error on Solaris 10

2009-06-15 Thread Igor Cicimov
's causing this one? Thanks, Igor On Mon, Jun 15, 2009 at 4:13 PM, Sander Temme wrote: > > On Jun 14, 2009, at 10:50 PM, Igor Cicimov wrote: > > Hi Sander, >> >> Thanks for your reply. No I don't have /usr/ccs/bin in my PATH. So you say >> I need to

Re: [us...@httpd] Apache2 compile error on Solaris 10

2009-06-15 Thread Igor Cicimov
I have fixed the above problem, it was openssl problem and reinstall fixed it. Thanks again to everybody that replied. Igor On Mon, Jun 15, 2009 at 5:10 PM, Igor Cicimov wrote: > Hi Sander, > > Now I get the following fatal error: > > /hta/home/weblogic/apache2.2.11/httpd-2.

[us...@httpd] Apache2 startup error on Solaris 10

2009-06-15 Thread Igor Cicimov
Hi all, I have compiled and installed apache2.2.11 with mod_security and SSL on Solaris 10. All was fine until I moved it to jail I had built in /chroot. The error I get is: [Tue Jun 16 16:19:47 2009] [info] Init: Seeding PRNG with 272 bytes of entropy [Tue Jun 16 16:19:47 2009] [info] Init: Gene

Re: [us...@httpd] chrooted V non-chrooted

2009-06-16 Thread Igor Cicimov
Running apache in chroot adds another layer of security. You can chroot the apache server and copy over all the libraries you need and only the programs you need like /bin/sh lets say to start/stop the server. In that way any security issue or intruder will end up in "jail" and have limited program

[us...@httpd] mod_cache and SSL

2009-06-17 Thread Igor Cicimov
Hi all, I have a simple question: is mod_cache working over https or not? I think it's not but couldn't find any clear confirmation googling. Also since the mod_mem_cache doesn't have any logging facilities and is completely going on in memory, does any one know a way to confirm it's working? Th

Re: [us...@httpd] RewriteRule for case insensitive URL

2009-06-17 Thread Igor Cicimov
Or maybe this one RewriteCond %{REQUEST_URI} !^/FooBar RewriteRule ^/foobar(.*) /FooBar$1 [NC,L] Igor On 6/17/09, Krist van Besien wrote: > On Tue, Jun 16, 2009 at 3:33 PM, Matt Veitas wrote: >> Hi >> >> I am attempting to create a rewrite rule for our application and am in >> need of some assi

Re: [us...@httpd] Using .htaccess to force rewriting URLs to https:// works but loses any subdirectory paths. What do I need to change?

2009-06-17 Thread Igor Cicimov
Use HTTP_HOST instead SERVER_NAME RewriteCond %{HTTPS} !=on RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [R,L] The SERVER_NAME is the variable you set up in the httpd.conf file where HTTP_HOST is the variable from the client request. On 6/16/09, Justin Pasher wrote: > Bob Linkonij wrote: >> Ok, s

Re: [us...@httpd] mod_cache and SSL

2009-06-17 Thread Igor Cicimov
7, 2009 at 8:46 AM, Igor Cicimov wrote: > > Hi all, > > > > I have a simple question: is mod_cache working over https or not? I > > think it's not but couldn't find any clear confirmation googling. > > > > Also since the mod_mem_cache doesn't have any

Re: [us...@httpd] mod_cache and SSL

2009-06-17 Thread Igor Cicimov
https? Any one knows if mod_cache can work over SSL at all? Thanks, Igor On Thu, Jun 18, 2009 at 8:23 AM, Igor Cicimov wrote: > Hi Eric, > > Thanks for your reply. I did that I have the debug level on and I tried to > log Age header but all I get in the log is empty string and &qu

Re: [us...@httpd] Apache install problem

2009-06-26 Thread Igor Cicimov
# rpm -Uvh httpd2-2.2.11-5.2.1.1.rpm since you need to upgrade. If you want to install then you better uninstall the old one first. On Sat, Jun 27, 2009 at 6:20 AM, Frank Gingras wrote: > Mohit, > > You need to ask a mailing list tailored for your linux distribution. > > Frank. > > > Mohit Anch

[us...@httpd] mod_expires/mod_headers and SSL

2009-06-30 Thread Igor Cicimov
Hi all, Any idea if mod_expires works over SSL? In case it works are there any conditions to be satisfied? Thanks

Re: [us...@httpd] rewrite and proxy question

2009-06-30 Thread Igor Cicimov
What about this: DirectoryIndex index.cfm Or maybe changing the redirect to RewriteRule ^/(.*)$ http://192.168.0.100/$1 [P] On Tue, Jun 30, 2009 at 11:41 PM, K. Clair wrote: > Hi All, > > I'm trying to figure out if the following is possible. Let me know if > anyone has any ideas! > > I hav

Re: [us...@httpd] rewrite and proxy question

2009-07-01 Thread Igor Cicimov
One way to preserve the host name is putting UseCanonicalName On in the virtual host but not sure if it helps in your case. On Wed, Jul 1, 2009 at 10:56 PM, K. Clair wrote: > Hi, I realized I forgot to mention we are running apache 2.0. On Tue, June > 30, 2009 8:52 pm, Igor Cicimov

Re: [us...@httpd] mod_expires/mod_headers and SSL

2009-07-02 Thread Igor Cicimov
Type video/x-flv "access plus 3600 seconds" ExpiresByType application/pdf "access plus 3600 seconds" for the some content I serve localy from the apache but I can't see the Cache-Control header in the browser for those responses. On Tue, Jun 30, 2009 at 6:

Re: [us...@httpd] stopping uri that have a Url in them

2009-07-02 Thread Igor Cicimov
RewriteEngine On RewriteCond %{REQUEST_URI} ^http\:\/\/.*\.com$ RewriteRule - [F] On Wed, Jul 1, 2009 at 6:26 AM, bf...@free-man.net wrote: > I have a major attach of URL being sent: > http://mydomain.com/http://someurl.com > so the http:/someurl.com is requested from my apache server. > any way

Re: [us...@httpd] stopping uri that have a Url in them

2009-07-02 Thread Igor Cicimov
Or you can use mod_security instead it will protect you from XSS and SQL injection attacks and some other nasty stuff :) On Fri, Jul 3, 2009 at 10:23 AM, Igor Cicimov wrote: > RewriteEngine On > RewriteCond %{REQUEST_URI} ^http\:\/\/.*\.com$ > RewriteRule - [F] > > On Wed, Jul

Re: [us...@httpd] load balancing with 2 HTTPS portal servers

2009-07-09 Thread Igor Cicimov
Nedim, As your configuration is at the moment you proxy the traffic coming on port 443 (SSL port) to the back end servers which means only the requests coming with https:// will work. What you need to do is just write a simple mod_rewrite rule to redirect the traffic from port 80 to 443 and all sh

Re: [us...@httpd] SSL cert for alias too

2009-07-14 Thread Igor Cicimov
Just put redirection in that virtual host that will redirect the requests for domain.com to www.domain.com and problem solved. On Wed, Jul 15, 2009 at 11:40 AM, wrote: > Anyway, I have a domain.com and it's allias www.domain.com. > All point to the same site. > > If I make cert for domain.com, t

Re: [us...@httpd] SSL cert for alias too

2009-07-14 Thread Igor Cicimov
Just get the certificate for www.domain.com and redirect all the request for domain.com to www.domain.com in the virtual host section (or httpd.com file if you have only one host) and problem solved. On Wed, Jul 15, 2009 at 11:40 AM, wrote: > Anyway, I have a domain.com and it's allias www.domai

Re: [us...@httpd] load balancing with 2 HTTPS portal servers

2009-07-14 Thread Igor Cicimov
Nedim, As your configuration is at the moment you proxy the traffic coming on port 443 (SSL port) to the back end servers which means only the requests coming with https:// will work. What you need to do is just write a simple mod_rewrite rule to redirect the traffic from port 80 to 443 and all sh

Re: [us...@httpd] SSL cert for alias too

2009-07-15 Thread Igor Cicimov
Of course it works if you do it right. 1. Outside ssl virtual host: RewriteEngine On RewriteCond %{SERVER_PORT} ^80$ RewriteRule ^(.*)$ https://www.domain.com$1 [R=301,L] 2. Inside the ssl virtual host: ServerName domain.com ServerAlias www.domain.com RewriteEngine On RewriteCond %{SERVER

Re: [us...@httpd] ExpiresByType

2009-07-20 Thread Igor Cicimov
Do you have ExpiresDefault set up? Try setting that one first before ExpiresByType directive. See the mod_expires documentation if you need some more details. On Tue, Jul 21, 2009 at 6:01 AM, nima chavooshi wrote: > > Hi > I have added "ExpiresByType text/javascript M31536000" to my apache conf

Re: [us...@httpd] rewrite to 443..please help me

2009-07-24 Thread Igor Cicimov
I don't know if typo or not but in the redirect rule you have mysite.cominstead mysite.it On Fri, Jul 24, 2009 at 6:24 PM, danielitob wrote: > > Sorry...you're right. > I analyzed error log and I found that...it's strange > > [Fri Jul 24 10:12:19 2009] [warn] RSA server certificate CommonName (C

Re: [us...@httpd] rewrite to 443..please help me

2009-07-27 Thread Igor Cicimov
> What I'm missing? > I configured virtual host on port 80 and did a redirect for a subfolder to > 443. > i need other configuration? > > Please help me, I'm crazying.. > > > Igor Cicimov wrote: > > > > I don't know if typo or not but in the r

[us...@httpd] libapr problem after moving apache to chroot

2009-08-02 Thread Igor Cicimov
Hi all, I have this strange behavior with the new apache 2.2.12 I just built. I compiled it and install in the /usr/local/apache2 directory and all was fine, I could start and stop the server no errors. But after moving the server to /chroot/usr/local/apache2 I get the problem bellow: # ldd /chro

[us...@httpd] Re: libapr problem after moving apache to chroot

2009-08-02 Thread Igor Cicimov
Sorry forgot to mention that the built is on Solaris 9. On Mon, Aug 3, 2009 at 3:19 PM, Igor Cicimov wrote: > Hi all, > > I have this strange behavior with the new apache 2.2.12 I just built. I > compiled it and install in the /usr/local/apache2 directory and all was > fine, I

Re: [us...@httpd] Re: libapr problem after moving apache to chroot

2009-08-03 Thread Igor Cicimov
ibrary files have > been moved to. > Or there could also be some access issues. Check the access rights of the > libraries. > > Regards, > Anisha > ------ > *From:* Igor Cicimov [mailto:icici...@gmail.com] > *Sent:* Monday, August 03, 2009 10:52 AM

[us...@httpd] Apache in chroot on Solaris 9

2009-08-05 Thread Igor Cicimov
Hi all, I have built and install apache2.2.11 on solaris 9 and all is working fine but when I put the server in chroot I faced some problems. More specifically the server complains about the user I'm running apache under and says "can't find the user with the given UID". My chroot is /chroot and w

Re: [us...@httpd] Apache in chroot on Solaris 9

2009-08-05 Thread Igor Cicimov
190, 1 Aug 5 18:03 urandom crw-rw-rw- 1 root other 13, 12 Aug 5 18:02 zero Thanks again for your help. Cheers, Igor On Thu, Aug 6, 2009 at 10:30 AM, Nick Kew wrote: > > On 6 Aug 2009, at 01:06, Igor Cicimov wrote: > > Hi all, >> >> I have built and

Re: [us...@httpd] Apache in chroot on Solaris 9

2009-08-05 Thread Igor Cicimov
ea how to get around this? Igor On Thu, Aug 6, 2009 at 12:27 PM, Igor Cicimov wrote: > Thanks Nick, that was a good pointer. I enabled the su command in chroot > and copied over some of the libraries linked to it: > > cp /usr/lib/libbsm.so.1 /chroot/usr/lib/libbsm.so.1 > cp

[us...@httpd] mod_proxy_html can't install

2009-08-05 Thread Igor Cicimov
Hi all, I'm trying to install mod_proxy_htnl in apache2.2.11 on Solaris 9 but I'm getting the following error: # /usr/local/apache2/bin/apxs -c -I /usr/include/libxml2 -i -a mod_proxy_html.c /usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic -DSOLARIS2=9 -D_POSIX_PTHREAD_SEM

Re: [us...@httpd] mod_proxy_html can't install

2009-08-05 Thread Igor Cicimov
Thanks Eric I will sure try that. I have the module installed on Solaris 10 with no problems but faild in Solaris 9... I will post again after libxml2 install. Cheers, Igor On Thu, Aug 6, 2009 at 1:49 PM, Eric Covener wrote: > On Wed, Aug 5, 2009 at 11:29 PM, Igor Cicimov wr

Re: [us...@httpd] mod_proxy_html can't install

2009-08-05 Thread Igor Cicimov
Ok it worked with the new libxml2 ... Thanks again Eric Igor On Thu, Aug 6, 2009 at 2:07 PM, Igor Cicimov wrote: > Thanks Eric I will sure try that. I have the module installed on Solaris 10 > with no problems but faild in Solaris 9... > > I will post again after libxml2 install

[us...@httpd] mod_rewrite error on chroot apache2 on solaris 9

2009-08-05 Thread Igor Cicimov
Hi all, I can't start the apache in chroot due to the following error from mod_rewrite: [Thu Aug 06 16:23:29 2009] [crit] (2)No such file or directory: mod_rewrite: could not create rewrite_log_lock Configuration Failed Any idea how to fix this? I suspected something wrong with my device files b

Re: [us...@httpd] help for rewriterule

2009-08-08 Thread Igor Cicimov
Well it's not going to work any way. I can't understand how do you expect to access you work pc over 192.168.x.x address which is local ip address range? On Sat, Aug 8, 2009 at 7:16 PM, SG0101 wrote: > Hi all > > I have a apache running on my office machine > http://192.168.100.10/category/. I w

Re: [us...@httpd] securing phpmyadmin access with SSL encryption

2009-08-09 Thread Igor Cicimov
Yes, in a tailored made virtualhost. On Sat, Aug 8, 2009 at 5:25 PM, Etienne Loutrel wrote: > hello everybody, > > this is my first post here :-) I am running an ubuntu server with > 8.04 release > . > I am using phpmyadmin to manage my databases - it is more confortable than > the consol

Re: [us...@httpd] Trouble compiling apache with mod_ssl, having two versions of OpenSSL on openSUSE 10.3

2009-08-09 Thread Igor Cicimov
Did you read the README and INSTALL files in the OpenSSL folder (I assume you have openssl tarball downloaded)? They usually explain what and how to use in the ./configure and make commands. Read the help pages for configure and make too. On Sat, Aug 8, 2009 at 11:17 AM, Dan Stromberg wrote: > Th

Re: [us...@httpd] Requiring authentication for the whole server

2009-08-12 Thread Igor Cicimov
Good work Nico. Just out of curiosity, why did you use Location statement instead Directory in your configuration? As far as I know the Location is used for file system that doesn't reside on the local server (e.g. proxy server) and Directory in case you want to protect file system that is local to

Re: [us...@httpd] 'require' keyword

2009-08-20 Thread Igor Cicimov
Hi, Have you tried the "Require ldap-user" and "Require ldap-group" commands since you are using ldap authentication and not passwd file? Cheers, Igor On Fri, Aug 21, 2009 at 6:12 AM, André Warnier wrote: > Melanie Pfefer wrote: > >> Hi Eric, >> >> Could you please elaborate more on what yo

Re: [us...@httpd] Reverse Proxy questions - Error 503

2009-08-27 Thread Igor Cicimov
You need this line first ProxyRequests Off Igor On Thu, Aug 27, 2009 at 8:12 PM, UseTheFork wrote: > > Hi, > > I am a newbie to reverse proxy (and system administration in general) and I > am looking for pointers. I have an operational Apache 2.2 server accepting > requests on port 80. I also

Re: [us...@httpd] jsessionId and mod_cache

2009-08-31 Thread Igor Cicimov
So don't cache the set-cookie headers. Read the mod_cache info there is example how to exclude responses with set-cookie header from caching. On Mon, Aug 31, 2009 at 7:55 PM, Frank Hamilton wrote: > > Hi, > > I mounted lenya with apache2 reverse proxy and mod_cache > My problem is that the JSES

Re: [us...@httpd] jsessionId and mod_cache

2009-09-04 Thread Igor Cicimov
good work :) On Wed, Sep 2, 2009 at 4:31 PM, Frank Hamilton wrote: > > Thank Igor, > well, I think the issue is resolved, to prevent cached page header I used > CacheIgnoreHeaders, and in my case y do not want to cache set-cookie value. > CacheIgnoreHeaders set-cookie, with this directive the di

[us...@httpd] mem_cache error

2009-09-13 Thread Igor Cicimov
Hi all, Has anyone seen this error before: [Mon Sep 14 15:25:05 2009] [error] (130)Software caused connection abort: cache: error returned while trying to return mem cached data I was wondering what might be causing it. It's apache 2.2.13 running on Solaris 9 with plenty of free memory around 3G

Re: [us...@httpd] Re: how do I *define* a default virtual host

2009-09-16 Thread Igor Cicimov
What about defining the default VH by using the _default_ expression. Like this ServerName ServerAlias . . . On Wed, Sep 16, 2009 at 7:26 PM, Jan G.B. wrote: > > > 2009/9/15 LuKreme > >> On 15-Sep-2009, at 09:34, Jan G.B. wrote: >> >>> 2009/9/15 LuKreme >>> I always put my default Vi

[us...@httpd] Re: mem_cache error

2009-09-20 Thread Igor Cicimov
Hi again, Any idea or suggestion? Maybe some forum or group dealing with caching issues specifically? Thanks, On Mon, Sep 14, 2009 at 3:35 PM, Igor Cicimov wrote: > Hi all, > > Has anyone seen this error before: > > [Mon Sep 14 15:25:05 2009] [error] (130)Software caused c

Re: [us...@httpd] How to stop webpage forwarding

2009-09-20 Thread Igor Cicimov
You can use mod_rewrite. You can create the rule per your requirements. Some possibilities: 1. Forbid the access if the request is not coming from your own domain RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^(www\.)?mydomain.com$ RewriteRule .* - [F] 2. Send it back from where i

[us...@httpd] apache2 core dump

2009-09-22 Thread Igor Cicimov
Hi all, I get the following core dumps from the apache: core 'core.httpd.15844.wenpweb1.500.500.1253648224' of 15844: ./httpd -k start - lwp# 5 / thread# 5 ff29da3c apr_table_add (6c0348, 453800, 453809, 5, fffc, b) + b4 fec521d8 deep_table_copy (6c

Re: [us...@httpd] apache2 core dump

2009-09-23 Thread Igor Cicimov
more serious. I'll have a look in the patch and see if it is applicable to me. Thanks, Igor On Wed, Sep 23, 2009 at 6:55 PM, Nick Kew wrote: > > On 23 Sep 2009, at 07:32, Igor Cicimov wrote: > > Hi all, >> >> I get the following core dumps from the apache: >>

Re: [us...@httpd] apache2 core dump

2009-09-23 Thread Igor Cicimov
Ah forgot about the tool ... used pstack to debug the core dumps since it is a production server and don't have gdb available. Cheers, Igor On Thu, Sep 24, 2009 at 12:37 PM, Igor Cicimov wrote: > Hi Nick, > > First thanks for your reply much appreciate it. > > Yes, the ser

Re: [us...@httpd] Apache2 downloads .pl file instead of executes it

2009-09-27 Thread Igor Cicimov
Do you have this statement included in your conf file for the CGI directory? Options +ExecCGI Cheers, Igor On Sat, Sep 26, 2009 at 12:57 PM, Matthew Pettis wrote: > Hi, > Newbie here -- my Apache2 install is downloading the .pl script I have > instead of executing it as a CGI. How do I mak

Re: [us...@httpd] Apache2 downloads .pl file instead of executes it

2009-09-27 Thread Igor Cicimov
Also put the handler statement in the same directory AddHandler cgi-script .cgi .pl so it looks like Options +ExecCGI AddHandler cgi-script .cgi .pl or what ever extension you are using for the cgi programs. On Mon, Sep 28, 2009 at 1:04 PM, Igor Cicimov wrote: > Do you have t

Re: [us...@httpd] Odd site redirection

2009-10-06 Thread Igor Cicimov
I would say something is wrong with your new virtual host definition. It's not a redirection but since the request doesn't match any virtual host is being served by the first one in the config file. On Tue, Oct 6, 2009 at 2:03 AM, Oliver Marshall < oliver.marsh...@g2support.com> wrote: > Hi cha

Re: [us...@httpd] Need help to diagnose a problem with CustomLog

2009-10-06 Thread Igor Cicimov
Have you commented out the /var/log/apache2/access_log line in the main section of the config file? On Wed, Oct 7, 2009 at 6:09 AM, Bernard Fay wrote: > Hi, > > I have a weird problem with CustomLog. > > I defined an access log in a vhost configuration file. This site used to > use /var/log/apa

Re: [us...@httpd] apache2 core dump

2009-10-06 Thread Igor Cicimov
ase documentation so I can read some more about it? Thanks for your help. Igor On 9/24/09, Igor Cicimov wrote: > Ah forgot about the tool ... used pstack to debug the core dumps since it > is > a production server and don't have gdb available. > > Cheers, > > Igor >

Re: [us...@httpd] Re: apache2 core dump

2009-10-08 Thread Igor Cicimov
Hi Dan, thanks for your reply. I'm not sure about 2.2.14 since this is production server. I'll have to build it first in model and test it. Strangely I didn't face the same problem on the model servers with the same Solaris 9 OS but that might have been because of lack of traffic. Is there any oth

Re: [us...@httpd] How do I enable mod_disk_cache logging?

2009-10-08 Thread Igor Cicimov
Set the LogLevel to debug and you should see the mod_cache entries in the error log file. On Fri, Oct 9, 2009 at 10:51 AM, Jerome Yanga wrote: > How do I see the hits or miss in mod_disk_cache? How do I enable its > logging? > > > > Thank you in advance. > > > > jerome >

Re: [us...@httpd] Issue with DirectoryIndex

2009-10-08 Thread Igor Cicimov
404 means "file not found" which means you don't have any index.html file in the other folders you try to access. On Thu, Oct 8, 2009 at 5:58 AM, jwberger wrote: > > I am having an issue with the DirectoryIndex. We have it set as > DirectoryIndex index.html We have a site the runs at https://ww

Re: [us...@httpd] Need help to diagnose a problem with CustomLog

2009-10-08 Thread Igor Cicimov
> > By the way, this is Apache/2.2.3 running on SuSE SLES 10 with SP1. > > > > > On Tue, Oct 6, 2009 at 7:24 PM, Igor Cicimov wrote: > >> Have you commented out the /var/log/apache2/access_log line in the main >> section of the config file? >> >>

Re: [us...@httpd] Logging Client IP and Proxy IP in Apache access logs

2009-10-08 Thread Igor Cicimov
I would suggest you read about CustomLog in mod_log_config http://httpd.apache.org/docs/2.2/mod/mod_log_config.html On Fri, Oct 9, 2009 at 3:52 AM, Luciano Resende wrote: > In a environment configured with reverse proxy, how can I configure > Apache HTTP Server to log the client IP and the Prox

Re: [us...@httpd] undefined symbol: cache_generate_key_default

2009-10-08 Thread Igor Cicimov
Sorry to hijack the thread guys but just wondered if the same goes with mod_mem_cache module I mean the additional .c files in the apxs command? Thanks, Igor On Thu, Oct 8, 2009 at 1:42 AM, marcos wrote: > Thanks i execute : > > /opt/apache2/bin/apxs -i -c mod_cache.c cache_storage.c cache_uti

Re: [us...@httpd] Re: apache2 core dump

2009-10-08 Thread Igor Cicimov
Igor On Thu, Oct 8, 2009 at 11:57 PM, Igor Cicimov wrote: > Hi Dan, thanks for your reply. I'm not sure about 2.2.14 since this is > production server. I'll have to build it first in model and test it. > Strangely I didn't face the same problem on the model servers wit

Re: [us...@httpd] Re: undefined symbol: cache_generate_key_default

2009-10-09 Thread Igor Cicimov
/apache2/modules/mod_mem_cache.so: symbol cache_find: referenced symbol not found It is apache 2.2.12 running on Solaris 9 in chroot. Thanks, Igor On Fri, Oct 9, 2009 at 10:21 PM, Dan Poirier wrote: > Igor Cicimov writes: > > > Sorry to hijack the thread guys but just wondered if t

Re: [us...@httpd] Re: undefined symbol: cache_generate_key_default

2009-10-11 Thread Igor Cicimov
s, probe to pass this > option to the linker with -Wl apxs command. > > /opt/apache2/bin/apxs -i -c -Wl,lz mod_cache.c cache_storage.c > cache_util.c > > > > 2009/10/10 Igor Cicimov : > > Thanks Dan. I did that but I got the following error when tried to start > > apa

Re: [us...@httpd] Re: undefined symbol: cache_generate_key_default

2009-10-11 Thread Igor Cicimov
local/apache2/bin/apxs -c -i mod_mem_cache.c cache_cache.c cache_pqueue.c cache_hash.c Thanks to all for your help guys. Cheers, Igor On Mon, Oct 12, 2009 at 12:24 PM, Igor Cicimov wrote: > Hi marcos, > > Thanks for your help I tried that but still getting the same error and I > have

Re: [us...@httpd] URL-Rewrite Problem

2009-10-16 Thread Igor Cicimov
Have you tried the NE flag in the rewrite rule? On Fri, Oct 16, 2009 at 10:41 PM, Anoop.V wrote: > I have a problem with rewriting certain urls which contains special > characters.Please have a look at the following urls > RewriteRule ^/Football/Quarter-Reports%C2%A0/Football/Quarter-Reports

Re: [us...@httpd] URL-Rewrite Problem

2009-10-17 Thread Igor Cicimov
ly, >> Yes.I tried.That too is not working.I find it a strange problem. >> >> >> >> --- On *Fri, 10/16/09, Igor Cicimov * wrote: >> >> >> From: Igor Cicimov >> Subject: Re: [us...@httpd] URL-Rewrite Problem >> To: users@httpd.apache.org >&g

Re: [us...@httpd] How to configure Apache 2.2.8 to act as reverse proxy?

2009-10-17 Thread Igor Cicimov
It is third party module you need to download the source and compile and install it using apxs as external loadable module. By the way you can do without it since you have mod_proxy already included in the apache. For reverse proxy you need to switch ProxyRequest to off. Example ProxyRequest Off

Re: [us...@httpd] mod_proxy+mod_rewrite: hiding redirection

2009-10-27 Thread Igor Cicimov
Try playing with the P,R,L flags in the rewrite rule and see what happens :) e.g. RewriteRule $(.+) http://123.123.123.123/myscript?url=%{REQUEST_URI}[P,R,L] or RewriteRule $(.+) http://123.123.123.123/myscript?url=%{REQUEST_URI}

Re: [us...@httpd] mod_proxy+mod_rewrite: hiding redirection

2009-10-27 Thread Igor Cicimov
What if you remove the handle? As it is written now I don't see any particular need for it? On Wed, Oct 28, 2009 at 3:09 PM, Marcos Mendez wrote: > On Tue, Oct 27, 2009 at 8:47 PM, Igor Cicimov wrote: > > Try playing with the P,R,L flags in the rewrite rule and see what happen

Re: [us...@httpd] VirtualHost Directory Not Found

2009-10-29 Thread Igor Cicimov
Couple of questions "DocumentRoot and have been removed." Why did you do that? " Options -Indexes +FollowSymLinks AllowOverride All Order allow,deny Allow from all " I think you need Alias directive here in front of the to bring that directory into apache doc

Re: [us...@httpd] make mod_cache not cache cookies but cache contents from application side

2009-10-30 Thread Igor Cicimov
Read the mode_cache directive on the apache site and you will find your answer 2009/10/31 Arkadiusz Miśkiewicz > > Hi, > > Is there a way to forbid caching cookies from application level (let say > php > or mod_perl level) by mod_cache? I know method via apache config but trying > to find one v

Re: [us...@httpd] make mod_cache not cache cookies but cache contents from application side

2009-10-30 Thread Igor Cicimov
Also did you try setting the Cache header to no-cache on the apllication side for the cookies? 2009/10/31 Igor Cicimov > Read the mode_cache directive on the apache site and you will find your > answer > > > 2009/10/31 Arkadiusz Miśkiewicz > >> >> Hi, >>

Re: [us...@httpd] Cant make apache listen on an IP address and port

2009-11-11 Thread Igor Cicimov
You need the ServerName statement. On Wed, Nov 11, 2009 at 11:48 PM, Siju George wrote: > HI I have the following ports.conf > > > > NameVirtualHost *:80 > Listen 80 > > ># SSL name based virtual hosts are not yet supported, therefore no ># NameVirtualHost statement here >Listen 443

Re: [us...@httpd] RewriteBase is not working in apache configuration file

2009-11-15 Thread Igor Cicimov
What are the rewrite rules you have put in the main config file? Do you have "RewriteEngine On" statement first? On Mon, Nov 16, 2009 at 3:27 PM, J. Bakshi wrote: > Hello, > > RewriteBase is working perfectly OK in .htaccess but not in apache > configuration file. Do we need any special syntax

Re: [us...@httpd] sending pre-compressed content through reverse proxy using mod_rewrite

2009-11-19 Thread Igor Cicimov
Write your own 404 page? Is that good enough? On Fri, Nov 20, 2009 at 7:28 AM, Haroon Rafique wrote: > Hi there, > > I am running a reverse proxy (using mod_proxy) and I would like to > internally rewrite (using mod_rewrite) certain files and instead send their > pre-compressed .gz versions. I h

Re: [us...@httpd] example configure line.. does it actually make sense?

2009-12-06 Thread Igor Cicimov
> > Ive seen other similar examples.. but i want to understand if this > actually makes sense. > Read this then http://httpd.apache.org/docs/2.2/programs/configure.html On Mon, Dec 7, 2009 at 11:17 AM, David Taveras wrote: > Hello, > > > I have this configure line: > CONFIGURE_ARGS+= >

Re: [us...@httpd] Location - Match

2009-12-06 Thread Igor Cicimov
Can't you put "Header set Cache-Control max-age=X" statement inside stanza? On Mon, Dec 7, 2009 at 4:49 PM, Rajwinder-office Singh < rajwinder.makkar.off...@gmail.com> wrote: > Here is one simple looking requirement : > > I want to put max-age header of value X on my home page and a value of Y

Re: [us...@httpd] mod_rewrite + mod_headers :How to set Cache instructions for Rewritten .swf content only ?

2009-12-10 Thread Igor Cicimov
Header set Cache-Control "must-revalidate, proxy-revalidate" Header set Pragma "public" or use mod_headers commands per content (read the mod_headers instructions on apache.org) On Fri, Dec 11, 2009 at 12:53 PM, ABAPGUY wrote: > Hi Apache Experts, > I wish to set 2 Cache statements for .swf

Re: [us...@httpd] URL re-writing problem

2009-12-22 Thread Igor Cicimov
Only this %(HTTP_HOST) should be in curly brackets On Wed, Dec 23, 2009 at 1:51 AM, Oliver Schoenborn wrote: > Vijay, > If you have a small number of subdomains, I would try, for each one: > > >ServerName subdomainN.domain.com >ProxyRequests off >ProxyPass / http://domain

Re: [us...@httpd] Mod_Rewrite voodoo

2010-01-05 Thread Igor Cicimov
You can try this RewriteEngine On RewriteRule (.*)([0-9]{2}).html$ /20$2/$1$2.html [R,L] I wrote it on the go and haven't tested it. It might be done in different way probably but give this one a go and will see what can we do if it is not working. Cheers On Tue, Jan 5, 2010 at 6:52 PM, Boyle O

Re: [us...@httpd] Mod_Rewrite voodoo

2010-01-06 Thread Igor Cicimov
One more thing, it will work for this century only since 20xx is hard coded in the rule. Thought should mention it although it's not going to be your problem in 2100 haha On Thu, Jan 7, 2010 at 7:58 AM, Reese wrote: > On 06-Jan-10 15:50, Patrick Horgan wrote: > > So adding RewriteCond %{HTTP_H

Re: [us...@httpd] can we run two SSL domains on one IP

2010-01-19 Thread Igor Cicimov
As far as i know apache doesnt support name virtual hosting up to 2.2.13 or 2.2.14 not exactly sure. And after that supports it but only with SII. On Jan 19, 2010 6:41 PM, "Nilesh Govindarajan" wrote: On 01/19/2010 12:52 PM, Nasir Zia wrote: > > > Hi, > > can anyone tell me can i run my two dif

Re: [us...@httpd] can we run two SSL domains on one IP

2010-01-19 Thread Igor Cicimov
I mean SSL name virtual hosts... On Jan 19, 2010 7:02 PM, "Igor Cicimov" wrote: As far as i know apache doesnt support name virtual hosting up to 2.2.13 or 2.2.14 not exactly sure. And after that supports it but only with SII. > > On Jan 19, 2010 6:41 PM, "Nilesh Govinda

Re: [us...@httpd] Client certificate authentication on tunneling proxy

2010-01-20 Thread Igor Cicimov
So you are trying to connect to port 80 on the server not 443? The SSL host listens to 443 so what do you expect to happen when you connect to port 80 as shown in your test? Have you redirected the port 80 to 443 in your configuration or what? You have also mentioned client certificates so have you

Re: [us...@httpd] password protected files

2010-01-21 Thread Igor Cicimov
Put that file in separate protected directory and write RewriteRule...just an idea. On Jan 22, 2010 1:36 AM, "Nasir Zia" wrote: My directory authentication works fine. But i want to restrict only one file behind authentication which is not working for me On Thu, Jan 21, 2010 at 6:19 PM, Nilesh

[us...@httpd] mod_proxy_html v3.1.2 fails to install on Solaris10

2010-01-31 Thread Igor Cicimov
# /usr/local/apache2/bin/apxs -c -I/usr/local/include/libxml2 -i -a mod_proxy_html.c /usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -I/usr/local/apache2/include -I/usr/local/apache2/include

Re: [us...@httpd] mod_proxy_html v3.1.2 fails to install on Solaris10

2010-01-31 Thread Igor Cicimov
html.c: In function `proxy_html_insert': mod_proxy_html.c:1230: error: `ENCIO_INPUT_CHECKS' undeclared (first use in this function) apxs:Error: Command failed with rc=65536 Cheers, Igor On Mon, Feb 1, 2010 at 12:28 PM, Eric Covener wrote: > On Sun, Jan 31, 2010 at 8:19 PM, Igor Cicim

Re: [us...@httpd] Apache / Mod_Proxy / Tomcat

2010-02-05 Thread Igor Cicimov
Check your timeout settings in the apache conf file and set them per your preferences. On Feb 6, 2010 9:11 AM, "Farid Izem" wrote: Hi, I have setup an Apache Web Server in front of a Tomcat Web Container. Basically, All request are handle by Apache and passed to Tomcat using mod_proxy_ajp Apach

Re: [us...@httpd] mod_proxy_html v3.1.2 fails to install on Solaris10

2010-02-07 Thread Igor Cicimov
Hi Snader, The file is in the same folder where the mod_proxy binaries are mod_proxy_html/mod_xml2enc.h Igor On Mon, Feb 1, 2010 at 4:34 PM, Sander Temme wrote: > > On Jan 31, 2010, at 5:19 PM, Igor Cicimov wrote: > > > # /usr/local/apache2/bin/apxs -c -I/usr/local/includ

Re: [us...@httpd] mod_proxy_html v3.1.2 fails to install on Solaris10

2010-02-07 Thread Igor Cicimov
_html.la -rpath /usr/local/apache2/modules -module -avoid-versionmod_proxy_html.lo so it looks like the command was successful but no module has been created in the modules directory thus the module has not been loaded in the apache configuration. Thanks, Igor On Mon, Feb 8, 2010 at 4:22 PM, Igor

Re: [us...@httpd] mod_proxy_html v3.1.2 fails to install on Solaris10

2010-02-07 Thread Igor Cicimov
Ups my mistake, missed the -i switch in the apxs command...all good now thanks for your help guys. Igor On Mon, Feb 8, 2010 at 4:41 PM, Igor Cicimov wrote: > Hi Eric, > > This is the output from my last try > > /install/software/mod_proxy_html$ /usr/local/apache2/bin/apxs -c

Re: [us...@httpd] Web page usage and monitoring

2010-02-09 Thread Igor Cicimov
Webalizer On Feb 10, 2010 6:31 AM, "John Hudak" wrote: awstats? it is web based, and can slice and dice what ever stats you want...although you may need to hack it a bit to get the data to a file... -John On Tue, Feb 9, 2010 at 1:15 PM, Dorrian, William M Contractor ace...@saj

Re: [us...@httpd] Re: Apache server getting lot of Closing connection

2010-02-14 Thread Igor Cicimov
It's not very clear what are you saying. Please post some output from the netstat command. I guess you are talking about the back end connections between apache and tomcat. What is the session time in your tomcat application? What are the timeout settings in the apache config including KeepAlive a

  1   2   3   4   5   6   7   >