RE: [us...@httpd] Unable to run ./configure when install apache http server.Error: decision on anonymous shared memory allocation method failed

2009-05-25 Thread Nguyen Tien Duong
Dear Thanks again for your suggestion. I have performed quite thoroughly in the content of configure file and found no where there is a check for sizeof int, void*, long long etc. My observation is the configure generates a file called conftest.c for each test and then delete it immediately o

RE: [us...@httpd] Internal server error for script

2009-05-25 Thread Kristof Zelechovski
In addition, /var/log/httpd-suexec.log says: "cannot get docroot information". _ From: Kristof Zelechovski [mailto:giecr...@stegny.2a.pl] Sent: Monday, May 25, 2009 8:50 AM To: users@httpd.apache.org Subject: [us...@httpd] Internal server error for script When I SetHandler cgi-scr

Re: [us...@httpd] Order of Proxy matching

2009-05-25 Thread Krist van Besien
On Mon, May 25, 2009 at 11:28 AM, André Warnier wrote: > Evan Champion wrote: >> My observation is that the matches are done in reverse order of >> appearance in the configuration, i.e. in this example, a request to >> http://server.example.com/ will match the http://*.example.com/* rule >> and t

Re: [us...@httpd] Order of Proxy matching

2009-05-25 Thread Eric Covener
On Mon, May 25, 2009 at 3:01 AM, Evan Champion wrote: > Hi, > > Can anyone advise of the order in which statements matching the > same URL are matched? > > I am using SetEnvIf to set a variable that is saved later in the > access_log.  Sometimes there is a more specific match and a less > specifi

Re: [us...@httpd] virtual hosts and rewrite rules

2009-05-25 Thread Krist van Besien
On Fri, May 22, 2009 at 10:30 AM, Tom Evans wrote: > If you have vhosts, then the default vhost is not what is specified > outside of the vhost tags, it is the first defined vhost in your conf > file. This means that any vhost level directives (like RewriteRules, > ProxyPass, Location blocks etc)

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

RE: [us...@httpd] Unable to run ./configure when install apache http server.Error: decision on anonymous shared memory allocation method failed

2009-05-25 Thread Kristof Zelechovski
Look for 'long long' within ./configure. Chris - 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: users-unsubscr...@htt

RE: [us...@httpd] Unable to run ./configure when install apache http server.Error: decision on anonymous shared memory allocation method failed

2009-05-25 Thread Nguyen Tien Duong
Dear, I try to run configure with the verbose flag, but it did not print out any additional information. Investigate the long chunk of the file "configure" content does not help either. I did not see any .c file generated during and after the process. Things are kinda like a black box. Any sugg

RE: [us...@httpd] Unable to run ./configure when install apache http server.Error: decision on anonymous shared memory allocation method failed

2009-05-25 Thread Kristof Zelechovski
Tell configure to be more verbose or to dump debugging information. Also check for any intermediate .c files created by configure; the latest one should contain the problem. Chris - The official User-To-User support forum of the

Re: [us...@httpd] Order of Proxy matching

2009-05-25 Thread André Warnier
Evan Champion wrote: Hi, Can anyone advise of the order in which statements matching the same URL are matched? I am using SetEnvIf to set a variable that is saved later in the access_log. Sometimes there is a more specific match and a less specific match for the same URL, e.g.: http://server

RE: [us...@httpd] Unable to run ./configure when install apache http server.Error: decision on anonymous shared memory allocation method failed

2009-05-25 Thread Nguyen Tien Duong
Thank you for the input. I have written a simple program to print out the size of some basic types int main() { printf("sizeof (void*) is %d\n" , sizeof(void*)); printf("sizeof (int) is %d\n" , sizeof(int)); printf("sizeof (long) is %d\n" , sizeof(long)); printf(

RE: [us...@httpd] Unable to run ./configure when install apache http server.Error: decision on anonymous shared memory allocation method failed

2009-05-25 Thread Kristof Zelechovski
These lines are all wrong; they should report 4,1,4,4,8. You need the exact invocation of the compiler and the source code to figure out what went wrong this time. These should be in config.log. Then repeat the offending compilation by hand and see what you get and why. Chris -Original Mess

RE: [us...@httpd] Unable to run ./configure when install apache http server.Error: decision on anonymous shared memory allocation method failed

2009-05-25 Thread Nguyen Tien Duong
Dear, Thanks a lot for your input. I have done the check and figure out that i am missing of some header files ,e.g where the mentioned constant MAP_ANON is defined. The configure step continues and i hit the error of "could not detect 64 bit integer type" . Below is the log ==

RE: [us...@httpd] Unable to run ./configure when install apache http server.Error: decision on anonymous shared memory allocation method failed

2009-05-25 Thread Kristof Zelechovski
Apparently, Apache code needs either MAP_ANON defined or some special semantics for { mmap ('/dev/zero'); }; check the documentation for mmap what that would be, and check the documentation for your OS why it is not provided. HTH, Chris -Original Message- From: Nguyen Tien Duong [mailto:du

[us...@httpd] Order of Proxy matching

2009-05-25 Thread Evan Champion
Hi, Can anyone advise of the order in which statements matching the same URL are matched? I am using SetEnvIf to set a variable that is saved later in the access_log. Sometimes there is a more specific match and a less specific match for the same URL, e.g.: http://server1.example.com/*>