Results 1 to 2 of 2

Problem mit .htacces file und einem zweiten Projekt

This is a discussion on Problem mit .htacces file und einem zweiten Projekt within the Deutsch forums, part of the General Discussion category; Hallo! Ich hab folgendes .htaccess file: Code: # Comment the following line (add '#' at the beginning) # to disable ...

  1. #1
    Member
    Real Name
    SonicRC
    Join Date
    May 2008
    Posts
    32
    Liked
    0 times

    Problem mit .htacces file und einem zweiten Projekt

    Hallo!

    Ich hab folgendes .htaccess file:

    Code:
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.# Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.RewriteEngine On
     
    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums/)
    #RewriteBase / 
     
    RewriteCond %{HTTP_HOST} !^www\.projekt1\.de
    RewriteRule (.*) http://www.projekt1.de/$1 [L,R=301]
     
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
     
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
    RewriteRule ^(.*\.php(/.*)?)$ vbseo.php [L,QSA] 
     
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php [L,QSA]
    Das hat bisher super funktioniert. Nun hab ich aber ein neues Projekt,welches nix mit vbseo zutun hat. Dieses ist auf dem gleichen Server im Ordner prokjet1.de/projekt2

    Nun hab ich eine neue domain. Die heisst projekt2.de. Leider wird diese nun immer auf prokjet1.de/projekt2 weitergeleitet. Ich nehme an das liegt am .htacces file. Wie kann man das verhindern?

    Ich hoffe das war verständlich beschrieben.

    vB liegt übrigens im root ordner.

    gruss

    sonic
    Last edited by SonicRC; 10-14-2008 at 03:32 AM.

  2. #2
    Member
    Real Name
    SonicRC
    Join Date
    May 2008
    Posts
    32
    Liked
    0 times
    Mist, der Thread kann gelöscht werden. Ich hab ne bessere Methode gefunden, bei der ich nichts an der htacces machen muss .

Similar Threads

  1. Problem mit einem BB Code
    By MrD in forum Deutsch
    Replies: 17
    Last Post: 02-04-2008, 12:31 PM
  2. htacces and bad spiders
    By Lee G in forum URL Rewrite Settings
    Replies: 0
    Last Post: 10-31-2007, 03:44 PM
  3. Problem in .htacces original file
    By adivor in forum URL Rewrite Settings
    Replies: 4
    Last Post: 10-21-2007, 12:11 PM
  4. Replies: 4
    Last Post: 05-03-2007, 02:20 AM
  5. htaccess file problem / vbseo problem
    By Bestgfe in forum Troubleshooting
    Replies: 6
    Last Post: 04-05-2006, 09:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •