Koozali.org: home of the SME Server

LX-Office gesucht !

Offline e[nt]e

  • *
  • 172
  • +0/-0
Re: LX-Office gesucht !
« Reply #15 on: October 14, 2008, 08:56:57 PM »
Wie kann ich die http.conf nochmal neu schreiben lassen?

Code: [Select]
expand-template /etc/httpd/conf/httpd.conf
1984 wasn't meant to be a manual.

Offline chrischnian

  • **
  • 37
  • +0/-0
Re: LX-Office gesucht !
« Reply #16 on: October 14, 2008, 09:04:59 PM »
So hier mal der Stand!!

Ich werde die http.conf nochmal neu schreiben lassen.

So das ist der Stand nach einen rekonfig.

Beim starten bzw restart des httpd bekomme ich wieder diese Meldung!

Code: [Select]
[root@hauptserver1 httpd]# /etc/init.d/httpd restart
httpd beenden:                                             [  OK  ]
httpd starten: Syntax error on line 1214 of /etc/httpd/conf/httpd.conf:
</Directory>Alias> directive missing closing '>'
                                                           [FEHLGESCHLAGEN]
[root@hauptserver1 httpd]#

Ein Blick in die http.conf zeigt mir dies:

Code: [Select]
<Directory /home/e-smith/files/ibays/Primary/files>
    AllowOverride None
    order deny,allow
    deny from all
    allow from all
</Directory>

#------------------------------------------------------------
# lx-office ibay directories (LX-Office)
#------------------------------------------------------------

<Directory /home/e-smith/files/ibays/lx-office/html>
    Options None
    Options +Indexes
    Options +Includes
    AllowOverride None
    order deny,allow
    deny from all
    allow from all
</Directory>

<Directory /home/e-smith/files/ibays/lx-office/cgi-bin>
    Options ExecCGI
    AllowOverride None
    order deny,allow
    deny from all
    allow from all
</Directory>

<Directory /home/e-smith/files/ibays/lx-office/files>
    AllowOverride None
    order deny,allow
    deny from all
    allow from all
</Directory>


<Directory /home/e-smith/files/ibays/Primary/html>
    AddType application/x-httpd-php .php .php3 .phtml
    AddType application/x-httpd-php-source .phps
    php_admin_value open_basedir /home/e-smith/files/ibays/Primary/
</Directory>

<Directory /home/e-smith/files/ibays/lx-office/html>
    AddType application/x-httpd-php .php .php3 .phtml
    AddType application/x-httpd-php-source .phps
    php_admin_value open_basedir /home/e-smith/files/ibays/lx-office/
</Directory>


Alias /lx-office/ /home/e-smith/files/ibays/lx-office/html/
<Directory /home/e-smith/files/ibays/lx-office/html>
AllowOverride All
AddHandler cgi-script .pl
Options ExecCGI Includes FollowSymlinks
Order Allow,Deny
Allow from All
</Directory>

<Directory /home/e-smith/files/ibays/lx-office/html/users>
Order Deny,Allow
Deny from All
</Directory>Alias /wpad.dat /etc/httpd/conf/proxy/proxy.pac
<Location /wpad.dat>
    order deny,allow
    deny from all
    allow from 127.0.0.1 192.168.2.0/255.255.255.0
</Location>
Alias /proxy.pac /etc/httpd/conf/proxy/proxy.pac
<Location /proxy.pac>
    order deny,allow
    deny from all
    allow from 127.0.0.1 192.168.2.0/255.255.255.0
</Location>

<Location /server-manager/cgi-bin/backup>
    SetEnv force-proxy-request-1.0 1
</Location>

Die letzte ist die Zeile 1229

Wer kann mir hier nun helfen?

Offline chrischnian

  • **
  • 37
  • +0/-0
Re: LX-Office gesucht !
« Reply #17 on: October 15, 2008, 04:10:30 PM »
Wie kann ich diese Template verändern?

So kann ich mal verschiedenes probieren!

Offline e[nt]e

  • *
  • 172
  • +0/-0
Re: LX-Office gesucht !
« Reply #18 on: October 15, 2008, 04:35:48 PM »
Kommt diese Fehlermeldung beim Apache restart erst seitdem du LX Office installiert hast?
Wie hast du LX Office installiert?
Ich nehme mal an nach der Anleitung die fpausp gepostet hatte, da du das ganze ja scheinbar in einem ibay installiert hast.

Wenn du mal in deiner httpd.conf in der Zeile guckst die dir beim Apache restart als Fehlerquelle ausgegeben wird, dann siehst du, dass da
Code: [Select]
</Directory>Alias /wpad.dat /etc/httpd/conf/proxy/proxy.pac steht.
Das Problem: Das gehört nicht alles in eine Zeile.

Das
Code: [Select]
<Directory /home/e-smith/files/ibays/lx-office/html/users>
Order Deny,Allow
Deny from All
</Directory>
was davor steht wird durch die Datei 95lx-erp, die du in Schritt 6 des How-To's angelegt hast, erzeugt.

So nun zur simplen Lösung des Problems:
Öffne die Datei 95lx-erp nochmal und füge am Ende noch einen Zeilenumbruch ein. Dann nochmal ein
Code: [Select]
expand-template /etc/httpd/conf/httpd.conf
Dann sollte beim Apache restart alles glatt laufen.

Gruß
Niklas
1984 wasn't meant to be a manual.