Zum Inhalt springen

Probleme beim BE Login

Erstellt am 7. November 2004 · 9 Antworten · letzte Antwort am 12. November 2004

Tags: Frage

jat ·

Hallo Leute,

eine Typo3 Installation auf eigenem Server lief problemlos. Nun wollte ich das ganze auf meiner Domain bei freenet installieren.
Die Installation lief ohne Schwierigkeiten. Doch wenn ich mich dann ins BE einloggen will kommt folgende Fehlermeldung vom Browser:

******************************************
500: Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the owner of this domain webmaster@***.de and inform him or her of the time the error occurred, and anything you might have done that may have caused the error.

If you are the owner please check the CGI program /cms370/typo3/alt_main.php for correct syntax and correct file ownerships and rights or check incorrect directives in access restriction configuration files (.htaccess). If the problem persists please contact our customer support service.
******************************************

Ich habe leider keine Idee was da los ist und bisherige Probleme mit dem Provider freenet bezogen sich schon auf Installationsprobleme. Also wenn Ihr eine Idee habt zögert nicht.

Also schon mal vielen Dank für Eure Mühen!
jat

jat ·

Hallo Junior,

danke dass du dich meiner annehmen willst.
Was willst du denn von der .htacces sehen? Alles?
Grundsätzlich kann ich sagen, dass ich da noch nichts geschraubt habe.
Meine Idee geht aber dahin dass irgendwas mit der Ausführung der php Skripte nicht richig funzt. Ist aber nur ne Idee.

Gruß
jat

b.​detert ·

Könnte auch an den Rechten der Dateien liegen.
Sind diese dem richtigen User zugeordnet ?
Und habe diese auch die benötigten Rechte ?

Junior ·

Poste doch mal deien .htaccess und gib mal auf der Konsole

la -a

ein und poste das Ergebnis hier.

Gruss Junior

jat ·

@Junior Ok, hier ist der Inhalt der .htaccess:

### Begin: Rewrite stuff ###

# Enable URL rewriting
RewriteEngine On

# To assist in debugging rewriting, you could use these lines
# DON'T enable it for production!
# This will only work in httpd.conf, not in .htaccess files
#RewriteLog /var/log/apache/rewrite.log
#RewriteLogLevel 9

# If you use the RealUrl extension, then you'll have to enable the next line.
# You will have to change this path if your TYPO3 installation is located
# in a subdirectory of the website root.
#
# If you place this in httpd.conf, you cannot use this directive in any case!
#RewriteBase /

# Stop rewrite processing if we are in the typo3/ directory
# For httpd.conf, use this line instead of the next one:
# RewriteRule ^/TYPO3root/(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic.php)/ - [L]
RewriteRule ^(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic.php)/ - [L]

# Redirect http://mysite/typo3 to http://mysite/typo3/index_re.php
# and stop the rewrite processing
# For httpd.conf, use this line instead of the next one:
# RewriteRule ^/TYPO3root/typo3$ /TYPO3root/typo3/index.php [L]
RewriteRule ^typo3$ typo3/index_re.php [L]

# If the file/symlink/directory does not exist => Redirect to index.php
# Important note: If you copy/paste this into httpd.conf instead
# of .htaccess you will need to add '%{DOCUMENT_ROOT}' left to each
# '%{REQUEST_FILENAME}' part.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l

# Main URL rewriting.

# If you use Windows and SimulateStaticDocuments do not work, try adding a
# slash (/) right before 'index.php' below.

# The example shows how to rewrite only *.html and *.pdf files to index.php
# This may be helpful when using an extension that can generate PDF files
# on the fly.
# Example: RewriteRule .*.(html|pdf)$ index.php [L]

# For httpd.conf, use this line instead of the next one that has no '#':
# RewriteRule .* /TYPO3root/index.php [L]

# For use with the RealUrl extension, you might need to remove the
# RewriteBase directive somewhere above and use this line instead of the
# next one:
# RewriteRule .* /index.php [L]

RewriteRule .* index.php [L]

### End: Rewrite stuff ###

### Begin: PHP optimisation ###

# All features below are left to the default if you don't change this.
# Simply remove the comment marks if you want to use some/all of these
# settings

# The PHP developers recommend disabling this feature. Do that.
# It's deprecated and is likely to be unsupported in future versions of PHP.
#php_flag allow_call_time_pass_reference off

# TYPO3 works fine with register_globals turned off.
# This is highly recommended!
#php_flag register_globals off

# PHP may not declare the argv & argc variables (that would contain the GET
# information).
# TYPO3 doesn't need this, so just turn it off.
#php_flag register_argc_argv off

# Magic quotes for runtime-generated data (data from SQL, exec(), etc.)
#php_flag magic_quotes_gpc off

# Order in which PHP registers GET, POST, Cookie and Built-in variables
#php_value variables_order GPCS

### End: PHP optimisation ###

# Add your own rules here
# ...

Und hier das Ergebnis der "ls -a" Geschichte:
INSTALL.txt README.txt _.htaccess fileadmin media t3lib typo3 typo3conf uploads
.. Package.txt RELEASE_NOTES.txt clear.gif index.php showpic.php tslib typo3_src typo3temp

oder wolltest du etwas über die Rechte wissen?

@B.Detert: Welche Dateien sind denn kritisch und welche Attribute sollten sie haben?

Gruß und Dank an alle
jat

jat ·

Also dann hier die "ll" Ausgabe:

8 -rw-r--r-- 1 U208234 G208234 4937 Sep 24 13:06 INSTALL.txt
4 -rw-r--r-- 1 U208234 G208234 608 Sep 24 13:06 Package.txt
8 -rw-r--r-- 1 U208234 G208234 8116 Sep 24 13:06 README.txt
4 -rw-r--r-- 1 U208234 G208234 2207 Sep 24 13:06 RELEASE_NOTES.txt
8 -rw-r--r-- 1 U208234 G208234 4509 Sep 24 13:06 _.htaccess
4 -rw-r--r-- 1 U208234 G208234 46 Sep 24 13:06 clear.gif
4 drwxr-xr-x 4 U208234 G208234 4096 Nov 7 13:31 fileadmin
0 lrwxrwxrwx 1 U208234 G208234 18 Nov 6 16:43 index.php -> tslib/index_ts.php
0 lrwxrwxrwx 1 U208234 G208234 11 Nov 6 16:43 media -> tslib/media
0 lrwxrwxrwx 1 U208234 G208234 17 Nov 6 16:43 showpic.php -> tslib/showpic.php
0 lrwxrwxrwx 1 U208234 G208234 15 Nov 6 16:43 t3lib -> typo3_src/t3lib
0 lrwxrwxrwx 1 U208234 G208234 15 Nov 6 16:43 tslib -> typo3_src/tslib
0 lrwxrwxrwx 1 U208234 G208234 15 Nov 6 16:43 typo3 -> typo3_src/typo3
0 lrwxrwxrwx 1 U208234 G208234 18 Nov 6 16:43 typo3_src -> ../typo3_src-3.7.0
4 drwxr-xr-x 3 U208234 G208234 4096 Nov 7 13:31 typo3conf
4 drwxr-xr-x 3 U208234 G208234 4096 Nov 7 13:31 typo3temp
4 drwxr-xr-x 6 U208234 G208234 4096 Nov 7 13:31 uploads

Oh man ich bin ja so gespannt was ihr mir dazu sagen könnt. Lieber ein dummer kleiner Fehler als irgendwas kompliziertes 😃 .
Bei den obigen Rechten habe ich nur die der index.php mal beim rumprobieren geändert und mal die Rechte satt verteilt ;-).

Gruß
jat

Junior ·

Mhmmm...

Der Benutzer ist bei dir "U208234 G208234" kannst du da einen chown auf root oder wwrun machen?

Versuchs doch mal bei /cms370/typo3/alt_main.php da scheint ja der Hase im Pfeffer zu liegen.

Bzw. wie sehen denn dort die Benutzer aus?

Gruss Junior

jat ·

Also ein chown steht wohl nicht im Fundus der möglichen Befehle. Kann man da noch irgendwas machen?

Denn ich kann mich ja einloggen also auf die index.php im typo3 ordner zugreifen.

24 -rw-r--r-- 1 U208234 G208234 21668 Sep 24 13:06 index.php

Gruß
Jan