httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chuck Haron <unixfr...@comcast.net>
Subject Re: [users@httpd] Permissions Problem
Date Mon, 26 Jan 2004 04:45:17 GMT

On Sunday, January 25, 2004, at 09:37 PM, BAO RuiXian wrote:

>
>
> Chuck Haron wrote:
>
>>
>> On Sunday, January 25, 2004, at 09:08 PM, BAO RuiXian wrote:
>>
>> The User directive in httpd.conf is set to wwwrun.
>>
>> ls output is: -rwxr-xr-x 1 root root 3.9K Jan 25 17:29 spellchecker.pl
>
> Everything looks okay. Strange. Do you have the 'ScriptAlias' 
> directive in your httpd.conf? If so, please show us. Also, are you 
> sure you are using the right httpd.conf file for your apache server? 
> To see this, make some obvious syntax error in your httpd.conf file, 
> and then restart your apache server to see if it still run.
>

ScriptAlias /cgi-bin/ "/srv/www/cgi-bin/"

running <find / -name "httpd.conf"> finds only one copy of httpd.conf 
(/etc/httpd/httpd.conf).

> Best
>
> Bao
>
>>
>>     Best
>>
>>     Bao
>>
>>
>>         I get the following when I run ./spellchecker.pl:
>>         Content-type: text/html
>>
>>         <html>
>>         <head>
>>         <link rel="stylesheet" type="text/css"
>>         href="/speller/spellerStyle.css"/>
>>         <script src="/speller/wordWindow.js"></script>
>>         <script>
>>         var suggs = new Array();
>>         var words = new Array();
>>         var textinputs = new Array();
>>         var error;
>>         Error: No word lists can be found for the language "en_US".
>>         error = 'System error: Aspell program execution failed
>>         (`aspell -a --lang=en_US< /tmp/cAwzRfcnsW/3DPT2LlxkH`)';
>>         var wordWindowObj = new wordWindow();
>>         wordWindowObj.originalSpellings = words;
>>         wordWindowObj.suggestions = suggs;
>>         wordWindowObj.textInputs = textinputs;
>>
>>         function init_spell() {
>>         // check if any error occured during server-side processing
>>         if( error ) {
>>         alert( error );
>>         } else {
>>         // call the init_spell() function in the parent frameset
>>         if (parent.frames.length) {
>>         parent.init_spell( wordWindowObj );
>>         } else {
>>         error = "This page was loaded outside of a frameset. ";
>>         error += "It might not display properly";
>>         alert( error );
>>         }
>>         }
>>         }
>>
>>         </script>
>>
>>         </head>
>>         <body onLoad="init_spell();">
>>
>>         <script>
>>         wordWindowObj.writeBody();
>>         </script>
>>
>>         </body>
>>         </html>
>>
>>             Best
>>
>>             Bao
>>
>>
>>                 Some log entries:
>>
>>                 error_log
>>                 [Sun Jan 25 17:58:44 2004] [error] [client 172.31.3.2]
>>                 client denied by server configuration:
>>                 /srv/www/cgi-bin/spellchecker.pl
>>
>>                 access_log
>>                 172.31.3.2 - - [25/Jan/2004:17:58:44 -0700] "POST
>>                 /cgi-bin/spellchecker.pl HTTP/1.1" 403 312
>>
>>
>>                 Best
>>
>>                 Bao
>>
>>
>>                 Apache/1.3.26 Server at sloxmail.cognitive.com Port 80
>>                 ---
>>
>>                 httpd.conf contains following
>>                 ---
>>                 <Directory "/srv/www/cgi-bin">
>>                 AllowOverride None
>>                 Options None
>>                 Order allow,deny
>>                 Allow from all
>>                 </Directory>
>>                 ---
>>
>>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server 
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>

Mime
View raw message