Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Freundliche URLs und Galerie_Platzhalter
#3
AddDefaultCharset UTF-8
Options -Indexes

# blocks direct access to the XML files - they hold all the data!
<Files ~ "\.xml$">
Order allow,deny
Deny from all
Satisfy All
</Files>
<Files sitemap.xml>
Order allow,deny
Allow from all
Satisfy All
</Files>


RewriteEngine on

# Usually it RewriteBase is just '/', but
# replace it with your subdirectory path
RewriteBase /pension/

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]


Das ist der aktuelle Code.


Mit Hauptverzeichnis meinst du , im Hauptverzeichnis des Root-Servers, oder?
Wenn ja, dann nein. Es ist ein Unterordner.

Liebe Grüße

Jan
Reply


Messages In This Thread
RE: Freundliche URLs und Galerie_Platzhalter - by Flummi02 - 2012-11-30, 07:08:56



Users browsing this thread: 1 Guest(s)