Mtnbkr777 has asked for the wisdom of the Perl Monks concerning the following question:
I am running Centos OS with a LAMP stack. I have perl5.8.8 installed. When I try to run a login script through a browser I get the script itself not the Login page that should be coming up. If I run the script from the command line I get the following error "Can't locate bin/xterm/login.pl in @INC.." I have checked my paths, permissions I am at a loss. I know it should be and easy fix but I can't figure it out. I originally developed the scripts on a local Ubuntu Machine the migrated to a hosting service.
Here is part of my HTTPD conf filethe referenced included config file is below.<VirtualHost petro-traxx.com.443> DocumentRoot /var/www/html/petro ServerName petro-traxx.com ServerAlias www.petro-traxx.com ServerAdmin webmaster@petro-traxx.com CustomLog /usr/local/apache/domlogs/petro-traxx.com-bytes_log "%{% +s}t %I .\n%{%s}t %O ." ErrorLog /usr/local/apache/domlogs/petro-error-logs CustomLog /usr/local/apache/domlogs/petro-traxx.com combined ScriptAlias /cgi-bin/ /var/www/cgi-bin/ Include sql-ledger-httpd.conf Alias /sql-ledger /var/www/html/petro/sql-ledger/ <Directory /var/www/html/petro/sql-ledger> AllowOverride All AddHandler cgi-script .pl .cgi AddDefaultCharset On Options ExecCGI Includes FollowSymlinks Order Allow,Deny Allow from All </Directory> <Directory /var/www/html/petro/sql-ledger/users> Order Deny,Allow Deny from All </Directory> </VirtualHost>
any Ideas would be great. ThanksAlias /petro /var/www/html/petro/ <Directory /var/www/html/petro> AllowOverride All AddHandler cgi-script .pl Options ExecCGI Includes FollowSymlinks Order Allow,Deny Allow from All </Directory> <Directory /var/www/html/petro/users> Order Deny,Allow Deny from All </Directory> Alias /sql-ledger /var/www/html/petro/sql-ledger/ <Directory /var/www/html/petro/sql-ledger> AllowOverride All AddHandler cgi-script .pl Options ExecCGI Includes FollowSymlinks Order Allow,Deny Allow from All </Directory> <Directory /var/www/html/petro/sql-ledger/users> Order Deny,Allow Deny from All </Directory>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Scirpts Don't Run
by i5513 (Pilgrim) on Aug 03, 2011 at 22:28 UTC | |
by Mtnbkr777 (Initiate) on Aug 04, 2011 at 02:53 UTC | |
by thewebsi (Scribe) on Aug 04, 2011 at 05:46 UTC | |
by Mtnbkr777 (Initiate) on Aug 04, 2011 at 21:56 UTC | |
by Mtnbkr777 (Initiate) on Aug 04, 2011 at 22:27 UTC | |
by Mtnbkr777 (Initiate) on Aug 04, 2011 at 23:23 UTC |