I have just upgraded my linux distribution from SuSE 9.0 to 9.3 and am having a problem with Apache2. One of the applications that I use every day for my research is WebMO, a gui for a number of computational chemistry programs. It runs in a browser, specifically Firefox. Before the upgrade it ran without any complaints. Now when I attempt to login to WebMO I get the message: 'This is an executable Perl-based cgi script. If you can read this comment,# then your web server is not properly configured to execute cgi scripts in this directory. You must reconfigure your web server to allow cgi script execution in this directory before you can successfully run WebMO.' There is a diagnose perl script with WebMO that gives me the following message: 'Checking for UserDir enabled: Failed Uncomment the line 'UserDir public_html' ' That's the problem. Now, how have I attempted to solve it. First of all, let me admit that the apache.org web site has not been a great help. I found the file that the perl script wants to be uncommented by grepping the files in /etc/apache2 According to that the line is in mod_userdir.conf. Uncommenting that line did not solve the problem. The only things that are obvious to me at this point are that in addition to not knowing what I'm doing I am missing something. Any assistance will be greatly appreciated. Thanks in advance. -- Stephen P. Molnar, Ph.D. Life is a fuzzy set Foundation for Chemistry Stochastic and multivariant http://www.geocities.com/FoundationForChemistry
On Tue, 2005-04-26 at 13:50 -0400, Stephen P. Molnar, Ph.D. wrote:
I have just upgraded my linux distribution from SuSE 9.0 to 9.3 and am having a problem with Apache2.
One of the applications that I use every day for my research is WebMO, a gui for a number of computational chemistry programs. It runs in a browser, specifically Firefox. Before the upgrade it ran without any complaints.
Now when I attempt to login to WebMO I get the message:
'This is an executable Perl-based cgi script. If you can read this comment,# then your web server is not properly configured to execute cgi scripts in this directory. You must reconfigure your web server to allow cgi script execution in this directory before you can successfully run WebMO.'
There is a diagnose perl script with WebMO that gives me the following message:
'Checking for UserDir enabled: Failed Uncomment the line 'UserDir public_html' '
That's the problem. Now, how have I attempted to solve it. First of all, let me admit that the apache.org web site has not been a great help.
You did remember to restart apache didn't you? -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
On Tuesday April 26, 2005 03:01 pm, Ken Schneider wrote:
On Tue, 2005-04-26 at 13:50 -0400, Stephen P. Molnar, Ph.D. wrote:
I have just upgraded my linux distribution from SuSE 9.0 to 9.3 and am having a problem with Apache2.
One of the applications that I use every day for my research is WebMO, a gui for a number of computational chemistry programs. It runs in a browser, specifically Firefox. Before the upgrade it ran without any complaints.
Now when I attempt to login to WebMO I get the message:
'This is an executable Perl-based cgi script. If you can read this comment,# then your web server is not properly configured to execute cgi scripts in this directory. You must reconfigure your web server to allow cgi script execution in this directory before you can successfully run WebMO.'
There is a diagnose perl script with WebMO that gives me the following message:
'Checking for UserDir enabled: Failed Uncomment the line 'UserDir public_html' '
That's the problem. Now, how have I attempted to solve it. First of all, let me admit that the apache.org web site has not been a great help.
You did remember to restart apache didn't you?
An excellent question (and I am not being facetious). Yes, I restarted apache2 after each and every change.
-- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
"The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
-- Stephen P. Molnar, Ph.D. Life is a fuzzy set Foundation for Chemistry Stochastic and multivariant http://www.geocities.com/FoundationForChemistry
Stephen P. Molnar, Ph.D. wrote:
'Checking for UserDir enabled: Failed Uncomment the line 'UserDir public_html' '
That's the problem. Now, how have I attempted to solve it. First of all, let me admit that the apache.org web site has not been a great help.
http://httpd.apache.org/docs-2.0/mod/mod_userdir.html#userdir The examples seem pretty straight forward.
I found the file that the perl script wants to be uncommented by grepping the files in /etc/apache2 According to that the line is in mod_userdir.conf.
I would leave that file untouched. Search for the directive UserDir in default_server.conf or the according virtual server config file. It should have a line like "UserDir public_html".
Uncommenting that line did not solve the problem. The only things that are obvious to me at this point are that in addition to not knowing what I'm doing I am missing something.
What value did you assign to UserDir , where did you set that directive (default server, virtual server) and is the script you try to call actually in that directory? Sandy
On Tue, Apr 26, 2005 at 01:50:45PM -0400, Stephen P. Molnar, Ph.D. wrote:
I have just upgraded my linux distribution from SuSE 9.0 to 9.3 and am having a problem with Apache2.
One of the applications that I use every day for my research is WebMO, a gui for a number of computational chemistry programs. It runs in a browser, specifically Firefox. Before the upgrade it ran without any complaints.
Because the apache configuration should be largely identical between your previous 9.0 installation and your current 9.3 installation, I'm surprised it doesn't work any longer.
Now when I attempt to login to WebMO I get the message:
'This is an executable Perl-based cgi script. If you can read this comment,# then your web server is not properly configured to execute cgi scripts in this directory. You must reconfigure your web server to allow cgi script execution in this directory before you can successfully run WebMO.'
There is a diagnose perl script with WebMO that gives me the following message:
'Checking for UserDir enabled: Failed Uncomment the line 'UserDir public_html' '
Where is the script located in the filesystem? Which URL have you called to run it? Which is the corresponding log line in /var/log/apache2/{access,error}_log?
That's the problem. Now, how have I attempted to solve it. First of all, let me admit that the apache.org web site has not been a great help.
It is not necessarily the problem. It can only be related if the WebMO thing is actually installed in your home (inside public_html).
I found the file that the perl script wants to be uncommented by grepping the files in /etc/apache2 According to that the line is in mod_userdir.conf. Uncommenting that line did not solve the problem. The only things that are obvious to me at this point are that in addition to not knowing what I'm doing I am missing something.
Any assistance will be greatly appreciated.
Thanks in advance.
Peter -- the little cardinal got the tasty machine that goes "ping"
participants (4)
-
Ken Schneider
-
poeml@cmdline.net
-
Sandy Drobic
-
Stephen P. Molnar, Ph.D.