[EMAIL PROTECTED] htpasswd

2007-02-11 Thread Tony Morris
I have a single users file that is output from htpasswd/2 and I'm looking for a web application that allows users to authenticate and change their password in the users file. I apologise if it seems like I'm asking a 'just google it' question, but there are *so* many choices and I've already been

Re: [EMAIL PROTECTED] Help with mod_rewrite

2007-02-11 Thread Bob
Frank Arensmeier wrote: The problem is when a user requests a URL like: http://myserver.com/en/about Apparently, Apache does an internal redirect because it is looking for the index.php file (which exists) in the folder "about". The thing I do not understand is why the user is being redirecte

Re: [EMAIL PROTECTED] httpd 2.2.4 + mod_proxy + tomcat 6.0.9 + ColdFusion

2007-02-11 Thread Dave Shuck
Pid, I appreciate your response. I would like to understand this a little better as it is currently just slightly more clear than voodoo magic to me. Is the specification of the port what points it to a specific instance on Tomcat? If so, I am assuming that I have to create some type of match

Re: [EMAIL PROTECTED] httpd 2.2.4 + mod_proxy + tomcat 6.0.9 + ColdFusion

2007-02-11 Thread Pid
ReWriteEngine on RewriteRule ^\/(.+)\.cfm(.+)? ajp://localhost:8009/$1.cfm$2 [P,L] RewriteRule ^\/(.+)\.cfc(.+)? ajp://localhost:8009/$1.cfc$2 [P,L] Dave Shuck wrote: I am trying to set up ColdFusion as a Tomcat application using Apache 2.2.4 as the web server. Previously when using Jrun

Re: [EMAIL PROTECTED] CGI differences in apache 2.0 and 2.2

2007-02-11 Thread Tommy Nordgren
On 10 feb 2007, at 19.23, Steve Pelikan wrote: We have several perl cgi scripts that run fine with apache 2.0 but fail with 2.2. This is using 2.2 that is part of recent Fedora and 2.0.59 that I just built and installed on the same machine. The problem seems to be with system() calls in pe

Re: [EMAIL PROTECTED] CGI differences in apache 2.0 and 2.2

2007-02-11 Thread Steve Pelikan
> Just having suexec loaded shouldn't make any difference because(AFAIK) > it isn't actually used unless you explicitly request its use. Good point. Okay, in a perl cgi script run by version 2.2 the command system("ls") returns an error code (256, as I recall which corresponds to actual exitcod

Re: [EMAIL PROTECTED] CGI differences in apache 2.0 and 2.2

2007-02-11 Thread Steve Swift
Just having suexec loaded shouldn't make any difference because (AFAIK) it isn't actually used unless you explicitly request its use. Putting a "print" statement before the call to system(ls) doesn't tell us anything about whether or not the running program can *find* the ls command in order to e

Re: [EMAIL PROTECTED] CGI differences in apache 2.0 and 2.2

2007-02-11 Thread Steve Pelikan
Thanks. It is finding and executing the scripts. (Can put in a print statement before the system() command and see the results on a web browser calling the script. Both the 2.0 and 2.2 apaches are using mod_cgi. In 2.0 it is built in and in 2.2 there's a LoadModule statement for it in httpd.

Re: [EMAIL PROTECTED] CGI differences in apache 2.0 and 2.2

2007-02-11 Thread Steve Swift
Being in the same directory as the program that is running is no guarantee that the command will be found, unless you either have "." in the PATH, or the language your command is written is explicitly looks in the same directory as the running program when resolving commands. On 11/02/07, William

[EMAIL PROTECTED] httpd 2.2.4 + mod_proxy + tomcat 6.0.9 + ColdFusion

2007-02-11 Thread Dave Shuck
I am trying to set up ColdFusion as a Tomcat application using Apache 2.2.4 as the web server. Previously when using Jrun, there was simple connector gui tool that modified the httpd.conf in such a way that all requested *.cfm and *.cfc files were sent to a ColdFusion server in JRun for process

Re: [EMAIL PROTECTED] CGI differences in apache 2.0 and 2.2

2007-02-11 Thread William A. Rowe, Jr.
Steve Pelikan wrote: > We have several perl cgi scripts that run fine with apache 2.0 but fail > with 2.2. This is using 2.2 that is part of recent Fedora and 2.0.59 > that I just built and installed on the same machine. > > The problem seems to be with system() calls in perl. > > What am I'm mis

Re: [EMAIL PROTECTED] CGI differences in apache 2.0 and 2.2

2007-02-11 Thread Steve Pelikan
Perhaps I wasn't clear. ANY script with a 'system()' command fails to run as a gci script under apache 2.2. Even if the command that is being run is in the same directory as the script (/var/www/cgi-bin) and has 777 permissions. And the same script does run under apache 2.0. For both apache

Re: [EMAIL PROTECTED] CGI differences in apache 2.0 and 2.2

2007-02-11 Thread Octavian Rasnita
I have seen that the default user/group of Apache has changed. Does that user have access for running the programs you want? Octavian - Original Message - From: "Steve Pelikan" <[EMAIL PROTECTED]> To: Sent: Saturday, February 10, 2007 8:23 PM Subject: [EMAIL PROTECTED] CGI difference

Re: [EMAIL PROTECTED] CGI differences in apache 2.0 and 2.2

2007-02-11 Thread Steve Swift
My only experience with apache under linux is with redhat, so there may be subtle differences. In order to execute "ls" then the userid:group under which apache runs needs at least two things: 1. Execute access to the executable (typically /bin/ls) 2. To have the path to the executable (/bin