Public feed #599910

Anonymous

public text v1 · immutable
Raw Edit
·published 2007-07-02 14:38 UTC
rendered paste body

 AIM: I am trying to activate perl-cgi so that apache can recognizes an apps which needs it. This app is Otrs. 
 PROBLEM: In Debian I can get the index.pl file as a page however in rhel I see it as text file.
 QUESTION: What could it be relevant so that in rhel this setting does not work?
  


########### This the VirtualHost for Debian################

<VirtualHost 192.168.1.2:81>
DocumentRoot /home/user/public_html/otrs/bin/cgi-bin
#CustomLog /home/haecotrs/logs/access_log combined
ServerName otrs.testing

  #Alias /otrs-web/ /home/user/otrs/var/httpd/htdocs/
  #Alias /otrs/ /home/user/public_html/otrs/bin/cgi-bin/



ScriptAlias /otrs/ "/home/user/public_html/otrs/bin/cgi-bin/"
Alias /otrs-web/ "/home/user/public_html//otrs/var/httpd/htdocs/"

<Directory "/home/user/public_html/otrs/bin/cgi-bin/">
    AllowOverride None
    AddHandler cgi-script .cgi .pl
    Options +ExecCGI -Includes
    Order allow,deny
    Allow from all
</Directory>
<Directory "/home/user/public_html/otrs/var/httpd/htdocs/">
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

</VirtualHost>

################# Virtual host for Redhel 3 with apache 2 ############

<VirtualHost *:80>
DocumentRoot /home/haecotrs/public_html/otrs/bin/cgi-bin
ScriptAlias /otrs/ "/home/haecotrs/public_html/otrs/bin/cgi-bin/"
Alias /otrs-web/ "/home/haecotrs/public_html//otrs/var/httpd/htdocs/

<Directory "/home/user/public_html/otrs/bin/cgi-bin/">
    AllowOverride None
    AddHandler cgi-script .cgi .pl
    Options +ExecCGI -Includes
    Order allow,deny
    Allow from all
</Directory>

<Directory "/home/user/public_html/otrs/var/httpd/htdocs/">
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>


CustomLog /home/haecotrs/logs/access_log combined
ServerName bla bla bla bla... ---> sorry this is a public dns
</VirtualHost>