Re: [us...@httpd] How to Use Multiple Hard Drives on Windows

2009-03-25 Thread 张文东
how about the apache virtual directory: # httpd.conf Alias /d/ D:/web/ Directory D:/web/ Options Indexes MultiViews FollowSymLinks AllowOverride All Order allow,deny Allow from all /Directory you can access via http://server/d/ 2009/3/25 j...@dbd01.com:

Re: [us...@httpd] ProxyPass for more than 1 remote server

2009-03-25 Thread Krist van Besien
On Wed, Mar 25, 2009 at 1:59 AM, inas inassen mezgh...@hotmail.com wrote: Hi all, I'm trying to make ProxyPass and ProxyPassReverse work within 2 remote server I have ProxyPass / http://server1:8080/ ProxyPassReverse / http://server1:8080/ ProxyPass /docs http://server2:8080/docs

Re: [us...@httpd] (mod_jk load balancer) could not get free endpoint for worker xxx

2009-03-25 Thread 张文东
Hi André Warnier, I modified the ajp connection configuation in wasce, such as ajp maxthreads, but it seems that it's not the reason for the could not get free endpoint for worker error. I set a series pool size and test the differences between them. (one node case) pool_size errors 25-50

RE: [us...@httpd] Apache not displaying JPG images in certain folders

2009-03-25 Thread Richard Peacock
Further to my email below, I found a solution using the ProxyPass directive. It's working now, thanks to those who tried to help and thanks to the rest for taking the time to read :) Rich -Original Message- From: Richard Peacock [mailto:richard.peac...@minorplanet.com] Sent: 24 March

Re: [us...@httpd] How to Use Multiple Hard Drives on Windows

2009-03-25 Thread jgb
Thanks. Nice work! - Original Message - From: ÕÅÎĶ« zwd2...@gmail.com To: users@httpd.apache.org Subject: Re: [us...@httpd] How to Use Multiple Hard Drives on Windows Date: Wed, 25 Mar 2009 16:23:55 +0800 how about the apache virtual directory: # httpd.conf Alias /d/ D:/web/

Re: [us...@httpd] (mod_jk load balancer) could not get free endpoint for worker xxx

2009-03-25 Thread Eric Covener
2009/3/25 张文东 zwd2...@gmail.com: I think maybe the httpd server could not hold so many pool size (cache?). I want to increase the httpd's ThreadsPerChild. but I found it cannot set larger than 400 (this ThreadLimit is seted too). when 400, the httpd error_log output: [alert] (12)Cannot

[us...@httpd] disabling builtin modules

2009-03-25 Thread Matthias Leopold
hi, is it possible to disable a builtin module (- php) in apache 1.3.x and use a dynamic module instead? recompiling apache is not an option for various reasons thx for advice matthias -- Mit freundlichen Grüssen Matthias Leopold System Network Administration Streams Telecommunications GmbH

RE: [us...@httpd] disabling builtin modules

2009-03-25 Thread Richard Peacock
Hello, I'm not sure if this will work but I don't think there is anything to loose by trying it :) Login as root # a2emmod -l Mod_this mod_that mod_foo mod_bar # a2enmod -d [modname] # a2enmod new_mod_to_add # service apache restart (a2enmod ... -l to list, -d to delete) Although I used a

Re: [us...@httpd] disabling builtin modules

2009-03-25 Thread Matthias Leopold
thx for reply, but a2enmod is debian specific and works only for dynamic modules, my main problem is disabling a builtin module in a self compiled apache binary matthias Richard Peacock schrieb: Hello, I'm not sure if this will work but I don't think there is anything to loose by trying it

RE: [us...@httpd] disabling builtin modules

2009-03-25 Thread Richard Peacock
Oh, ok. Sorry (and are you sure it's debian specific as I was using it myself on a suse box last night). Still, I'm more than likely being stupid there so I'll be quiet haha! Hope you find an answer :) Rich Ps. I would suspect that the only way forward would be to re-compile as it's now

[us...@httpd] Redirect a whole site from port 80 to a servlet container

2009-03-25 Thread Florent Georges
Hi, I have an Apache HTTPD 2 running on my server, serving my website on the port 80. I have also a servlet container on that machine, listening to the port 1234 (the real is different of course.) The interesting pages on this container are available at

RE: [us...@httpd] Redirect a whole site from port 80 to a servlet container

2009-03-25 Thread Richard Peacock
Would ProxyPass help? http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass Just a thought because I have a main webserver also running on p80 and a hyperlink to /myapp which takes the user silently to a whole different web server on a different port. Good luck! -Original

Re: [us...@httpd] Redirect a whole site from port 80 to a servlet container

2009-03-25 Thread Florent Georges
Richard Peacock wrote: Just a thought because I have a main webserver also running on p80 and a hyperlink to /myapp which takes the user silently to a whole different web server on a different port. Good luck! Thanks! I am going to have a look, I didn't know it before. Just a detail

Re: [us...@httpd] Redirect a whole site from port 80 to a servlet container

2009-03-25 Thread Florent Georges
Richard Peacock wrote: The lines you put in you conf file would be something like: ProxyRequests Off ProxyPass /app1/ http://the.target.server:port/ It seems I misunderstood something... I created a new site file for the new domain name, say www.new.com, and used a2ensite successfully.

RE: [us...@httpd] Redirect a whole site from port 80 to a servlet container

2009-03-25 Thread Richard Peacock
Florent Is there a file (such as index.html) or another default document defined on the second site? If I recall from memory the error you got means there is no default document and you don't have permission to give a directory listing. :) -Original Message- From: Florent Georges

Re: [us...@httpd] Redirect a whole site from port 80 to a servlet container

2009-03-25 Thread Florent Georges
Richard Peacock wrote: If I recall from memory the error you got means there is no default document and you don't have permission to give a directory listing. :-) Yes, if I get directly http://original.com:1234/container/app/ I get the page. In addition, even the original website does

RE: [us...@httpd] Redirect a whole site from port 80 to a servlet container

2009-03-25 Thread Richard Peacock
It may be the a2ensite command as this was something I did not need to do, it just worked straight away by adding the two lines in to my httpd.conf I did not use NameVirtualHost or anything, just those two lines. Perhaps you need to include the two lines: Order allow,deny Allow

[us...@httpd] VirtualHost doesn't work

2009-03-25 Thread Andrew Hole
Hello, We’ve been facing a problem with apache + ssl configuration. This is our virtual host configuration: NameVirtualHost 10.202.6.132:80 NameVirtualHost 10.202.6.132:443 # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first

Re: [us...@httpd] Redirect a whole site from port 80 to a servlet container

2009-03-25 Thread Florent Georges
Richard Peacock wrote: I did not use NameVirtualHost or anything, just those two lines. Perhaps you need to include the two lines: Order allow,deny Allow from all Unfortunately that does not change anything. But I wonder, how do you make the difference between both

Re: [us...@httpd] Redirect a whole site from port 80 to a servlet container

2009-03-25 Thread Krist van Besien
On Wed, Mar 25, 2009 at 3:34 PM, Florent Georges li...@fgeorges.org wrote: Richard Peacock wrote: If I recall from memory the error you got means there is no default document and you don't have permission to give a directory listing.  :-)  Yes, if I get directly

[us...@httpd] need help on Program terminated with signal 11, Segmentation fault

2009-03-25 Thread rats1027-segfa...@yahoo.co.in
Hi Guys, We are have a problem with apache segfault on our production server. Please read bellow for description. Its a web application written in php5 and implemented most of the oop concepts and lot of regular expressions, curl, mcrypt, simplexml, mssql, exceptions and user defined error

Re: [us...@httpd] need help on Program terminated with signal 11, Segmentation fault

2009-03-25 Thread Frank Gingras
Are you using worker, by any chance? Frank rats1027-segfa...@yahoo.co.in wrote: Hi Guys, We are have a problem with apache segfault on our production server. Please read bellow for description. Its a web application written in php5 and implemented most of the oop concepts and lot of

Re: [us...@httpd] need help on Program terminated with signal 11, Segmentation fault

2009-03-25 Thread rats1027-segfault
hi frank, thank you so much for the reply. we are using 'prefork' and our server is architecture is : x86-64. you can see the loaded modules for apache2hanlder below core prefork http_core mod_so mod_authz_host mod_authz_user mod_authz_owner mod_authz_groupfile mod_authz_dbm mod_authz_default

RE: [us...@httpd] Redirect a whole site from port 80 to a servlet container

2009-03-25 Thread Richard Peacock
Have you tried to just have the two lines without the VirtualHost stuff? ProxyRequests Off ProxyPass / http://localhost:1234/container/ctxt/ Sorry if you have but it's worth a try if not ;) -Original Message- From: Florent Georges [mailto:li...@fgeorges.org] Sent: 25

Re: [us...@httpd] VirtualHost doesn't work

2009-03-25 Thread Eric Covener
On Wed, Mar 25, 2009 at 10:46 AM, Andrew Hole andremailingl...@gmail.com wrote: When we access the url https://p1-preproducao.pt it works fine and open the application. When we access https://p1-formacao.pt it also works (and it shouldn’t). It should enter the default Vhost:443 and be

Re: [us...@httpd] Redirect a whole site from port 80 to a servlet container

2009-03-25 Thread Florent Georges
Richard Peacock wrote: Suppose the local server has address http://example.com/; then ProxyPass /mirror/foo/ http://backend.example.com/ will cause a local request for http://example.com/mirror/foo/bar to be internally converted into a proxy request to http://backend.example.com/bar.

RE: [us...@httpd] Redirect a whole site from port 80 to a servlet container

2009-03-25 Thread Richard Peacock
I have an example on my internal portal at home. If visit http://192.168.1.225/ I get the main portal. If I visit http://192.168.1.225/myapplication/ I am actually loading content from my second webserver, http://192.168.1.100:12345/ although my browser still reads

RE: [us...@httpd] ProxyPass for more than 1 remote server

2009-03-25 Thread inas inassen
Thank you Krist, It seems working now, I'll do more tests. Inas. Date: Wed, 25 Mar 2009 09:38:40 +0100 From: krist.vanbes...@gmail.com To: users@httpd.apache.org Subject: Re: [us...@httpd] ProxyPass for more than 1 remote server On Wed, Mar 25, 2009 at 1:59 AM, inas inassen

[us...@httpd] Mangled my Virtual Hosts

2009-03-25 Thread Joseph Morgan
I have somehow mangled my virtual hosts.. or so I think. I have two web sites http://www.ProSportsResumes.com, and http://www.VideoFortWorth.com, among others hosted on the same machine. If you visit http://www.VideoFortWorth.com, you'll see ProSportsResumes in the title, but the content of

[us...@httpd] Apache memory problem

2009-03-25 Thread Tadeu Alves
Hy guys, latelly i've got a nasty problem, in my webserver, when i do good amount of refresh (f5) my apache starts eating all the memory and if i doesn't stop apache it just goes on consuming the server resource (ram, swap, cpu) i don't know what can be... The server configuration 2x Quad Core