Apache Konfiguration?

Hilfe zu Znuny Problemen aller Art
Locked
Enfa
Znuny newbie
Posts: 86
Joined: 04 Dec 2006, 16:17
Location: Böblingen

Apache Konfiguration?

Post by Enfa »

Hallo,

habt da ein kleines Problem:

Zur erst habe ich das OTRS-System local getestet. Dann habe ich ins Netz gestellt.

Das geht: xxx.yyy.de/index.pl.

Ich möchte aber, dass das OTRS-System so startet:

xxx.yyy.de

Im Apache habe ich nach DocumentRoot gesucht um webroot bescheid zu sagen, dass das OTRS-System unter xxx.yyy.de starten soll. Aber Fehlanzeige.

Könntet ihr mir veraten, wie ich es einstellen muss, damit das OTRS-System so: xxx.yyy.de läuft.

Vielen Dank im Voraus.

Tschüss
Gundy
Znuny newbie
Posts: 21
Joined: 09 Nov 2006, 20:42
Location: Hamburg

Post by Gundy »

Du könntest es mit

Code: Select all

ErrorDocument 404 /index.pl
in der zuständigen <Location> Sektion probieren.

Gruß Gundy
OTRS 2.1.7 als Produktivsystem (unterliegt nicht meiner Administration)
Enfa
Znuny newbie
Posts: 86
Joined: 04 Dec 2006, 16:17
Location: Böblingen

Post by Enfa »

Hallo,

danke für deine Mail Gundy.

Aber es hat leider nicht geklappt.

OTRS-System habe ich zum Testen erst mal auf ein localen Rechner installiert. WinXp. Dann habe ich die Domaine hinzugefügt.

Bald werde ich es in einem OS-Server Rechner installieren. Beim OTRS-Installieren gebe ich dann gleich die Domain-Adresse mit.

Vielleicht funktioniert es dann. Mich interressiert aber trotzdem wie es jetzt funktionieren könnte.

Tschüss
lindesbs
Znuny expert
Posts: 225
Joined: 09 Dec 2005, 14:18

Post by lindesbs »

Theoretisch sollte ein "DirectoryIndex index.pl" ein deiner Location dies erfuellen.

Ich habe folgendes in meiner OTRS-Appliance :

Code: Select all

<Location /otrs>
    DirectoryIndex /otrs/index.pl
    ErrorDocument 403 /otrs/index.pl
</Location>
OTRS meets Contao
Enfa
Znuny newbie
Posts: 86
Joined: 04 Dec 2006, 16:17
Location: Böblingen

Post by Enfa »

Hallo @all,


Signatur: OTRS 2.1.3,
WinXP,
MySQL,
Apache2.

danke für deine Mail lindesbs.

Hat leider nicht geklappt. Ich füge mal paar Auszüge aus der Datei "httpd".

Die Datei befindet sich im Verzeichnis: C:\OTRS\Apache2\conf\.:

ServerRoot "C:/OTRS/Apache2"

Listen 8080

DocumentRoot "C:/OTRS/Apache2/htdocs"


<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Satisfy all
</Directory>


Directory "C:/OTRS/Apache2/htdocs">


<IfModule dir_module>
#DirectoryIndex index.html
DirectoryIndex index.pl

</IfModule>


<IfModule alias_module>
ScriptAlias /cgi-bin/ "C:/OTRS/Apache2/cgi-bin/"

<Directory "C:/OTRS/Apache2/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>

<Location /otrs>
DirectoryIndex /otrs/index.pl
ErrorDocument 403 /otrs/index.pl
</Location>

Wenn ich paar andere Code's einfügen soll, dann gibt mir bescheid.

Vielen Dank im Voraus.

Tschüss
Locked