[EMAIL PROTECTED] Rewrite rule - Check by file exist...

2008-10-01 Thread howard chen
Hello, Is it possible to do the following, just using sort of rewrite rules in httpd.conf, E.g.http://www.example.com/foo ALGO: If a file foo.html exist rewrite to target.html Else 404 not found The foo is just a dynamic variables... Thanks.

Re: [EMAIL PROTECTED] Proxy to Tomcat AJP

2008-10-01 Thread George Mashini
Jorge, Thank you for the feedback. I was going to look at the native APR once I got everything configured correctly. Is this necessary for running the AJP connector? Does anyone run Apache to Tomcat in production? If so, can you please share your experience and some feedback on how you configu

Re: [EMAIL PROTECTED] Running Multiple Windows Services on port 8080

2008-10-01 Thread EJMcLeod
That is wild dude. I have never had an isp home or business that doesn't support port 80 listening. Now I have been more than limited at times with other ports but with the proper applications and servers installed I don't think I have ever been unable to use a port.

Re: [EMAIL PROTECTED] Running Multiple Windows Services on port 8080

2008-10-01 Thread Brian Mearns
That's pretty wild that they don't even let businesses host their own sites. I'd complain to them long before I complain to dyndns. They must have some account that lets you use port 80, right? -Brian On Wed, Oct 1, 2008 at 7:20 AM, <[EMAIL PROTECTED]> wrote: > Brian, > tried my.domain.com to my

Re: [EMAIL PROTECTED] Running Multiple Windows Services on port 8080

2008-10-01 Thread jwberger
Jay, That is not the problem I am having. All of our DMZ sites sit behind a Load Balance switch and all run on port 8080. Our public facing domain names\IP addresses (Public URL's) are housed on the Load Balance switch and run on port 80. When someone hits our Public url, they hit the LB switc

Re: [EMAIL PROTECTED] Running Multiple Windows Services on port 8080

2008-10-01 Thread jwberger
William, I installed three separate Windows services, with each using its own config file, doc root and logfiles. Within each config file I specified one of three IP addresses at port 8080 and specified the Virtual Host, doc root, logfiles, etc. I tested it out and when I started one of the ser

[EMAIL PROTECTED] http-equiv="refresh" ignored?

2008-10-01 Thread Kynn Jones
I am trying to debug a large Perl/CGI-based legacy system that is not working right on some browsers, like Firefox 3. It runs on an Ubuntu host with Apache 2.2.3. I reduced the problem to a very simple case, in the form of a short Perl CGI script. This script has the following logical structure

Re: [EMAIL PROTECTED] Running Multiple Windows Services on port 8080

2008-10-01 Thread William A. Rowe, Jr.
jwberger wrote: > I did that but it still seemed like if I had only one windows service it > started all three sites no matter what. I install a new service that used > one of the ip:8080 for its listening address. It used a different logfile, > error file and document root. However, when I star

Re: [EMAIL PROTECTED] Apache not executing Perl script,but perl script is getting downloaded.

2008-10-01 Thread Nilesh Govindrajan
I tested it on apache and found that it doesn't work. This method is successful in running php-cgi. Use mod_perl instead of CGI-perl. It gives better performance. On Wed, Oct 1, 2008 at 6:38 PM, Prathima Dandapani -X (pdandapa - HCL at Cisco) <[EMAIL PROTECTED]> wrote: > Hi Nilesh, > >

[EMAIL PROTECTED] how to make single project root location, but still enable /trac for all projects?

2008-10-01 Thread George Nychis
Hi all, I am trying to configure my trac environment and apache server such that a single trac project is my root location, but a user can still access location /trac for a list of projects or /trac/PROJECT to reach PROJECT. What I am trying is: SetHandler mod_python PythonHandler trac.w

Re: [EMAIL PROTECTED] SSl question

2008-10-01 Thread Justin Pasher
manning allan wrote: Forgive me for being stupid, but I cannot find in the documentation, nor can I find the list archives. I know I am rather new to this, and I do not want to be spoon fed, but a little direction would be helpful. I have successfully added virtual hosts to my Windows box,

Re: [EMAIL PROTECTED] mod_rewrite double escaping query strings

2008-10-01 Thread Justin Pasher
Tom Evans wrote: Hi all. I'm encountering a problem with using mod_rewrite in httpd 2.2.9 to canonicalize the server name. The problem is that the query string seems to be double escaped by this process. Here is a sample vhost that triggers the issue: ServerName sweetums ServerAlias fo

RE: [EMAIL PROTECTED] Proxy to Tomcat AJP

2008-10-01 Thread Jorge Medina
Not sure if this help: Are you using Tomcat Native Library (based in APR too)? It would allow you to specify some parameters of the AJP connector. http://tomcat.apache.org/tomcat-6.0-doc/printer/apr.html -Jorge From: George Mashini [mailto:[EMAI

RE: [EMAIL PROTECTED] SSl question

2008-10-01 Thread Jorge Medina
Just configure SSL inside the as you would do for the whole server. From: manning allan [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2008 8:08 AM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] SSl question Forgive me for being stupi

Re: [EMAIL PROTECTED] Running Multiple Windows Services on port 8080

2008-10-01 Thread jwberger
Okay, I figured out what I was doing wrong. For the Listen Address, I only had the port number. Therefore, when I started the service it would listening on port 8080 at any IP address the server had bound to it. "Stupid Me" When I changed it to be IP:port only the website that was configured in

[EMAIL PROTECTED] mod_rewrite double escaping query strings

2008-10-01 Thread Tom Evans
Hi all. I'm encountering a problem with using mod_rewrite in httpd 2.2.9 to canonicalize the server name. The problem is that the query string seems to be double escaped by this process. Here is a sample vhost that triggers the issue: ServerName sweetums ServerAlias foofoo DocumentR

RE: [EMAIL PROTECTED] Apache not executing Perl script,but perl script is getting downloaded.

2008-10-01 Thread Prathima Dandapani -X (pdandapa - HCL at Cisco)
Hello Nick, Thanks for the details.I have attached the downloaded perl file that has some other content in it. Let me know your suggestions. Thanks, Prathima. -Original Message- From: Nick Kew [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2008 6:37 PM To:

RE: [EMAIL PROTECTED] Apache not executing Perl script,but perl script is getting downloaded.

2008-10-01 Thread Prathima Dandapani -X (pdandapa - HCL at Cisco)
Hi Nilesh, Thanks for your suggestion. Inorder to use Action directive,should i copy the perl binary to cgi-bin directory? Thanks, Prathima _ From: Nilesh Govindrajan [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2008 6:20 PM To: users@httpd.apac

Re: [EMAIL PROTECTED] Apache not executing Perl script,but perl script is getting downloaded.

2008-10-01 Thread Nick Kew
On Wed, 1 Oct 2008 18:25:24 +0530 "Prathima Dandapani -X \(pdandapa - HCL at Cisco\)" <[EMAIL PROTECTED]> wrote: > Hello frank, > > I removed Option ExecCGI and also mod_cgi is loaded.But still > facing the issue. > I have an html file,which on submitting,calls one perl file > for

RE: [EMAIL PROTECTED] Apache not executing Perl script,but perl script is getting downloaded.

2008-10-01 Thread Prathima Dandapani -X (pdandapa - HCL at Cisco)
Hello frank, I removed Option ExecCGI and also mod_cgi is loaded.But still facing the issue. I have an html file,which on submitting,calls one perl file for execution,but instead perl file is getting downloaded with some other content in it. Thanks for your help. Thanks, Pr

Re: [EMAIL PROTECTED] Apache not executing Perl script,but perl script is getting downloaded.

2008-10-01 Thread Nilesh Govindrajan
I'd rather say use mod_actions. Link your perl binary to cgi-bin and specify Options +FollowSymLinks in cgi-bin directory configuration. Then use this - AddHandler perl-script .pl Action perl-script /cgi-bin/perl-bin This will interpret .pl anywhere found using the perl binary interpreter. But t

RE: [EMAIL PROTECTED] SSl question

2008-10-01 Thread manning allan
Forgive me for being stupid, but I cannot find in the documentation, nor can I find the list archives. I know I am rather new to this, and I do not want to be spoon fed, but a little direction would be helpful. I have successfully added virtual hosts to my Windows box, and have them functioning.

Re: [EMAIL PROTECTED] Apache not executing Perl script,but perl script is getting downloaded.

2008-10-01 Thread Francois Gingras
Hello, With ScriptAlias, you don't actually need Option (+)ExecCGI. You simply need to allow access to that directory. Also, make sure that the mod_cgi module is loaded, and you should be good to go. Frank On Wed, Oct 1, 2008 at 8:01 AM, Prathima Dandapani -X (pdandapa - HCL at Cisco) <[EMAIL P

Re: [EMAIL PROTECTED] Running Multiple Windows Services on port 8080

2008-10-01 Thread jwberger
I did that but it still seemed like if I had only one windows service it started all three sites no matter what. I install a new service that used one of the ip:8080 for its listening address. It used a different logfile, error file and document root. However, when I started the service I could

[EMAIL PROTECTED] Apache not executing Perl script,but perl script is getting downloaded.

2008-10-01 Thread Prathima Dandapani -X (pdandapa - HCL at Cisco)
Hello All, I have Apache 2.2.9 running.Perl script is not getting executed,but it is getting downloaded.Here is the configuration done for executing perl scripts. ScriptAlias /cgi-bin/ "C:/PROGRA~1/CSCOpx/cgi-bin/" AllowOverride None Options ExecCGI AddHandler cgi-sc

Re: [EMAIL PROTECTED] Running Multiple Windows Services on port 8080

2008-10-01 Thread jg6789
Brian, tried my.domain.com to my.domain.com:8080. doesnt work only allows IP:PORT. btw Cox internet out here even with a business account blocks port 80. - Original Message - From: "Brian Mearns" <[EMAIL PROTECTED]> To: Sent: Wednesday, October 01, 2008 3:40 AM Subject: Re: [EMAIL PR

Re: [EMAIL PROTECTED] Running Multiple Windows Services on port 8080

2008-10-01 Thread Brian Mearns
As far as I know, dyndns gives you an actual DNS lookup, so when someone types your subdomain into their browser, it does a DNS lookup, and gets the IP address you gave to dyndns. That's why port numbers work, it's not that dyndns is listening on every port and forwarding based on the requested sub

Re: [EMAIL PROTECTED] How can I uninstall Apache2 from Windows98?

2008-10-01 Thread solprovider
On 9/28/08, Luke Turner <[EMAIL PROTECTED]> wrote: > HTTPD.EXE won't shut down when I turn my computer off. And I see no > mechanism by which I could properly shut it down. I keep having to do an > "end task" on it. Google search on this problem indicates that Apache2 > simply isn't right for Windo