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 address.

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

[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

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 a...@ice-sa.com 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]

[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

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 a...@ice-sa.com 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

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 http://192.168.0.100:8080/ ) then it's a port-forwarding or firewall issue. Perhaps check

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

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

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:

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 a...@ice-sa.com wrote: Justin Zhang wrote: Now only local address is working http://192.168.0.100:8080/ Besides myIPaddress, is there any other way to

[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

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

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: [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 a...@ice-sa.com 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

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 a...@ice-sa.com wrote: Justin Zhang wrote: My setup is exactly the

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

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

[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

[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 VirtualHost *:80 AllowEncodedSlashes On Alias /testsite /var/www/company/yyy/public Directory /var/www/company/yyy/public AllowOverride All Order allow,deny Allow from all

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

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/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

[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

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 VirtualHost *:80 ServerName ? AllowEncodedSlashes On DocumentRoot | | v Alias /testsite

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

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

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

[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

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

[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

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

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

2009-05-14 Thread Eric Covener
On Thu, May 14, 2009 at 8:15 PM, Stephen Love stephenl...@juno.com 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

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.

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

2009-05-14 Thread Eric Covener
On Thu, May 14, 2009 at 10:05 PM, Stephen Love stephenl...@juno.com 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 -

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

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

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