Re: [us...@httpd] Virtual hosts + proxy

2009-03-27 Thread Ignacio Avellino
> My first suggestion is comment out the proxy stuff for now, and just > see if you can get vhosts working in general. You can test this by > giving the vhosts a different DocumentRoot from the main server, and > you'll know it's working based on what DocumentRoot is being served. VHost is running

Re: [us...@httpd] Virtual hosts + proxy

2009-03-27 Thread Ignacio Avellino
> Your namevirtualhost *:80 line should match what you have in your > Thanks > You'll also want a Listen 80 line somewhere. It is already listenting on the default port (80), so I didn't add the line. > Some other things that I notice. The first argument you have on ProxyPass > looks a lot li

Re: [us...@httpd] Virtual hosts + proxy

2009-03-27 Thread Brian Mearns
On Fri, Mar 27, 2009 at 3:09 PM, Ignacio Avellino wrote: > Biran! > Thanks a million for the response > >> Think you need: >> >> NameVirtualHost * > > I have: > NameVirtualHost *:80 > on httpd.conf > > If I change it to > NameVirtualHost * > > when I start httpd I get: > > Starting httpd: [Fri Mar

Re: [us...@httpd] Virtual hosts + proxy

2009-03-27 Thread chris
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > If I change the directive from to en > every VirtualHost, I get the same error ... > And the page is still not working > > What do you suggest? > Just in case it helps, what I'm trying to do is to expose 4 web pages, and > one is on a different p

Re: [us...@httpd] Virtual hosts + proxy

2009-03-27 Thread Ignacio Avellino
Biran! Thanks a million for the response > Think you need: > > NameVirtualHost * I have: NameVirtualHost *:80 on httpd.conf If I change it to NameVirtualHost * when I start httpd I get: Starting httpd: [Fri Mar 27 16:01:40 2009] [error] VirtualHost *:80 -- mixing * ports and non-* ports with

Re: [us...@httpd] unexpected connection to ldap

2009-03-27 Thread Eric Covener
2009/3/27 Daniel Qian : > ldap is installed on the server for other purposes such as ftp, ssh > authentication but not configured for Apache anywhere within the conf files. > However I am still seeing quite a few connections from httpd to ldap server. > Any suggestions why this is happenning? httpd

Re: [us...@httpd] Virtual hosts + proxy

2009-03-27 Thread Brian Mearns
On Fri, Mar 27, 2009 at 2:08 PM, Ignacio Avellino wrote: > Hello apachers! > I have a question, that I have researched extensively on the web, without > getting to work what I want. > Basically, we have different web pages on different hosts on my > Institution. > Since we have only one public IP,

[us...@httpd] Virtual hosts + proxy

2009-03-27 Thread Ignacio Avellino
Hello apachers! I have a question, that I have researched extensively on the web, without getting to work what I want. Basically, we have different web pages on different hosts on my Institution. Since we have only one public IP, all the requests that get on port 80 are forwarded to our main server

[us...@httpd] Vhosts directive for directory translation for mod_proxy?

2009-03-27 Thread Mike Lyon
Howdy All, Simple question. Is there a directive I can configure under a mod_proxy vhost on my proxy box so that when a user connects to the proxy and the proxy sees a request for something like /aaa/* that the directive would see the /aaa/* and translate it my.hostname.com/aaa/* ? That possible?

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

2009-03-27 Thread Anthony J. Biacco
Is your test server the same architecture with same library versions and os version as the production servers? Have you tried putting a simulated load on the test server to see if it falls over under the same load as the production box has? Have you used strace on any of the production apache p

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

2009-03-27 Thread rats1027-segfault
guys, still we are facing the same problem. we recompiled new php source(to latest version), upgraded httpd to 2.2.11, removed .htaccess rules but no use. can you guys suggest me any other ways of debugging pls? actually i am not a system administration guy. I am a php developer with little know

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

2009-03-27 Thread Joseph Morgan
I think you're right on B. A third web site (http://www.vizbizcardz.com) does not have the same problem. It's title is correct, and is hosted on the same server. Up until recently, I had VideoFortWorth pointing (purposefully) at ProSportsResumes while I finished up the site. It seems GoDadd

[us...@httpd] Communication between a reverse proxy server and an interal app server

2009-03-27 Thread YungWei.Chen
Hi, I'd like to set up a reverse proxy server which forwards requests to an internal app server. Both servers handles only ssl requests. And I have some questions. Thanks. * How many ssl certificates do I need in my current setup? 1 (for the proxy server) or 2 (for both the proxy

Re: [us...@httpd] Resource Centric Authz

2009-03-27 Thread Nick Kew
On 26 Mar 2009, at 11:48, Ben Davies wrote: For Authorization, I want each resource to have an owner and a group (like unix/linux), and I want each of these to restrict access based on the http method used to access the resource. For example; I have the resource article.html The owner of

Re: [us...@httpd] How to prevent a site to be grabbed ?

2009-03-27 Thread Krist van Besien
On Fri, Mar 27, 2009 at 3:00 PM, Mark H. Wood wrote: > If you must control how the file is used, you must arrange that only > software provided by you is able to make it usable, and that that > software has only the functions you specify.  This reduces the problem > from "impossible" to "impossib

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

2009-03-27 Thread Krist van Besien
On Fri, Mar 27, 2009 at 2:25 PM, Joseph Morgan wrote: > I think you're getting thereI hadn't thought of hitting with CURL... > > I use GoDaddy for hosting and DNS... I run my own server with > Apache/Tomcat. At GoDaddy, my forwarding is masked to my router's IP > (so you don't see the ip of th

Re: [us...@httpd] How to prevent a site to be grabbed ?

2009-03-27 Thread Mark H. Wood
Perhaps the closest analogy is with a document that must be shown to someone (say, a secret agent) but which he may not copy or carry away. You wouldn't do this by mail, which is roughly what an HTTP server represents. The agent is put in a room. An armed guard brings the document, waits while i

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

2009-03-27 Thread Joseph Morgan
I think you're getting thereI hadn't thought of hitting with CURL... I use GoDaddy for hosting and DNS... I run my own server with Apache/Tomcat. At GoDaddy, my forwarding is masked to my router's IP (so you don't see the ip of the server)... But, I don't see how GoDaddy can possibly man

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

2009-03-27 Thread Krist van Besien
On Fri, Mar 27, 2009 at 1:50 PM, Krist van Besien wrote: > There is probably nothing wrong with virtualhost config. There is > however probably something wrong with your html code. Have you checked > that? I've checked some more things, looking at what the server acutally returns: $ curl -v www

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

2009-03-27 Thread Joseph Morgan
Uh oh! I am missing something else. I have no HTML code like that anywhere! In fact, I don't use framesets at all!!! When the request hits the index.html at VideoFortWorth, this is the HTML there (And I really hope my email client doesn't mangle it): And... at ProSportsResume

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

2009-03-27 Thread Krist van Besien
When I request http://www.videofortworth.com/ I get: http://www.w3.org/TR/html4/strict.dtd";> ProSportsResumes http://68.113.201.224/VideoFortWorth"; frameborder="0" /> Notice how the title says "ProSportResumes" There is probably nothing wrong with virtualhost config. The

Re: [us...@httpd] HTTPS to HTTP proxy server that talks to a Jboss server running Tomcat...

2009-03-27 Thread Krist van Besien
On Fri, Mar 27, 2009 at 1:37 PM, Krist van Besien wrote: > On Fri, Mar 27, 2009 at 9:19 AM, Mike Lyon wrote: > >> So the problem I am having is that I can reach the site from the outside via >> the NAT'd IP of the proxy server but when I try to login to the app, it will >> come up and say, "your

Re: [us...@httpd] HTTPS to HTTP proxy server that talks to a Jboss server running Tomcat...

2009-03-27 Thread Krist van Besien
On Fri, Mar 27, 2009 at 9:19 AM, Mike Lyon wrote: > So the problem I am having is that I can reach the site from the outside via > the NAT'd IP of the proxy server but when I try to login to the app, it will > come up and say, "your session has timed out. Please try again." So I went > to the pro

Re: [us...@httpd] domain mixed up problem

2009-03-27 Thread J. Bakshi
Tom Evans wrote: > On Fri, 2009-03-27 at 15:05 +0530, J. Bakshi wrote: > >> Dear list, >> >> I have a remote server with 2 different domain pointing to the same >> server. I have configured some vhosts for these 2 domains. But I have >> found that the vhosts are working for both the domains. Fo

Re: [us...@httpd] domain mixed up problem

2009-03-27 Thread J. Bakshi
J. Bakshi wrote: Hello, I have found the problem. "apachectl -S" shows that domain.1 has ben taken as default server. hence it automatically goes to the default one when It can't match the url. I have created another vhost configuration file which is named as a.conf and in that file I have con

Re: [us...@httpd] domain mixed up problem

2009-03-27 Thread Tom Evans
On Fri, 2009-03-27 at 15:05 +0530, J. Bakshi wrote: > Dear list, > > I have a remote server with 2 different domain pointing to the same > server. I have configured some vhosts for these 2 domains. But I have > found that the vhosts are working for both the domains. For an example > say I have tw

[us...@httpd] domain mixed up problem

2009-03-27 Thread J. Bakshi
Dear list, I have a remote server with 2 different domain pointing to the same server. I have configured some vhosts for these 2 domains. But I have found that the vhosts are working for both the domains. For an example say I have two domains domain1.com and domain2.com Now two vhosts are sit

RE: [us...@httpd] How to prevent a site to be grabbed ?

2009-03-27 Thread Richard Peacock
.. but surely even if he uses this one-time method then the person who clicks the link for the mp3 file will still get the file? albeit with added server load as it is copied first then deleted - not to mention the additional script work that would be needed? Ultimately, there is no way to prot

[us...@httpd] HTTPS to HTTP proxy server that talks to a Jboss server running Tomcat...

2009-03-27 Thread Mike Lyon
Hello All, I ran into an issue today while I was configuring an HTTPS to HTTP proxy utilizing mod_ssl and mod-proxy. I am using the proxy server as my front-end SSL offloader. In front of the proxy is my router that is doing NAT. So the problem I am having is that I can reach the site from the ou

Re: [us...@httpd] mod_vhost_alias and DOCUMENT_ROOT

2009-03-27 Thread Lampa
Hello, that strange, have 2 other machines where DOCUMENT_ROOT points to right location, after migrating to new machine problem occurs 2009/3/26 Eric Covener : > On Thu, Mar 26, 2009 at 3:00 PM, Lampa wrote: > >>       VirtualDocumentRoot /var/www/domain.tld/home/%-3 > >> Everything woks ok (ins