Re: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread J. Greenlees
Justin Zhang wrote: > Is my cofiguration right? > > Listen 192.168.0.100:80 > ServerName 24.78.136.243:80 > Listen *:8080 ServerName 24.78.136.243 Though the default for the ServerName directive, of not specifying or using it, works better for an apache installation with a dhcp driven ip addres

RE: [us...@httpd] Configuration of Tomcat 5.5 and Apache 2.2

2009-05-14 Thread Hracek, Petr
Sorry for mistification correct version which have been already were taken from jakarta-tomcat package When the tomcat is running and tomcat home page is /srv/www/tomcat55/base/webapps where should be applications passed How can I tell to tomcat that my application http://localhost:8080/PM/servl

[us...@httpd] rewrite and/or proxy question

2009-05-14 Thread André Warnier
Hi. I have an Apache 2.2 webserver set up with VHosts, one of them having a DocumentRoot structured as follows : DocumentRoot /var/www/company.com/docs disk : /var/www/company.com/docs /app1 /app2 /app3 These different areas /app1, /app2, /app3 have

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

2009-05-14 Thread André Warnier
Complement added at end. André Warnier wrote: Hi. I have an Apache 2.2 webserver set up with VHosts, one of them having a DocumentRoot structured as follows : DocumentRoot /var/www/company.com/docs disk : /var/www/company.com/docs /app1 /app2 /app3

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

2009-05-14 Thread Eric Covener
On Thu, May 14, 2009 at 6:57 AM, André Warnier wrote: > For example, would the following work, or am I forgetting something, doing > something bad, risk security bypasses, etc.. ? > > RewriteCond %{HTTP_HOST} app3.company.com > RewriteRule ^/$ /app3/ [L] > RewriteRule ^/app3/.+$ - [L] > RewriteRu

[us...@httpd] P3P policy for each virtual host

2009-05-14 Thread Paras Fadte
Hi, Is it possible to set different P3P policy for each of the virtual hosts defined in Apache ? Thank you. -Paras - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/usersli

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

2009-05-14 Thread André Warnier
Eric Covener wrote: On Thu, May 14, 2009 at 6:57 AM, André Warnier wrote: For example, would the following work, or am I forgetting something, doing something bad, risk security bypasses, etc.. ? RewriteCond %{HTTP_HOST} app3.company.com RewriteRule ^/$ /app3/ [L] RewriteCond %{HTTP_HOST} app

Re: [us...@httpd] P3P policy for each virtual host

2009-05-14 Thread Tom Evans
On Thu, 2009-05-14 at 16:58 +0530, Paras Fadte wrote: > Hi, > > Is it possible to set different P3P policy for each of the virtual > hosts defined in Apache ? > > Thank you. > > -Paras > Yes. P3P is set either by including the info in an abbreviated form in a header, or by including a header

RE: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread Richard Peacock
Hello It's still not working: "The server at 24.78.136.243 is taking too long to respond." That's from http://24.78.136.243:8080/ If it works from your internal network (ie http://192.168.0.100:8080 ) then it's a port-forwarding or firewall issue. Perhaps ch

Re: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread Justin Zhang
Now only local address is working http://192.168.0.100:8080/ Besides myIPaddress, is there any other way to check my external IP address. Since I got different IPs with and without Phone adapter. 24.78.136.243 is with phone adapter, and the other one is 24.78.147.173. I donot know which one is ri

Re: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread André Warnier
Justin Zhang wrote: Now only local address is working http://192.168.0.100:8080/ Besides myIPaddress, is there any other way to check my external IP address. Since I got different IPs with and without Phone adapter. 24.78.136.243 is with phone adapter, and the other one is 24.78.147.173. I dono

RE: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread Richard Peacock
www.whatismyipaddress.com Your router should also show the external/public IP but on my Smoothwall it gives me a different one to what it really is lol so use that website above! Rich -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: 14 May 2009 16:57 To: users@htt

Re: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread Justin Zhang
You can see the diagram in the link http://en.wikipedia.org/wiki/File:Voip-typical.gif Thanks On Thu, May 14, 2009 at 8:57 AM, André Warnier wrote: > Justin Zhang wrote: > >> Now only local address is working http://192.168.0.100:8080/ >> >> Besides myIPaddress, is there any other way to check m

[us...@httpd] Shared DavLockDB between servers?

2009-05-14 Thread Brian McElroy
Is it possible to share the DavLockDB between more than one apache server? I'd like to use two apache servers for webdav and load balance between them, but I also need consistent file locking between them. Each one mounts the web root over NFS. I've tried pointing the DavLockDB to a sha

Re: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread André Warnier
Ok, seen. Is that *exactly* your setup ? (if not, tell us what is different compared to the picture) Also, when you talk below of "with and without Phone adapter", what do you mean exactly ? are you switching the cables around, turning something on or off, or what ? Also, when you talk about

Re: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread Justin Zhang
My setup is exactly the same as the link picture. I try connect routher via phone adapter and bypass phone adapter (direcly to DSL modem, i.e. taking phone adapter off) I got two different IPs from myIPaddress.com. My routher is D-Link DI-524 wireless router Thanks On Thu, May 14, 2009 at 9:24 A

Re: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread André Warnier
Justin Zhang wrote: My setup is exactly the same as the link picture. I try connect routher via phone adapter and bypass phone adapter (direcly to DSL modem, i.e. taking phone adapter off) I got two different IPs from myIPaddress.com. My routher is D-Link DI-524 wireless router Allright. I re

Re: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread Justin Zhang
Ip address is 192.168.0.1 On Thu, May 14, 2009 at 10:57 AM, André Warnier wrote: > Justin Zhang wrote: > >> My setup is exactly the same as the link picture. >> >> I try connect routher via phone adapter and bypass phone adapter (direcly >> to >> DSL modem, i.e. taking phone adapter off) I got t

Re: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread André Warnier
Justin Zhang wrote: Ip address is 192.168.0.1 Justin, I am sorry but I give up. The IP address above makes no sense as a WAN IP, so I have no idea what your problem is. On Thu, May 14, 2009 at 10:57 AM, André Warnier wrote: Justin Zhang wrote: My setup is exactly the same as the link

Re: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread Evan Platt
At 11:28 AM 5/14/2009, you wrote: Ip address is 192.168.0.1 *sigh*... Can we please take this thread off list if there's someone willing to help the OP offline? (I don't unfortunately have the time to do so now).. But I mean serious - this is about 40+ messages in just over 24 hours, and onl

Re: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread Frank Gingras
My thoughts, exactly. Have him hire a local geek for 15 minutes, and get this over with. Frank. Evan Platt wrote: At 11:28 AM 5/14/2009, you wrote: Ip address is 192.168.0.1 *sigh*... Can we please take this thread off list if there's someone willing to help the OP offline? (I don't unfort

[us...@httpd] Limiting Connections for a Virtual Host

2009-05-14 Thread Chris Nagele
We run a service that handles tens of thousands of virtual hosts across a bunch of servers. We recently ran in to a problem where one customer was hitting a server, with over 7000 connection attempts in a 3 - 4 hour period. The way it is setup now, each customer has its own virtual host in Apache.

[us...@httpd] VirtualHost with no ServerName in 2.2.11

2009-05-14 Thread Tony Ser
Hi, We are developing a web application and need to create a website. The testsite.conf contains Namevirtualhost *:80 AllowEncodedSlashes On Alias /testsite "/var/www/company/yyy/public" AllowOverride All Order allow,deny Allow from all We don't want to specify a fix IP Address, so we leave

Re: [us...@httpd] Limiting Connections for a Virtual Host

2009-05-14 Thread Justin Pasher
Chris Nagele wrote: We run a service that handles tens of thousands of virtual hosts across a bunch of servers. We recently ran in to a problem where one customer was hitting a server, with over 7000 connection attempts in a 3 - 4 hour period. The way it is setup now, each customer has its own v

Re: [us...@httpd] Need help testing my apache server from internet

2009-05-14 Thread Evan Platt
At 12:50 PM 5/14/2009, you wrote: The IP address is http://24.78.150.134:8080/ I totally take off both router and phone adapter and connect directly to modem. Please don't create a new thread. You already have about 40 replies on your previous thread. " It works

Re: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread André Warnier
Well, yes. It was just my Apache evangelist streak at work. But this is definitely not an Apache issue. Frank Gingras wrote: My thoughts, exactly. Have him hire a local geek for 15 minutes, and get this over with. Frank. Evan Platt wrote: At 11:28 AM 5/14/2009, you wrote: Ip address is 192

[us...@httpd] Mass Config with mod_dav_svn

2009-05-14 Thread Chris Nagele
We currently have apache configs that contain thousands of virtual hosts. For a long time we have been looking for a Mass Config solution. The problem is, we have not found one that can work with mod_dav_svn. Most of the virtual hosts handle https svn connections. Does anyone know of a way to do t

Re: [us...@httpd] VirtualHost with no ServerName in 2.2.11

2009-05-14 Thread André Warnier
Tony Ser wrote: Hi, We are developing a web application and need to create a website. The testsite.conf contains Namevirtualhost *:80 ServerName ? AllowEncodedSlashes On DocumentRoot | | v Alias /testsite "/var/www/company/yyy

Re: [us...@httpd] Limiting Connections for a Virtual Host

2009-05-14 Thread Chris Nagele
> Check out mod_limitipconn. You can limit globally or per virtual host > (whether the "IP address pool" it tracks is virtual host specific, I'm, not > sure). > > http://www.dominia.org/djao/limitipconn.html Thanks Justin. We will check this out. --

RE: [us...@httpd] VirtualHost with no ServerName in 2.2.11

2009-05-14 Thread Tony Ser
Thanks for the reply. What we are trying to do is to create a new vhost without disrupting the default settings. So that http://localhost/whatever/... Follow the default setup while http://localhost/testsite/... Will refer to /var/www/company/yyy/public I did look into the suggested link but m

Re: [us...@httpd] VirtualHost with no ServerName in 2.2.11

2009-05-14 Thread André Warnier
Tony Ser wrote: Thanks for the reply. What we are trying to do is to create a new vhost without disrupting the default settings. So that http://localhost/whatever/... Follow the default setup while http://localhost/testsite/... Will refer to /var/www/company/yyy/public I did look into the su

Re: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread Jonas Eckerman
Justin Zhang wrote: I try connect routher via phone adapter and bypass phone adapter (direcly to DSL modem, i.e. taking phone adapter off) I got two different IPs from myIPaddress.com. This could be because you have get dynamic IP with DHCP. A possible scenario: First the phone adapter get

[us...@httpd] best practices for mod_rewrite

2009-05-14 Thread LoD MoD
Hi List,Is the best practice for using rewrites in multiple areas of a site to use .htaccess files? What if the destination URL is dynamic? Create a skeleton directory? Thanks.

Re: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread Stephen Love
I have also found the modem equipment they supply from your provider also has an IDENTIFIER that is equivelant to an IP address... in other words, they TELL you that you have a DYNAMIC IP when there is a SEPARATE STATIC IP identifying your EQUIPMENT... use THAT instead! If you press them HARD e

Re: [us...@httpd] VirtualHost with no ServerName in 2.2.11

2009-05-14 Thread Stephen Love
I run virtualhost with 18 sitenames, each having its own subdirectory system, running off of ONE server, all with the SAME IP address, just different names. SOME referenced from a DYNAMIC NAME SERVER, some static... AND multiple names could come to the SAME site, and based on the NAME could be

Re: [us...@httpd] best practices for mod_rewrite

2009-05-14 Thread William A. Rowe, Jr.
LoD MoD wrote: > Hi List, > Is the best practice for using rewrites in multiple areas of a site to > use .htaccess files? Best practices in httpd disavow all use of .htaccess for performance, security and maintenance rationals. -

[us...@httpd] Switching from mod_jk to mod_proxy has weird effect on mod_alias?

2009-05-14 Thread Nicholas Wheeler
Heya users, I've got a VirtualHost definition with about 68 mod_alias Redirect lines. I've been using mod_jk to connect to JBoss, but I'm trying to switch over to mod_proxy...however, when I do, my Redirect's no longer work. The entire site works with mod_proxy, except the Redirects stop workin

Re: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread Evan Platt
At 05:15 PM 5/14/2009, you wrote: I have also found the modem equipment they supply from your provider also has an IDENTIFIER that is equivelant to an IP address... in other words, they TELL you that you have a DYNAMIC IP when there is a SEPARATE STATIC IP identifying your EQUIPMENT... use THA

Re: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread Eric Covener
On Thu, May 14, 2009 at 8:15 PM, Stephen Love wrote: > > I have also found the modem equipment they supply from your provider also > has an IDENTIFIER that is equivelant to an IP address... in other words, > they TELL you that you have a DYNAMIC IP when there is a SEPARATE STATIC IP > identifying

Re: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread Stephen Love
Shirley, you jest... how else could an equipment identify itself when turned on... I pressed COX CABLE after PURCASING DYNAMIC BUSINESS CABLE connection, only to find that they identified your EQUIPMENT before assigning a DYNAMIC IP from the pool... but already HAD a PERMANENT EQUIPMENT IP. They

Re: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread Eric Covener
On Thu, May 14, 2009 at 10:05 PM, Stephen Love wrote: > Shirley, you jest... how else could an equipment identify itself when turned > on... A MAC address is a good start. -- Eric Covener cove...@gmail.com - The official User-

Re: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread Evan Platt
At 07:05 PM 5/14/2009, you wrote: Shirley, you jest... how else could an equipment identify itself when turned on... I pressed COX CABLE after PURCASING DYNAMIC BUSINESS CABLE connection, only to find that they identified your EQUIPMENT before assigning a DYNAMIC IP from the pool... but alread

RE: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread Gund Wehsling
Just a consideration As far as I know, ADSL uses PPPoA http://en.wikipedia.org/wiki/Pppoa. This is how the ISP can have you authenticate before giving you an IP address and consequently, you can be denied access before a 'connection' can be made. Of course, the 'connection' is IP, which the

RE: [us...@httpd] Fwd: Home Web Server

2009-05-14 Thread Evan Platt
That's correct.. There's layer 2 and then there's layer 3. The initial connection to most ISP's take place with the MAC address, and use arp traffic - it's not IP based. Also, your DSL modem won't work with another ISP because the languages spoken (simplistic terms) by the modems to the ISP ar

Re: [us...@httpd] P3P policy for each virtual host

2009-05-14 Thread Paras Fadte
So following would show the privacy report using the file /w3c/a/p3p.xml file for a.com and /w3c/b/p3p.xml for b.com ? ServerName a.com CustomLog "|/home/apache/bin/rotatelogs /home/apache/logs/access_log.a.com 300" ErrorLog /home/apache/logs/error_log.a.com Header set P3P "C

[us...@httpd] .htaccess force download not working

2009-05-14 Thread J. Bakshi
Dear list, I like to force download the pdf and mp3 files from a site. To achieve this I have added the line in .htaccess AddType application/octet-stream .pdf AddType application/octet-stream .mp3 But it is not working with IE7, opera-9 but sometime firefox honor the setting. How can I make all