Re: Not having luck running Perl script

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

 



On 10/9/07, Robert A. Rawlinson <rarawlinson@xxxxxxxxxxxx> wrote:
> I am using Apache2 with Suse 10.2. I think I am doing something wrong in
> my config. I have the perl script in directory
> /usr/www/users/fgames/mufon.com/cgi-bin. When I access the apache
> localhost I get a 404 error. If I did not give enough info to help
> please let me know
> Bob R
> The permissions are: -rwxr-xr-x 1 root root  465874 2007-10-03 11:06
> sp_manage_sighting_reports.pl

Permissions are not the problem for a 404 error. Apache simply can't
find the file, meaning you haven't properly set up the mapping from
web-path to file-system-path. (Normally ScriptAlias in the case of cgi
scripts.)

Start by checking the error_log, which should tell you the actual
file-system-path that apache is trying to access.

If you still can't figure it out, tell us EXACTLY what URL you are
trying to access, and EXACTLY what you get in the error_log. Also,
give us the RELEVANT EXCERPT from the config file, not the whole
thing.

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