httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ed <li...@precognet.com>
Subject [users@httpd] Apache - ScriptAlias confusion
Date Sat, 24 Feb 2007 17:16:23 GMT
Hi all,
I guess this is an apache "problem" and not something to do with the ticketing 
software I'm trying to install so maybe you can help me?

I'm having trouble getting my head round 'ScriptAlias' and 'Alias'

Here is what I have:
   Linux fw01 2.6.17-gentoo-r8 #9 SMP i686 Intel(R) Pentium(R) 4 CPU 3.00GHz 
GenuineIntel GNU/Linux

   Server version: Apache/2.0.58
   Server built:   Feb 20 2007 09:18:40

I have printed the whole directory tree at the end of this email to make it 
all "clear".

Can you help me solve this and point me to the propper documentation.  I am 
getting confused with the whole thing.

Many thanks
 -Ed

[ATTEMPT #1]
<VirtualHost *:80>
        
ScriptAlias /otrs/ "/var/www/ticket.precognet.com/otrs-2.1.5/bin/cgi-bin/"
        Alias /otrs-web/ "/var/www/ticket.precognet.com/htdocs/"

        ServerName ticket.precognet.com
        DocumentRoot /var/www/ticket.precognet.com/htdocs
        ErrorLog /var/log/apache2/ticket.precognet.com.error_log
        CustomLog /var/log/apache2/ticket.precognet.com.access_log combined

        <Directory "/var/www/ticket.precognet.com/otrs-2.1.5/bin/cgi-bin/">
                AllowOverride None
                Options +ExecCGI -Includes
                Order allow,deny
                Allow from all
        </Directory>

        <Directory "/var/www/ticket.precognet.com/htdocs/">
                AllowOverride None
                Order allow,deny
                Allow from all
        </Directory>
</VirtualHost>

[What the logs have to say]

[Fri Feb 23 17:11:52 2007] [error] Can't locate 
Kernel/System/Web/InterfaceAgent.pm in @INC (@INC 
contains: /usr/sbin/../../Kernel/cpan-lib /usr/sbin/../.. /home/httpd/perl /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8
/usr/local/lib/site_perl . /usr/lib/apache2) 
at /var/www/ticket.precognet.com/otrs-2.1.5/bin/cgi-bin/index.pl line 41.
\nBEGIN failed--compilation aborted 
at /var/www/ticket.precognet.com/otrs-2.1.5/bin/cgi-bin/index.pl line 41.\n


[ATTEMPT #2]
<VirtualHost *:80>
        ScriptAlias /otrs/ "/var/www/ticket.precognet.com/otrs-2.1.5/bin/"
        Alias /otrs-web/ "/var/www/ticket.precognet.com/htdocs/"

        ServerName ticket.precognet.com
        DocumentRoot /var/www/ticket.precognet.com/htdocs
        ErrorLog /var/log/apache2/ticket.precognet.com.error_log
        CustomLog /var/log/apache2/ticket.precognet.com.access_log combined

        <Directory "/var/www/ticket.precognet.com/otrs-2.1.5/bin/">
                AllowOverride None
                Options +ExecCGI -Includes
                Order allow,deny
                Allow from all
        </Directory>

        <Directory "/var/www/ticket.precognet.com/htdocs/">
                AllowOverride None
                Order allow,deny
                Allow from all
        </Directory>
</VirtualHost>

[What the logs have to say]

[Fri Feb 23 17:15:03 2007] [error] 
slurp_filename('/var/www/ticket.precognet.com/otrs-2.1.5/bin/index.pl') / 
opening: (2) No such file or directory 
at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/ModPerl/RegistryCooker.pm line 
540



[DIRECTORY STRUCTURE + index.pl & index.html]

.
./htdocs
   ./htdocs/index.html
./htdocs/images
./htdocs/images/Standard
./cgi-bin
./error
./icons
./otrs-2.1.5
./otrs-2.1.5/Kernel
./otrs-2.1.5/Kernel/Config
./otrs-2.1.5/Kernel/Config/Files
./otrs-2.1.5/Kernel/Language
./otrs-2.1.5/Kernel/Modules
./otrs-2.1.5/Kernel/Output
./otrs-2.1.5/Kernel/Output/ASCII
./otrs-2.1.5/Kernel/Output/HTML
./otrs-2.1.5/Kernel/Output/HTML/Lite
./otrs-2.1.5/Kernel/Output/HTML/Standard
./otrs-2.1.5/Kernel/Output/XML
./otrs-2.1.5/Kernel/System
./otrs-2.1.5/Kernel/System/Auth
./otrs-2.1.5/Kernel/System/AuthSession
./otrs-2.1.5/Kernel/System/Crypt
./otrs-2.1.5/Kernel/System/CustomerAuth
./otrs-2.1.5/Kernel/System/CustomerUser
./otrs-2.1.5/Kernel/System/CustomerUser/Preferences
./otrs-2.1.5/Kernel/System/DB
./otrs-2.1.5/Kernel/System/Email
./otrs-2.1.5/Kernel/System/GenericAgent
./otrs-2.1.5/Kernel/System/LinkObject
./otrs-2.1.5/Kernel/System/Log
./otrs-2.1.5/Kernel/System/PostMaster
./otrs-2.1.5/Kernel/System/PostMaster/Filter
./otrs-2.1.5/Kernel/System/PostMaster/LoopProtection
./otrs-2.1.5/Kernel/System/Stats
./otrs-2.1.5/Kernel/System/Stats/Dynamic
./otrs-2.1.5/Kernel/System/Stats/Static
./otrs-2.1.5/Kernel/System/Ticket
./otrs-2.1.5/Kernel/System/Ticket/CustomerPermission
./otrs-2.1.5/Kernel/System/Ticket/Event
./otrs-2.1.5/Kernel/System/Ticket/IndexAccelerator
./otrs-2.1.5/Kernel/System/Ticket/Number
./otrs-2.1.5/Kernel/System/Ticket/Permission
./otrs-2.1.5/Kernel/System/User
./otrs-2.1.5/Kernel/System/User/Preferences
./otrs-2.1.5/Kernel/System/Web
./otrs-2.1.5/Kernel/System/Web/UploadCache
./otrs-2.1.5/Kernel/System/XMLMaster
./otrs-2.1.5/Kernel/cpan-lib
./otrs-2.1.5/Kernel/cpan-lib/Algorithm
./otrs-2.1.5/Kernel/cpan-lib/Authen
./otrs-2.1.5/Kernel/cpan-lib/Authen/SASL
./otrs-2.1.5/Kernel/cpan-lib/Authen/SASL/Perl
./otrs-2.1.5/Kernel/cpan-lib/Crypt
./otrs-2.1.5/Kernel/cpan-lib/Date
./otrs-2.1.5/Kernel/cpan-lib/Email
./otrs-2.1.5/Kernel/cpan-lib/HTML
./otrs-2.1.5/Kernel/cpan-lib/IO
./otrs-2.1.5/Kernel/cpan-lib/MIME
./otrs-2.1.5/Kernel/cpan-lib/MIME/Decoder
./otrs-2.1.5/Kernel/cpan-lib/MIME/Field
./otrs-2.1.5/Kernel/cpan-lib/MIME/Parser
./otrs-2.1.5/Kernel/cpan-lib/Mail
./otrs-2.1.5/Kernel/cpan-lib/Mail/Field
./otrs-2.1.5/Kernel/cpan-lib/Mail/Mailer
./otrs-2.1.5/Kernel/cpan-lib/Text
./otrs-2.1.5/Kernel/cpan-lib/Text/Diff
./otrs-2.1.5/Kernel/cpan-lib/XML
./otrs-2.1.5/Kernel/cpan-lib/XML/Parser
./otrs-2.1.5/Kernel/cpan-lib/auto
./otrs-2.1.5/Kernel/cpan-lib/auto/Mail
./otrs-2.1.5/Kernel/cpan-lib/auto/Mail/Internet
./otrs-2.1.5/Kernel/cpan-lib/auto/Mail/Util
./otrs-2.1.5/bin
./otrs-2.1.5/bin/cgi-bin
   ./otrs-2.1.5/bin/cgi-bin/index.pl
./otrs-2.1.5/bin/cgi-bin/cpanel
./otrs-2.1.5/bin/fcgi-bin
./otrs-2.1.5/scripts
./otrs-2.1.5/scripts/database
./otrs-2.1.5/scripts/test
./otrs-2.1.5/scripts/test/sample
./otrs-2.1.5/scripts/tools
./otrs-2.1.5/var
./otrs-2.1.5/var/article
./otrs-2.1.5/var/cron
./otrs-2.1.5/var/log
./otrs-2.1.5/var/pics
./otrs-2.1.5/var/pics/images
./otrs-2.1.5/var/pics/stats
./otrs-2.1.5/var/sessions
./otrs-2.1.5/var/spool
./otrs-2.1.5/var/tmp





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