May 23, 2012, 11:05:51 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Please support SEO4smf further development donating here or use paypal button from left menu.
 
  Home   Forum   Help Search Directory Calendar Login Register    RSS 2.0 feedAtom feed


News
Please support SEO4smf further development donating here or use paypal button from left menu.
Pages: [1]
  Print  
Author Topic:

.htaccess ? not work 0o

 (Read 1910 times)
0 Members and 1 Guest are viewing this topic.
wolf12
Newbie
*

Points: 0
Offline Offline

Posts: 2


« on: March 08, 2009, 15:04:47 »

hello
is not work Sad  Huh? Roll Eyes

my htaccess in root

Code:
##
# @version $Id: htaccess.txt 10492 2008-07-02 06:38:28Z ircmaxell $
# @package Joomla
# @copyright Copyright (C) 2005 - 2008 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


Options +Indexes
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php43 .php4
AddType application/x-httpd-php5 .php .php5



#
#  mod_rewrite in use

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteRule ^(.*)$ http://seg-way.de/$1 [L,R=301]

########## 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!
#
# 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 crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> 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)


#DirectoryIndex index.php
RewriteEngine On
RewriteBase /

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


RewriteEngine on



#Some apache servers need Rewritebase.

#delete # from start of Rewrite base to enable it.

#If your forum is something like http://www.forum-example.com/forum then modify your

#RewriteBase in this way: RewriteBase /forum



RewriteBase /forum


#Archive/Sitemaps
RewriteRule ^sitemaps-([a-zA-Z0-9-]*)\.html index.php?dummy=1&action=seo4smfsitemaps&sa=$1 [L]

RewriteCond %{REQUEST_METHOD} =GET
RewriteCond %{QUERY_STRING} ^action=(.*)$
RewriteRule  ^(.*)$ seo4smf-redirect.php?a=%1 [R=301,L]


RewriteCond %{QUERY_STRING} ^topic=([0-9]*)$

RewriteRule  ^(.*)$ seo4smf-redirect.php?t=%1 [R=301,L]



RewriteCond %{QUERY_STRING} ^topic=([0-9]*).([0-9]*)

RewriteRule  ^(.*)$ seo4smf-redirect.php?t=%1 [R=301,L]



RewriteCond %{QUERY_STRING} ^board=([0-9]*).([0-9]*)

RewriteRule  ^(.*)$ seo4smf-redirect.php?b=%1 [R=301,L]



RewriteCond %{QUERY_STRING} ^action=profile;u=([0-9]*);(.*)$

RewriteRule  ^(.*)$ seo4smf-redirect.php?u=%1;param=%2 [R=301,L]



RewriteCond %{QUERY_STRING} ^action=profile;u=([0-9]*)

RewriteRule  ^(.*)$ seo4smf-redirect.php?u=%1 [R=301,L]



#Tiny Portal Old Url's

RewriteCond %{QUERY_STRING} ^page=([0-9]*)

RewriteRule  ^(.*)$ seo4smf-redirect.php?p=%1 [R=301,L]



#Rewrite Old urls

RewriteRule  ^index.php/board,(.*).html seo4smf-redirect.php?b=$1 [R=301,L]

RewriteRule  ^index.php/board,(.*).html;(.*) seo4smf-redirect.php?b=$1&o=$2 [R=301,L]



RewriteRule  ^index.php/topic,(.*).html seo4smf-redirect.php?t=$1 [R=301,L]

RewriteRule  ^index.php/topic,(.*).html;(.*) seo4smf-redirect.php?t=$1&o=$2 [R=301,L]



#Bad Url's

RewriteRule  ^(.*)/-t(.*).html seo4smf-redirect.php?t=$2 [R=301,L]

RewriteRule  ^-b(.*)/$ seo4smf-redirect.php?b=$1 [R=301,L]

RewriteRule  ^-b(.*)/(.*)$ seo4smf-redirect.php?b=$1 [R=301,L]

RewriteRule  ^(.*)/-b(.*)/$ seo4smf-redirect.php?b=$2 [R=301,L]

RewriteRule ^tpmod.html&(.*)$ /index.php?action=tpmod;dl=item31 [L]





#New board URL's

RewriteRule ^(.*)-b([0-9]*)\.([0-9]*)/;(.*) index.php?dummy=1&board=$2.$3&$4 [L]

RewriteRule ^(.*)-b([0-9]*)\.([0-9]*)/$ index.php?dummy=2&board=$2.$3 [L]

RewriteRule ^(.*)-b([0-9]*)\.([0-9])$ index.php?dummy=2&board=$2.$3 [L]



#New topic URL's

RewriteRule ^(.*)-t([0-9]*)\.([0-9]*)\.html;((\?:from|msg|new)[0-9]*);(.*)$ index.php?dummy=1&topic=$2.$4&$6 [L]

RewriteRule ^(.*)-t([0-9]*)\.([0-9]*)\.html;((\?:from|msg|new)[0-9]*) index.php?dummy=1&topic=$2.$4 [L]

RewriteRule ^(.*)-t([0-9]*)\.([0-9]*)\.html;(.*)$ index.php?dummy=1&topic=$2.$3&$4 [L]

RewriteRule ^(.*)-t([0-9]*)\.([0-9]*)\.html$ index.php?dummy=1&topic=$2.$3 [L]



#New profiles URL's

RewriteRule ^(.*)-u([0-9]*)\.html;sa,(.*);start,([0-9]*);delete,([0-9]*);sesc,([a-z0-9]*)$ index.php?dummy=1&action=profile;u=$2;sa=$3;start=$4;delete=$5;sesc=$6 [L]

RewriteRule ^(.*)-u([0-9]*)\.html;sa,(.*);start,([0-9]*)$ index.php?dummy=1&action=profile;u=$2;sa=$3;start=$4 [L]

RewriteRule ^(.*)-u([0-9]*)\.html;sa,(.*)$ index.php?dummy=1&action=profile;u=$2;sa=$3 [L]

RewriteRule ^(.*)-u([0-9]*)\.html index.php?dummy=1&action=profile;u=$2 [L]


#New Tinyportal Articles URL's
RewriteRule ^(.*)-p([0-9]*)\.html index.php?dummy=1&page=$2 [L]


#New action Url's
RewriteRule ^(.*)\.html(.*)$ index.php?dummy=1;action=$1;$2 [L]
RewriteRule ^(.*)\.html$ index.php?dummy=1;action=$1 [L]

#Sitemaps
RewriteRule sitemap.xml sitemaps.php [L]
RewriteRule urllist.txt urllist.php [L]



my site .. www.seg-way.de/forum

thx  Wink

« Last Edit: March 08, 2009, 17:45:41 by wolf12 » Logged


wolf12
Newbie
*

Points: 0
Offline Offline

Posts: 2


« Reply #1 on: March 09, 2009, 10:55:05 »

Huh??? help me plase
Logged
matei
Newbie
*

Points: 0
Offline Offline

Posts: 4


« Reply #2 on: January 12, 2012, 21:15:42 »

Do you have error messages?, like :

    * Path too long
    * Error cannot delete file: cannot read from source file or disk
    * Cannot delete file: Access is denied
    * There has been a sharing violation.
    * Cannot delete file or folder The file name you specified is not valid or too long. Specify a different file name.
    * The source or destination file may be in use.
    * The file is in use by another program or user.
    * Error Deleting File or Folder
    * Make sure the disk is not full or write-protected and that the file is not currently in use.
    * Error Copying File or Folder.
    * Cannot remove folder.
    * The filename or extension is too long.
    * Path too deep.
    * Destination Path Too Long.
    * Could not find this item.
    * Filename is not valid.
    * The file could not be accessed.
    * The path you entered, is too long. Enter a shorter path.
    * File Name could not be found. Check the spelling of the filename, and verify that the file location is correct.
Then try longpathtool
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
Valid XHTML 1.0! Valid CSS!