+ Antworten
Ergebnis 1 bis 6 von 6

Thema: [mod_rewrite] Hilfe Benötigt !

  1. #1
    Neu an Board
    Registriert seit
    12.07.2010
    Beiträge
    26
    Bedankte sich
    3
    Erhielt 0 Danksagungen
    in 0 Beiträgen

    Standard [mod_rewrite] Hilfe Benötigt !

    Hallo

    Also ich bin auch bei 1und1 und habe dort das Paket Hopage Perfekt,

    Jetzt Wollte ich mod_rewrite nutzen, aber leider geht es nicht.

    Suchmaschinenfreundliche URL und Dateiendung an URL fügen funktioniern. mod-rewrite aber leichter nicht. Wenn ich mod_rewrite aktiviere bekomme ich (wenn ich auf einen Link Klicke) folgende Fehlermeldung:

    Multiple Choices
    The document name you requested (/index.php) could not be found on this server. However, we found documents with names similar to the one you requested.

    Available documents:

    * /index.htm (common basename)



    Meine htaccess sieht so aus

    ################################################## ###

    ## Can be commented out if causes errors, see notes above.
    Options +FollowSymLinks

    #
    # mod_rewrite in use

    RewriteEngine On

    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php


    ########## Begin - Rewrite rules to block out some common exploits
    ## If you experience problems on your site block out the operations listed below
    ## This attempts to block the most common type of exploit `attempts` to Joomla!
    #
    ## Deny access to extension xml files (uncomment out to activate)
    #<Files ~ "\.xml$">
    #Order allow,deny
    #Deny from all
    #Satisfy all
    #</Files>
    ## End of deny access to extension xml files
    RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
    # Block out any script trying to base64_encode crap to send via URL
    RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
    # Block out any script that includes a ********** tag in URL
    RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
    # Block out any script trying to set a PHP GLOBALS variable via URL
    RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
    # Block out any script trying to modify a _REQUEST variable via URL
    RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
    # Send all blocked request to homepage with 403 Forbidden error!
    RewriteRule ^(.*)$ index.php [F,L]
    #
    ########## End - Rewrite rules to block out some common exploits

    # Uncomment following line if your webserver's URL
    # is not directly related to physical file paths.
    # Update Your Joomla! Directory (just / for root)

    RewriteBase /

    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php


    ########## Begin - Joomla! core SEF Section
    #
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !^/index.php
    RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
    RewriteRule (.*) index.php
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
    #
    ########## End - Joomla! core SEF Section


    //EDIT

    Ich habe mal hinter der RewriteBase / Joomla (Order in dem die .htaccess liegt) angegben.
    Denn funktioniert es zwar aber nicht so wie es soll.

    Es Steht dort nicht

    xxxxx.de/ Joomla /joomla-overview.html (Beispiel)

    sonden bei wirklich jeder Seite steht dort denn

    xxxxx.de/ Joomla /index.php


    Ich hoffe ihr könnt mir helfen

    Langsem bin ich am verzweifeln.

  2. #2
    Moderator Avatar von time4mambo
    Registriert seit
    11.12.2006
    Ort
    76646 Bruchsal
    Alter
    54
    Beiträge
    13.739
    Bedankte sich
    422
    Erhielt 2.844 Danksagungen
    in 2.674 Beiträgen

    Standard

    Man darf in diesem Forum auch die Suche benutzen. Ich habs gerade für dich getan und als Suchbegriff "1und1" eingegeben.
    Da gibts dann ganz viele Treffer:
    http://www.joomlaportal.de/search.php?searchid=6300905

    Und der hier könnte richtig interessant für dich sein:
    http://www.joomlaportal.de/joomla-in...geschafft.html


    Axel
    Schulungen, Webentwicklung: time4mambo
    (Video-)Tutorials: time4joomla
    Aktuelle Projekte: Verschiedene Joomla-Bücher schreiben

  3. #3
    Gute Seele des Boards Avatar von keraM
    Registriert seit
    12.03.2006
    Ort
    Dresden
    Beiträge
    10.012
    Bedankte sich
    143
    Erhielt 2.411 Danksagungen
    in 2.231 Beiträgen

    Standard

    In einem anderen Thread von heute las ich, daß es bei 1und1 sowohl Server mit Linux als auch mit Windows gibt. Auf den Windows Servern funktioniert dann SEF mit mod_rewrite nicht.
    Also entweder im Backend auf SEF ohne mod_rewrite umschalten, oder den Support bitten , das Web auf einen Linux Server umzuziehen.
    Gruß keraM
    Joomla-FAQ: --> Klick!
    Support per PN: --> Klick!

  4. #4
    Neu an Board
    Registriert seit
    12.07.2010
    Beiträge
    26
    Bedankte sich
    3
    Erhielt 0 Danksagungen
    in 0 Beiträgen

    Standard

    Sry aber ich hatte auch schon die Suche benutzt, hat mir aber leider nicht weitergeholfen...

    So jetzt geht es,... ich habe es selbst rausgefunden.

    Es lag daran dass meine domain auf www.xxx.de/bla geleitet ist aber erst in den Unterordner www.xxx.de/bla/joomla/ geleitet werden musste.


    Hier die .htaccess mit der mod_rewrite bei 1und1 funktioniert.



    ## Can be commented out if causes errors, see notes above.
    Options +FollowSymLinks

    #
    # mod_rewrite in use

    RewriteEngine On

    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php


    ########## Begin - Rewrite rules to block out some common exploits
    ## If you experience problems on your site block out the operations listed below
    ## This attempts to block the most common type of exploit `attempts` to Joomla!
    #
    ## Deny access to extension xml files (uncomment out to activate)
    #<Files ~ "\.xml$">
    #Order allow,deny
    #Deny from all
    #Satisfy all
    #</Files>
    ## End of deny access to extension xml files
    RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
    # Block out any script trying to base64_encode crap to send via URL
    RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
    # Block out any script that includes a ********** tag in URL
    RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
    # Block out any script trying to set a PHP GLOBALS variable via URL
    RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
    # Block out any script trying to modify a _REQUEST variable via URL
    RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
    # Send all blocked request to homepage with 403 Forbidden error!
    RewriteRule ^(.*)$ /joomla/index.php [F,L]
    #
    ########## End - Rewrite rules to block out some common exploits

    # Uncomment following line if your webserver's URL
    # is not directly related to physical file paths.
    # Update Your Joomla! Directory (just / for root)

    RewriteBase /joomla/index.php


    ########## Begin - Joomla! core SEF Section
    #
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !^/venetou/index.php
    RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
    RewriteRule (.*) /joomla/index.php
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
    #
    ########## End - Joomla! core SEF Section
    Geändert von since89 (13.07.2010 um 20:15 Uhr)

  5. #5
    Gute Seele des Boards Avatar von keraM
    Registriert seit
    12.03.2006
    Ort
    Dresden
    Beiträge
    10.012
    Bedankte sich
    143
    Erhielt 2.411 Danksagungen
    in 2.231 Beiträgen

    Standard

    Zitat Zitat von since89 Beitrag anzeigen
    ...
    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php
    ...
    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php
    ...
    Doppelte Aktivierung von PHP5 ist nicht nötig. Ein Codepaar kannst Du also löschen.
    Gruß keraM
    Joomla-FAQ: --> Klick!
    Support per PN: --> Klick!

  6. Erhielt Danksagungen von:


  7. #6
    Neu an Board
    Registriert seit
    12.07.2010
    Beiträge
    26
    Bedankte sich
    3
    Erhielt 0 Danksagungen
    in 0 Beiträgen

    Standard

    Habs schon bemerkt .

+ Antworten

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein