You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Robert A. Rawlinson" <ra...@cinci.rr.com> on 2007/07/18 17:41:24 UTC

[users@httpd] Problem getting script to work

I am running apache2.2.2 on a suse 10.2 os. When I try to run a CGI 
script it tells me I don't have permission. I have checked permissions 
and they seem ok. Is there some way to get a trace or something to 
verify what it is running? I have checked the access_log and error_log 
but they only tell me the error code which is 403. I am new at apache 
and I only need it to verify some changes I made to another persons script.
Bob Rawlinson


---------------------------------------------------------------------
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


Re: [users@httpd] Problem getting script to work

Posted by "Robert A. Rawlinson" <ra...@cinci.rr.com>.
Thanks for all your help. When I find out what was wrong I will post it.
Bob R
Joshua Slive wrote:
> On 7/19/07, Robert A. Rawlinson <ra...@cinci.rr.com> wrote:
>> Wow! when I opened it with the editor as you suggested I found:
>>
>> <?xml version="1.0" encoding="ISO-8859-1"?>
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>>   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
>> <head>
>> <title>Server error!</title>
>> <link rev="made" href="mailto:rarawlinson@cinci.rr.com" />
>> <style type="text/css"><!--/*--><![CDATA[/*><!--*/
>>     body { color: #000000; background-color: #FFFFFF; }
>>     a:link { color: #0000CC; }
>>     p, address {margin-left: 3em;}
>>     span {font-size: smaller;}
>> /*]]>*/--></style>
>> </head>
>>
>> <body>
>> <h1>Server error!</h1>
>> <p>
>>
>> I have no idea why. When I tried to locate the file name it was in:
>> my14esl4-1.pl it was not found. I don't know what to think. It is
>> obviously not getting the file it was supposed to get. I looked in the
>> httpd.conf file and did not find my14esl4-1.pl. Do you have any Idea?
>> I am using the Suse 10.2 version of Apache2.
>
> You didn't answer a bunch of other questions I posed in my last email.
>
> That error page you see was not generated by apache. It may be an
> error emitted by your cgi script, or it may be that you aren't
> accessing apache at all but some other web server.
>
> I have no idea what you are talking about regarding my14esl4-1.pl. I
> don't see that anywhere.
>
> Joshua.
>
> ---------------------------------------------------------------------
> 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
>


---------------------------------------------------------------------
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


Re: [users@httpd] Problem getting script to work

Posted by Joshua Slive <jo...@slive.ca>.
On 7/19/07, Robert A. Rawlinson <ra...@cinci.rr.com> wrote:
> Wow! when I opened it with the editor as you suggested I found:
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
> <head>
> <title>Server error!</title>
> <link rev="made" href="mailto:rarawlinson@cinci.rr.com" />
> <style type="text/css"><!--/*--><![CDATA[/*><!--*/
>     body { color: #000000; background-color: #FFFFFF; }
>     a:link { color: #0000CC; }
>     p, address {margin-left: 3em;}
>     span {font-size: smaller;}
> /*]]>*/--></style>
> </head>
>
> <body>
> <h1>Server error!</h1>
> <p>
>
> I have no idea why. When I tried to locate the file name it was in:
> my14esl4-1.pl it was not found. I don't know what to think. It is
> obviously not getting the file it was supposed to get. I looked in the
> httpd.conf file and did not find my14esl4-1.pl. Do you have any Idea?
> I am using the Suse 10.2 version of Apache2.

You didn't answer a bunch of other questions I posed in my last email.

That error page you see was not generated by apache. It may be an
error emitted by your cgi script, or it may be that you aren't
accessing apache at all but some other web server.

I have no idea what you are talking about regarding my14esl4-1.pl. I
don't see that anywhere.

Joshua.

---------------------------------------------------------------------
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


Re: [users@httpd] Problem getting script to work

Posted by "Robert A. Rawlinson" <ra...@cinci.rr.com>.
Wow! when I opened it with the editor as you suggested I found:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Server error!</title>
<link rev="made" href="mailto:rarawlinson@cinci.rr.com" />
<style type="text/css"><!--/*--><![CDATA[/*><!--*/
    body { color: #000000; background-color: #FFFFFF; }
    a:link { color: #0000CC; }
    p, address {margin-left: 3em;}
    span {font-size: smaller;}
/*]]>*/--></style>
</head>

<body>
<h1>Server error!</h1>
<p>

I have no idea why. When I tried to locate the file name it was in: 
my14esl4-1.pl it was not found. I don't know what to think. It is 
obviously not getting the file it was supposed to get. I looked in the 
httpd.conf file and did not find my14esl4-1.pl. Do you have any Idea?
I am using the Suse 10.2 version of Apache2.
Bob R

Joshua Slive wrote:
> On 7/19/07, Robert A. Rawlinson <ra...@cinci.rr.com> wrote:
>> Thanks Joshua. There was no DocumentRoot, AddHandler set up in the
>> httpd.conf. So I added them and restarted Apache2. Now I am getting the
>> problem I started with. I get a message box which says: you have chosen
>> to open, then no file name and then,  which is a perl script and asks
>> what to do with it. The only option is edit with an editor.
>> Do you have any idea what or where to find the cause of this problem.
>
> I have my doubts that you are editing the right part of the right
> config file, since I have never seen an apache config file without a
> DocumentRoot directive. Are you using a SuSE version of apache or one
> downloaded from httpd.apache.org? If you put an obvious syntax error
> in there, do you get an error in the error_log when you restart
> apache?
>
> If you go ahead and open the file in an editor, do you get the source
> code of the perl script or its output?
>
> What exactly do you get in the apache access log for this request?
>
> Joshua.
>
> ---------------------------------------------------------------------
> 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
>


---------------------------------------------------------------------
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


Re: [users@httpd] Problem getting script to work

Posted by Joshua Slive <jo...@slive.ca>.
On 7/19/07, Robert A. Rawlinson <ra...@cinci.rr.com> wrote:
> Thanks Joshua. There was no DocumentRoot, AddHandler set up in the
> httpd.conf. So I added them and restarted Apache2. Now I am getting the
> problem I started with. I get a message box which says: you have chosen
> to open, then no file name and then,  which is a perl script and asks
> what to do with it. The only option is edit with an editor.
> Do you have any idea what or where to find the cause of this problem.

I have my doubts that you are editing the right part of the right
config file, since I have never seen an apache config file without a
DocumentRoot directive. Are you using a SuSE version of apache or one
downloaded from httpd.apache.org? If you put an obvious syntax error
in there, do you get an error in the error_log when you restart
apache?

If you go ahead and open the file in an editor, do you get the source
code of the perl script or its output?

What exactly do you get in the apache access log for this request?

Joshua.

---------------------------------------------------------------------
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


Re: [users@httpd] Problem getting script to work

Posted by "Robert A. Rawlinson" <ra...@cinci.rr.com>.
Thanks Joshua. There was no DocumentRoot, AddHandler set up in the 
httpd.conf. So I added them and restarted Apache2. Now I am getting the 
problem I started with. I get a message box which says: you have chosen 
to open, then no file name and then,  which is a perl script and asks 
what to do with it. The only option is edit with an editor.
Do you have any idea what or where to find the cause of this problem.
Thanks for your help so far.
Bob R

Joshua Slive wrote:
> There are lots of ways to accomplish this. Here is one:
> Find the DocumentRoot directive in httpd.conf and set it as follows:
> DocumentRoot /usr/www/users/fgames/mufoncms.com
> Then add the following directive:
> AddHandler cgi-script .pl
> and make sure you have a <Directory> section that has at least
> <Directory /usr/www/users/fgames/mufoncms.com>
> Options ExecCGI
> DirectoryIndex sp_manage_sighting_reports.pl
> Order Allow,Deny
> Allow from all
> </Directory>
>
> Joshua.
>
> ---------------------------------------------------------------------
> 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
>


---------------------------------------------------------------------
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


Re: [users@httpd] Problem getting script to work

Posted by Joshua Slive <jo...@slive.ca>.
On 7/19/07, Robert A. Rawlinson <ra...@cinci.rr.com> wrote:
> To start I am working on a module that collects data. Since it does not
> run on my system I only want to have it run with out change for my
> system so when I return the module it will work properly with out
> changes. The module is located on the other system at:
> /usr/www/users/fgames/mufoncms.com. I only need it to run so I can check
> my changes work properly. I should only have to type in localhost on my
> browser to run it. I did not expect it to be so complicated :-)
> So bottom line is I want to put localhost in my browser and have it run
> the perl script sp_manage_sighting_reports.pl which is in directory
> /usr/www/users/fgames/mufoncms.com.
> Please if I have left anything out I will be glad to provide it. I have
> two books I have been studeing for several days now and haven't moved
> off ground zero.

There are lots of ways to accomplish this. Here is one:
Find the DocumentRoot directive in httpd.conf and set it as follows:
DocumentRoot /usr/www/users/fgames/mufoncms.com
Then add the following directive:
AddHandler cgi-script .pl
and make sure you have a <Directory> section that has at least
<Directory /usr/www/users/fgames/mufoncms.com>
Options ExecCGI
DirectoryIndex sp_manage_sighting_reports.pl
Order Allow,Deny
Allow from all
</Directory>

Joshua.

---------------------------------------------------------------------
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


Re: [users@httpd] Problem getting script to work

Posted by "Robert A. Rawlinson" <ra...@cinci.rr.com>.
To start I am working on a module that collects data. Since it does not 
run on my system I only want to have it run with out change for my 
system so when I return the module it will work properly with out 
changes. The module is located on the other system at: 
/usr/www/users/fgames/mufoncms.com. I only need it to run so I can check 
my changes work properly. I should only have to type in localhost on my 
browser to run it. I did not expect it to be so complicated :-)
So bottom line is I want to put localhost in my browser and have it run 
the perl script sp_manage_sighting_reports.pl which is in directory 
/usr/www/users/fgames/mufoncms.com.
Please if I have left anything out I will be glad to provide it. I have 
two books I have been studeing for several days now and haven't moved 
off ground zero.
thanks
Bob R

Joshua Slive wrote:
> On 7/19/07, Robert A. Rawlinson <ra...@cinci.rr.com> wrote:
>
> It is unclear exactly what you are trying to do, but that's not right.
>
> Check the docs on ScriptAlias. The first argument is the web-path that
> the user will be typing in their browser and the second path is the
> physcial path on the filesystem.
>
> So let's assume you have a cgi-script at /usr/www/cgi-bin/script.cgi
> Now you want the users to access that script using
> http://example.com/cgi-bin/script.cgi
> Then you need something like
> ScriptAlias "/cgi-bin" "/usr/www/cgi-bin/"
> <Directory "/usr/www/cgi-bin">
>    AllowOverride None
>    Order allow,deny
>    Allow from all
> </Directory>
>
> If that is not what you want, please explain what you are trying to
> do, including what you want the user to type in their browser and
> where you want apache to look for the script.
>
> Joshua.
>
> ---------------------------------------------------------------------
> 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
>


---------------------------------------------------------------------
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


Re: [users@httpd] Problem getting script to work

Posted by Joshua Slive <jo...@slive.ca>.
On 7/19/07, Robert A. Rawlinson <ra...@cinci.rr.com> wrote:
> Thanks Luis. I also have this in the httpd.conf file:
> ScriptAlias "/usr/www/users/fgames/mufoncms.com" "/usr/www/cgi-bin/"
> <Directory "/usr/www/users/fgames/mufoncms.com">
>    AllowOverride None
>    Options ExecCGI
>    Order allow,deny
>    Allow from all
> </Directory>

It is unclear exactly what you are trying to do, but that's not right.

Check the docs on ScriptAlias. The first argument is the web-path that
the user will be typing in their browser and the second path is the
physcial path on the filesystem.

So let's assume you have a cgi-script at /usr/www/cgi-bin/script.cgi
Now you want the users to access that script using
http://example.com/cgi-bin/script.cgi
Then you need something like
ScriptAlias "/cgi-bin" "/usr/www/cgi-bin/"
<Directory "/usr/www/cgi-bin">
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

If that is not what you want, please explain what you are trying to
do, including what you want the user to type in their browser and
where you want apache to look for the script.

Joshua.

---------------------------------------------------------------------
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


Re: [users@httpd] Problem getting script to work

Posted by "Robert A. Rawlinson" <ra...@cinci.rr.com>.
Thanks Luis. I also have this in the httpd.conf file:
ScriptAlias "/usr/www/users/fgames/mufoncms.com" "/usr/www/cgi-bin/"
<Directory "/usr/www/users/fgames/mufoncms.com">
   AllowOverride None
   Options ExecCGI
   Order allow,deny
   Allow from all
</Directory>
I thought that covered it but I am really new to Apache and Apache2.
Thanks
Bob R

Luis Moreira (ESI-GSQP) wrote:
> I believe you are confusing Apache (SW server) with the machine itself (HW
> server), and went looking for file permissions on the UNIX file system.
> That is not the issue.
> The access is, apparently, being denied by Apache, thus the advise and the
> link.
>
> Directories have permissions, within Apache, that you set with ALLOW/DENY
> directives inside the config file
>
>
> Luis
>
>   


---------------------------------------------------------------------
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


RE: [users@httpd] Problem getting script to work

Posted by "Luis Moreira (ESI-GSQP)" <lu...@esi.pt>.
I believe you are confusing Apache (SW server) with the machine itself (HW
server), and went looking for file permissions on the UNIX file system.
That is not the issue.
The access is, apparently, being denied by Apache, thus the advise and the
link.

Directories have permissions, within Apache, that you set with ALLOW/DENY
directives inside the config file


Luis

-----Original Message-----
From: Robert A. Rawlinson [mailto:rarawlinson@cinci.rr.com] 
Sent: quinta-feira, 19 de Julho de 2007 14:53
To: users@httpd.apache.org
Subject: Re: [users@httpd] Problem getting script to work

Thanks. I have checked and all files are root and root. I have a 
ScriptAlias pointing to the files. Now I am wondering if it is going 
somewhere else for the script and how to find out what is running. So 
you have any ideas on how to do that?
Thanks
Bob R

Joshua Slive wrote:
> On 7/19/07, Robert A. Rawlinson <ra...@cinci.rr.com> wrote:
>> Here are the error messages first the access_log:
>> [Sat Jul 14 09:52:32 2007] [error] [client 127.0.0.1] client denied by
>> server configuration: /usr/www/users/fgames/mufoncms.com/
>
> This almost always indicates a Deny directive (or lack of an Allow
> directive) denies access.
>
> See:
> http://wiki.apache.org/httpd/ClientDeniedByServerConfiguration
>
> Joshua.
>
> ---------------------------------------------------------------------
> 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
>


---------------------------------------------------------------------
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


---------------------------------------------------------------------
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


Re: [users@httpd] Problem getting script to work

Posted by "Robert A. Rawlinson" <ra...@cinci.rr.com>.
Thanks. I have checked and all files are root and root. I have a 
ScriptAlias pointing to the files. Now I am wondering if it is going 
somewhere else for the script and how to find out what is running. So 
you have any ideas on how to do that?
Thanks
Bob R

Joshua Slive wrote:
> On 7/19/07, Robert A. Rawlinson <ra...@cinci.rr.com> wrote:
>> Here are the error messages first the access_log:
>> [Sat Jul 14 09:52:32 2007] [error] [client 127.0.0.1] client denied by
>> server configuration: /usr/www/users/fgames/mufoncms.com/
>
> This almost always indicates a Deny directive (or lack of an Allow
> directive) denies access.
>
> See:
> http://wiki.apache.org/httpd/ClientDeniedByServerConfiguration
>
> Joshua.
>
> ---------------------------------------------------------------------
> 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
>


---------------------------------------------------------------------
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


Re: [users@httpd] Problem getting script to work

Posted by Joshua Slive <jo...@slive.ca>.
On 7/19/07, Robert A. Rawlinson <ra...@cinci.rr.com> wrote:
> Here are the error messages first the access_log:
> [Sat Jul 14 09:52:32 2007] [error] [client 127.0.0.1] client denied by
> server configuration: /usr/www/users/fgames/mufoncms.com/

This almost always indicates a Deny directive (or lack of an Allow
directive) denies access.

See:
http://wiki.apache.org/httpd/ClientDeniedByServerConfiguration

Joshua.

---------------------------------------------------------------------
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


Re: [users@httpd] Problem getting script to work

Posted by "Robert A. Rawlinson" <ra...@cinci.rr.com>.
Here are the error messages first the access_log:
[Sat Jul 14 09:52:32 2007] [error] [client 127.0.0.1] client denied by 
server configuration: /usr/www/users/fgames/mufoncms.com/
Now the error_log
localhost - - [13/Jul/2007:14:17:45 -0400] "GET / HTTP/1.1" 403 1041 "-" 
"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20061023 
SUSE/2.0.0.4-1.1 Firefox/2.0.0.4"
I hope this helps.
Bob R

Joshua Slive wrote:
> On 7/18/07, Robert A. Rawlinson <ra...@cinci.rr.com> wrote:
>> I am running apache2.2.2 on a suse 10.2 os. When I try to run a CGI
>> script it tells me I don't have permission. I have checked permissions
>> and they seem ok. Is there some way to get a trace or something to
>> verify what it is running? I have checked the access_log and error_log
>> but they only tell me the error code which is 403. I am new at apache
>> and I only need it to verify some changes I made to another persons 
>> script.
>> Bob Rawlinson
>
> Tell us the EXACT error message from the error log.
>
> Joshua.
>
> ---------------------------------------------------------------------
> 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
>


---------------------------------------------------------------------
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


Re: [users@httpd] Problem getting script to work

Posted by Joshua Slive <jo...@slive.ca>.
On 7/18/07, Robert A. Rawlinson <ra...@cinci.rr.com> wrote:
> I am running apache2.2.2 on a suse 10.2 os. When I try to run a CGI
> script it tells me I don't have permission. I have checked permissions
> and they seem ok. Is there some way to get a trace or something to
> verify what it is running? I have checked the access_log and error_log
> but they only tell me the error code which is 403. I am new at apache
> and I only need it to verify some changes I made to another persons script.
> Bob Rawlinson

Tell us the EXACT error message from the error log.

Joshua.

---------------------------------------------------------------------
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


Re: [users@httpd] Problem getting script to work

Posted by Javier Toledo Pantoja <j_...@yahoo.com>.
The permissions that you say is ok, are for root,
daemon, nobody or which user?

maybe are good for root, but Apache runs as another
user (daemon or someone else defined in httpd.conf)

Verify that the files can be at least read it, as
Apache owner process.

regards
--- "Robert A. Rawlinson" <ra...@cinci.rr.com>
wrote:

> I am running apache2.2.2 on a suse 10.2 os. When I
> try to run a CGI 
> script it tells me I don't have permission. I have
> checked permissions 
> and they seem ok. Is there some way to get a trace
> or something to 
> verify what it is running? I have checked the
> access_log and error_log 
> but they only tell me the error code which is 403. I
> am new at apache 
> and I only need it to verify some changes I made to
> another persons script.
> Bob Rawlinson
> 
> 
>
---------------------------------------------------------------------
> 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
> 
> 



       
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  

---------------------------------------------------------------------
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