RE: [us...@httpd] modrewrite help needed....plz :(

2009-05-13 Thread Karthik Nanjangude
Hi This is what I did to http.conf I now wanted to use *.jsp instead of *.html RewriteEngine on RewriteLog C:/APACHE/logs/rewrite.log RewriteLogLevel 9 RewriteRule ^SEARCH\index.jsp$ /SEARCH/index.jsp?area1=sq [NC,L] I have cleared the cache, restarted the APACHE server On the URL when I

Re: [us...@httpd] Re: RAM problem w/ multiple Apache processes

2009-05-13 Thread Nick Kew
On 13 May 2009, at 05:13, Rex C. Eastbourne wrote: This is probably for thread-safety reasons. Maybe you can just remove mod_php and use PHP-as-cgi (or fastcgi). Thanks, Eric. I kept the apache2-mpm-worker package and installed php5-cgi. Then you need to run your scripts as CGI (follow CGI

Re: [us...@httpd] modrewrite help needed....plz :(

2009-05-13 Thread Nick Kew
On 13 May 2009, at 05:23, Karthik Nanjangude wrote: I need the modrewriteto rewrite as “index.html?area1=sq” when some body types “ http://IP/SEARCH Have I done any thing wrong in modrewrite in http.conf ?….. Your rewriterule can never match. Keep it simple - drop mod_rewrite,

RE: [us...@httpd] modrewrite help needed....plz :(

2009-05-13 Thread Tom Evans
On Wed, 2009-05-13 at 11:52 +0530, Karthik Nanjangude wrote: Hi This is what I did to http.conf I now wanted to use *.jsp instead of *.html RewriteEngine on RewriteLog C:/APACHE/logs/rewrite.log RewriteLogLevel 9 RewriteRule ^SEARCH\index.jsp$ /SEARCH/index.jsp?area1=sq [NC,L]

Re: [us...@httpd] Re: conf file: changing domains

2009-05-13 Thread Matus UHLAR - fantomas
On 11.05.09 15:47, kp_stv wrote: I tried Matus suggestion: Redirect permanent / http://www.b-of-a.com/ but it does not work, unless it matches exactly. In other words, http://www.olddomain.com/ is replaced by http://www.newdomain.com/ as desired, but http://www.olddomain.com/about.html

RE: [us...@httpd] modrewrite help needed....plz :(

2009-05-13 Thread Karthik Nanjangude
Hi With the Rewrite as defined in httpd.conf RewriteRule ^SEARCH\index.jsp$ /SEARCH/index.jsp?area1=sq [NC,L] I expected that http://10.10.21.170/SEARCH/index.jsp; would be replaced with http://10.10.21.170/SEARCH/index.jsp?area1=sq; If any thing wrong plz correct me With regards

Re: [us...@httpd] modrewrite help needed....plz :(

2009-05-13 Thread Eric Covener
On Wed, May 13, 2009 at 4:42 AM, Karthik Nanjangude karthik.nanjang...@xius-bcgi.com wrote: Hi With the Rewrite as defined in httpd.conf RewriteRule ^SEARCH\index.jsp$ /SEARCH/index.jsp?area1=sq [NC,L] I expected that http://10.10.21.170/SEARCH/index.jsp;  would be replaced with

Re: [us...@httpd] modrewrite help needed....plz :(

2009-05-13 Thread Rich Bowen
On May 13, 2009, at 04:42, Karthik Nanjangude wrote: RewriteRule ^SEARCH\index.jsp$ /SEARCH/index.jsp?area1=sq [NC,L] I expected that http://10.10.21.170/SEARCH/index.jsp; would be replaced with http://10.10.21.170/SEARCH/index.jsp?area1=sq; In addition to what Eric said, if you have

Re: [us...@httpd] modrewrite help needed....plz :(

2009-05-13 Thread André Warnier
Karthik Nanjangude wrote: Hi OS / WINDOWS 2000 MODJK: mod_jk-1.2.28-httpd-2.2.3.so APACHE: APACHE_2.2.11-win32-x86-no_ssl.msi APPSERVER : JBOSS 4.2.1 JAVA: JDK5.0.8 USED TYPE : INTRANET Thanks for mentioning that. Always useful, saves time. I have done the following changes in

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

2009-05-13 Thread Justin Zhang
My apache web server is connected as the diagram through DLink router,Phone adapter and Shaw cable modem. http://en.wikipedia.org/wiki/File:Voip-typical.gif Question, I can brower my web site by http://192.168.0.100/ within local network. How can I browse my web site from computer over internet?

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

2009-05-13 Thread Eric Covener
On Wed, May 13, 2009 at 10:25 AM, Justin Zhang justinzhang1...@gmail.com wrote: My apache web server is connected as the diagram through DLink router,Phone adapter and Shaw cable modem. http://en.wikipedia.org/wiki/File:Voip-typical.gif Question, I can brower my web site by

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

2009-05-13 Thread Griffith, Michael *
Isn't it possible the router doesn't know how to route the inbound request from the internet IP? Most/all routers have a configuration interface accessible via a browser. If you can get to the configuration, make sure that port 80 is open, and that the router is forwarding the request to the

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

2009-05-13 Thread Justin Zhang
Thank you for the quick reply. How do I know which external IP address is right. I got 2 different address from myIPaddress with without phone router. 24.78.136.243 and 24.78.147.173. Is my configuration right? ServerName 24.78.147.173:80 Thanks Justin On Wed, May 13, 2009 at 7:38 AM, Eric

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

2009-05-13 Thread Justin Zhang
My configuration is Listen 192.168.0.100:80 On Wed, May 13, 2009 at 7:43 AM, Griffith, Michael * michael.griff...@fda.hhs.gov wrote: Isn't it possible the router doesn't know how to route the inbound request from the internet IP? Most/all routers have a configuration interface accessible via

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

2009-05-13 Thread Frank Gingras
Some routers can re-route packets to the internal network, some can't. If your router cannot do this, you must use the internal IP of your server. See the documentation on your operating system to obtain that IP. Frank. Griffith, Michael * wrote: Isn't it possible the router doesn't know

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

2009-05-13 Thread Justin Zhang
Do you mean ipconfig? I got 192.168.0.100 for my server computer On Wed, May 13, 2009 at 7:47 AM, Frank Gingras francois.ging...@gmail.comwrote: Some routers can re-route packets to the internal network, some can't. If your router cannot do this, you must use the internal IP of your server.

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

2009-05-13 Thread André Warnier
Justin Zhang wrote: Thank you for the quick reply. How do I know which external IP address is right. I got 2 different address from myIPaddress with without phone router. 24.78.136.243 and 24.78.147.173. Is my configuration right? ServerName 24.78.147.173:80 Justin, there are 2 separate

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

2009-05-13 Thread Lester Caine
Justin Zhang wrote: Thank you for the quick reply. How do I know which external IP address is right. I got 2 different address from myIPaddress with without phone router. 24.78.136.243 and 24.78.147.173. Is my configuration right? ServerName 24.78.147.173:80 http://24.78.147.173:80 Both

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

2009-05-13 Thread Justin Zhang
On Wed, May 13, 2009 at 7:58 AM, André Warnier a...@ice-sa.com wrote: Justin Zhang wrote: Thank you for the quick reply. How do I know which external IP address is right. I got 2 different address from myIPaddress with without phone router. 24.78.136.243 and 24.78.147.173. Is my

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

2009-05-13 Thread Lester Caine
Justin Zhang wrote: Do you mean ipconfig? I got 192.168.0.100 for my server computer That is a private IP address and is never used outside a site. You nned to 'map' that to the internet side of your router - if it can handle such a thing. -- Lester Caine - G8HFL

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

2009-05-13 Thread Justin Zhang
How to open a port to allow the local web site out? Thanks On Wed, May 13, 2009 at 8:06 AM, Lester Caine les...@lsces.co.uk wrote: Justin Zhang wrote: Thank you for the quick reply. How do I know which external IP address is right. I got 2 different address from myIPaddress with without

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

2009-05-13 Thread Justin Zhang
I did already from DLink configuration page On Wed, May 13, 2009 at 8:08 AM, Lester Caine les...@lsces.co.uk wrote: Justin Zhang wrote: Do you mean ipconfig? I got 192.168.0.100 for my server computer That is a private IP address and is never used outside a site. You nned to 'map' that to

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

2009-05-13 Thread Mark H. Wood
On Wed, May 13, 2009 at 08:10:01AM -0700, Justin Zhang wrote: How to open a port to allow the local web site out? Consult the instructions that came with your router. Every one of them is different. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Friends don't let friends publish

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

2009-05-13 Thread Frank Gingras
Justin, See: www.portforward.com Frank Justin Zhang wrote: How to open a port to allow the local web site out? Thanks On Wed, May 13, 2009 at 8:06 AM, Lester Caine les...@lsces.co.uk wrote: Justin Zhang wrote: Thank you for the quick reply. How do I know which external IP

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

2009-05-13 Thread André Warnier
Hi. We are making some progress. First thing to try : turn off your router, wait 30 sec, turn it back on. Do you still have the same external IP address ? Second thing to try : when you are sure that you still have the same external IP address (or it has changed, and then tell us), you should

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

2009-05-13 Thread J. Greenlees
Justin Zhang wrote: My apache web server is connected as the diagram through DLink router,Phone adapter and Shaw cable modem. http://en.wikipedia.org/wiki/File:Voip-typical.gif Question, I can brower my web site by http://192.168.0.100/ within local network. How can I browse my web site

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

2009-05-13 Thread Justin Zhang
Is my cofiguration right? Listen 192.168.0.100:80 ServerName 24.78.136.243:80 On Wed, May 13, 2009 at 9:32 AM, J. Greenlees li...@jaqui-greenlees.netwrote: Justin Zhang wrote: My apache web server is connected as the diagram through DLink router,Phone adapter and Shaw cable modem.

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

2009-05-13 Thread Francois Gingras
Justin, 1) You should not use the port in the ServerName 2) those directives will not fix the original issue, as outlined in this thread. Did you have to a chance to read www.portforward.com? Frank On Wed, May 13, 2009 at 1:36 PM, Justin Zhang justinzhang1...@gmail.com wrote: Is my

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

2009-05-13 Thread Justin Zhang
It is fixed IP address *24.78.136.243* Could you help me test from your side? Thanks, On Wed, May 13, 2009 at 8:24 AM, André Warnier a...@ice-sa.com wrote: Hi. We are making some progress. First thing to try : turn off your router, wait 30 sec, turn it back on. Do you still have the

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

2009-05-13 Thread Evan Platt
# telnet 24.78.136.243 80 Trying 24.78.136.243... telnet: connect to address 24.78.136.243: Connection refused telnet: Unable to connect to remote host Did you change the port as J. Greenlees suggested? At 10:58 AM 5/13/2009, you wrote: It is fixed IP address 24.78.136.243 Could you help me

RE: [us...@httpd] authentication question

2009-05-13 Thread Emmanuel Bailleul
Just a side note : Apache should be able to do form authentication soon (?) : http://httpd.apache.org/docs/trunk/mod/mod_auth_form.html Emmanuel (...) I've seen mention of apache using a login page, rather than the usual popup. Is there a way to do that? It might have a nicer feel for users.

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

2009-05-13 Thread Justin Zhang
I am not sure where to change the port I tried to change Listen 192.168.0.100:80 -- 192.168.0.100:8080. Even internal IP is not working. On Wed, May 13, 2009 at 11:12 AM, Evan Platt e...@espphotography.comwrote: # telnet 24.78.136.243 80 Trying 24.78.136.243... telnet: connect to address

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

2009-05-13 Thread André Warnier
Justin Zhang wrote: Is my cofiguration right? Listen 192.168.0.100:80 ServerName 24.78.136.243:80 Not entirely. Simplify : Listen 80 ServerName 24.78.136.243 Some tips : - do not make changes to the configuration unless you know exactly why you are making them, and what you are doing. -

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

2009-05-13 Thread Justin Zhang
http://192.168.0.100:8080 is working for me now. Could you help try my external IP *24.78.136.243* Thanks, On Wed, May 13, 2009 at 11:28 AM, Frank Gingras francois.ging...@gmail.comwrote: Justin, You'll need to use http://192.168.0.100:8080 from your internal machines, after you restarted

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

2009-05-13 Thread André Warnier
Justin Zhang wrote: http://192.168.0.100:8080 is working for me now. Could you help try my external IP *24.78.136.243* Thanks, Doesn't work : connection refused. I believe now is time for a pause to think. When we connect from outside to the address 24.78.136.243, we in fact connect to

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

2009-05-13 Thread Justin Zhang
Thank you for the tips. I have to clarify my current configuration Listen 8080 ServerName 24.78.136.243 Now both http://192.168.0.100/ and http://192.168.0.100:8080/ are working. Still need testing external IP 24.78.136.243. On Wed, May 13, 2009 at 11:33 AM, André Warnier a...@ice-sa.com

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

2009-05-13 Thread Justin Zhang
Current router configuration Virtual Server HTTP 192.168.0.100 TCP 8080/8080 Always Private port and public port are all 8080. Before it is 80/80 for port 80 On Wed, May 13, 2009 at 11:46 AM, André Warnier a...@ice-sa.com wrote: Justin Zhang wrote: http://192.168.0.100:8080 is working for