[MontelLUG] Apache con otrs default page
Samuele
samuele.zanin a tiscali.it
Gio 16 Ago 2018 12:17:49 CEST
Ho otrs che risponde su
http://192.168.0.100/otrs
vorrei che rispondesse direttamente su
http://192.168.0.100
Ho 000-default.conf, ho sostituito la DocumentRoot, ma apache continua a
mostrarmi la default page di apache.
Come ci fosse qualcosa che sovrascrive le mie impostazioni.
Non ne vengo fuori.
Il file otrs.conf dentro sites-enabled
NameVirtualHost *:80
NameVirtualHost *:443
<VirtualHost *:80>
UseCanonicalName Off
ServerAdmin webmaster a localhost
DocumentRoot /opt/otrs/var/httpd/htdocs/
</VirtualHost>
<VirtualHost *:443>
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/apache.crt
SSLCertificateKeyFile /etc/apache2/ssl/apache.key
ServerAdmin webmaster a localhost
DocumentRoot /opt/otrs/var/httpd/htdocs/
</VirtualHost>
Perlrequire /usr/share/otrs/scripts/apache2-perl-startup.pl
PerlModule Apache2::RequestRec
PerlModule Apache2::Reload
PerlInitHandler Apache2::Reload
<Directory /var/www/>
Options -Indexes +FollowSymLinks
AddHandler cgi-script .cgi
AllowOverride All
order allow,deny
allow from all
</Directory>
Alias /docs /usr/share/doc/otrs2-doc-en/html
<Directory /usr/share/doc/otrs2-doc-en/html>
Options +FollowSymLinks
AllowOverride All
order allow,deny
allow from all
</Directory>
<Location /otrs>
ErrorDocument 403 /otrs/index.pl
ErrorDocument 404 /otrs/index.pl
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
Options +ExecCGI +FollowSymLinks
PerlOptions +ParseHeaders
PerlOptions +SetupEnv
Order allow,deny
Allow from all
RewriteEngine On
RewriteCond /var/lib/otrs/httpd/htdocs/maintainance.html -l
RewriteRule ^.*$ /maintainance.html
</Location>
Alias /otrs-web/ /opt/otrs/var/httpd/htdocs/
<Directory /opt/otrs/var/httpd/htdocs/>
Options +FollowSymLinks
AllowOverride All
order allow,deny
allow from all
</Directory>
ScriptAlias /otrs/ /usr/share/otrs/bin/cgi-bin/
<Directory /usr/share/otrs/bin/cgi-bin/>
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all
</Directory>
# MaxRequestsPerChild (so no apache child will be to big!)
MaxRequestsPerChild 400
Maggiori informazioni sulla lista
montellug