+ Antworten
Ergebnis 1 bis 6 von 6

Thema: Joomla Verzeichnis aus der URL verbannen?

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

    Frage Joomla Verzeichnis aus der URL verbannen?

    Hallo,

    ich habe jetzt schon stundenlang herumprobiert und 1000 seiten gelesen und ich bekomm es einfach nicht hin, dass nach aufruf meiner www.webseite.de das Joomla-Verzeichnis verschwindet..

    jetzt steht jedesmal nach aufruf der Seite das Joomal-Verzeichnis dabei, wo ich Joomla installiert habe. also www.webseite.de/verzeichnis :(((

    so schaut das aber nicht schön aus und darf auf keinen fall so bleiben. Den Umzug in das Rootverzeichnis möchte ich vermeiden weil es einige Komplikationen mit "Virtuemart" geben wird.

    ich habe mittlerweile die htaccess.txt umbenannt in .htaccess und im backend ist "mod_rewrite nutzen" und "Suchmaschinenfreundliche URLs" auch schon aktiviert.

    in der .htaccess habe ich:
    Options +FollowSymLinks
    mit einem # auskommentieren müssen weil ich sonst immer eine Fehlermeldung 500 bekam.

    und bei
    RewriteBase /
    habe ich den Joomlaordner dazugeschrieben .. jedoch bleibt beim Aufruf der Seite immer das Verzeichnis stehen.

    kann mir mal bitte fix jemand weiterhelfen?? wahrscheinlich ist es eh nur eine Kleinigkeit die ich ändern muss und ich hab halt keine Ahnung :-)


    lg

  2. #2
    Neu an Board
    Registriert seit
    31.08.2011
    Beiträge
    3
    Bedankte sich
    0
    Erhielt 0 Danksagungen
    in 0 Beiträgen

    Standard

    hier noch die .htaccess, da ich denke dass hier der Hund begraben ist!


    ##
    # @version $Id: htaccess.txt 21064 2011-04-03 22:12:19Z dextercowley $
    # @package Joomla
    # @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
    # @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
    # Joomla! is Free Software
    ##


    ################################################## ###
    # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
    #
    # The line just below this section: 'Options +FollowSymLinks' may cause problems
    # with some server configurations. It is required for use of mod_rewrite, but may already
    # be set by your server administrator in a way that dissallows changing it in
    # your .htaccess file. If using it causes your server to error out, comment it out (add # to
    # beginning of line), reload your site in your browser and test your sef url's. If they work,
    # it has been set by your server administrator and you do not need it set here.
    #
    ################################################## ###

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

    #
    # mod_rewrite in use

    RewriteEngine On

    ########## 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
    # Block out any script trying to set a mosConfig value through the URL
    RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
    # Block out any script trying to base64_encode data within the URL
    RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
    # Block out any script that includes a ********** tag in URL
    RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%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})
    # Return 403 Forbidden header and show the content of the root homepage
    RewriteRule .* index.php [F]
    #
    ########## End - Rewrite rules to block out some common exploits


    ########## Begin - Custom redirects
    #
    # If you need to redirect some pages, or set a canonical non-www to
    # www redirect (or vice versa), place that code here. Ensure those
    # redirects use the correct RewriteRule syntax and the [R=301,L] flags.
    #
    ########## End - Custom redirects


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

    RewriteBase /verzeichnis

    ########## Begin - Joomla! core SEF Section
    #
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    #
    # If the requested path and file is not /index.php and the request
    # has not already been internally rewritten to the index.php script
    RewriteCond %{REQUEST_URI} !^/index\.php
    # and the request is for root, or for an extensionless URL, or the
    # requested URL ends with one of the listed extensions
    RewriteCond %{REQUEST_URI} (/[^.]*|\.(php|html?|feed|pdf|raw))$ [NC]
    # and the requested path and file doesn't directly match a physical file
    RewriteCond %{REQUEST_FILENAME} !-f
    # and the requested path and file doesn't directly match a physical folder
    RewriteCond %{REQUEST_FILENAME} !-d
    # internally rewrite the request to the index.php script
    RewriteRule .* index.php [L]
    #
    ########## End - Joomla! core SEF Section

  3. #3
    Wohnt hier Avatar von cylance
    Registriert seit
    10.11.2010
    Beiträge
    2.313
    Bedankte sich
    189
    Erhielt 592 Danksagungen
    in 562 Beiträgen
    Meine Kristallkugel hat einen Sprung und die Tarotkarten hat's vom Tisch geweht. Detailierte Informationen sind hilfreich.
    We offer three kinds of service: good - chea p - fast. u can pick 2 of them
    FAQ vorn im Forum gelesen?

  4. #4
    Gehört zum Inventar Avatar von j!-n
    Registriert seit
    26.07.2007
    Ort
    EA / HH / B
    Beiträge
    5.846
    Bedankte sich
    258
    Erhielt 1.229 Danksagungen
    in 1.155 Beiträgen

    Standard

    bei vielen hostern kann man im kundenpanel die domain auf ein beliebiges verzeichnis setzen. in der vm-config mußt du das entsprechend anpassen. darüber hinaus empfiehlt es sich, die domain ohne www auf die domain mit www per htaccess umzubiegen, damit du mit dem vm keine probleme bekommst.
    Joomla kaputt? Gehackt? Migration mißlungen? Datensalat?
    www.joomla-notdienst.de - Soforthilfe & Webentwicklung
    Einsteiger- FAQ - bitte lesen!

  5. #5
    Neu an Board
    Registriert seit
    31.08.2011
    Beiträge
    3
    Bedankte sich
    0
    Erhielt 0 Danksagungen
    in 0 Beiträgen

    Standard

    Zitat Zitat von j!-n Beitrag anzeigen
    bei vielen hostern kann man im kundenpanel die domain auf ein beliebiges verzeichnis setzen. in der vm-config mußt du das entsprechend anpassen. darüber hinaus empfiehlt es sich, die domain ohne www auf die domain mit www per htaccess umzubiegen, damit du mit dem vm keine probleme bekommst.
    ja bei vielen Hostern kann man das einstellen.. jedoch bin ich genau bei einem, der dies nicht anbietet.

  6. #6
    Gute Seele des Boards Avatar von Indigo66
    Registriert seit
    30.10.2007
    Ort
    München
    Beiträge
    10.687
    Bedankte sich
    338
    Erhielt 3.354 Danksagungen
    in 3.244 Beiträgen

    Standard

    Na dann verschieb Dein Joomla ins Stammverzeichnis und passe den Pfad in der configuration.php an. Wäre in dem Fall der schnellste Weg.

+ Antworten

Lesezeichen

Berechtigungen

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