Re: [users@httpd] Problems with cgi scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If the web directories are a tarballed copy then the problem must lay
with either the OS or the Apache install. If you have checked all the
permissions etc., the only other thing I can think of is to check that
mod_cgi is installed correctly on both machines -- maybe kind of obvious
but that's my last guess.

Mick.

> Mick,
>
>         Thanks, but that didn't fix it either.  What I don't
> understand, I tarballed all the web directories from the original
> machine, moved them to the new machine, untarred, and started the
> server.  Other than new hardware, the machines are identical.
>
> Mark
>
>
> At 08:56 AM 11/10/2005, you wrote:
>
>> Hi Mark,
>>
>> Seems SuExec is one possibility. More info at:
>> http://httpd.apache.org/docs/1.3/suexec.html
>>
>> Mick.
>>
>>
>> Mark Wendt (Contractor) wrote:
>>
>> > Hi,
>> >
>> >     I'm in the process of moving our web server from old hardware to
>> > new.  Same OS - RHEL4 -U1-ES.  Same version of Apache - v2.0.52.
>> > Everything works on the old server, but not the new.  Selinux has been
>> > disabled on both machines, and the directories and partitions are
>> > virtually identical, except for the size.  Permissions on all
>> > directories, as well as the user and group are identical on each
>> > machine.  The conf files, both httpd.conf and ssl.conf are identical.
>> > CGI scripts are all written in perl, perl is located at /usr/bin/perl,
>> > and #!/usr/bin/perl line is in each script.  When I try to execute one
>> > of the cgi scripts, I get a "Forbidden  You don't have permission to
>> > access the /cgi-bin/<whatever>.cgi on this server."  Where else can I
>> > look to fix this problem?  I've scoured the archives, and all the
>> > fixes point to either selinux, or file permissions.
>> >
>> > Thanks,
>> > Mark
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > 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@xxxxxxxxxxxxxxxx
>> >   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
>> > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>> >
>> >
>>
>>
>> ---------------------------------------------------------------------
>> 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@xxxxxxxxxxxxxxxx
>>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>
>
>
> ---------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxx
>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux