Not logged in. · Lost password · Register
Forum: General Help and Support Server Setup RSS
userewrite .htaccess
Avatar
foozzi #1
Member since Sep 2011 · 30 posts
Group memberships: Members
Show profile · Link to this post
Subject: userewrite .htaccess
Hi
I put in the settings through userewrite .htaccess
but now the pages are displayed as:
http://knotux.ru/namespace/ipagename

how to remove the namespace?

my config .htaccess:
RewriteEngine on
 
RewriteBase /
 
RewriteRule ^_media/(.*)              lib/exe/fetch.php?media=$1  [QSA,L]
RewriteRule ^_detail/(.*)             lib/exe/detail.php?media=$1  [QSA,L]
RewriteRule ^_export/([^/]+)/(.*)     doku.php?do=export_$1&id=$2  [QSA,L]
RewriteRule ^$                        doku.php  [L]
RewriteCond %{REQUEST_FILENAME}       !-f
RewriteCond %{REQUEST_FILENAME}       !-d
RewriteRule (.*)                      doku.php?id=$1  [QSA,L]
Avatar
lupo49 (Moderator) #2
Member since Jul 2009 · 1397 posts · Location: Warstein, Germany
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
It is working or?

If I remove the "namespace" of the address the page seems good: http://knotux.ru/blog
Avatar
foozzi #3
Member since Sep 2011 · 30 posts
Group memberships: Members
Show profile · Link to this post
look:
http://knotux.ru/namespace/iпочему-не-вышел-скринкаст
and non page
[Image: http://img254.imageshack.us/img254/9972/47812402.png]
Avatar
Andreas (Moderator) #4
Member since Dec 2009 · 264 posts · Location: Karlsruhe, Germany
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
I think you just use relative links in the sidebar of your template, therefore they change and point to the current namespace of every page you call. This has nothing todo with url rewriting. Replace the [[.:foobar|text]] links in your sidebar with absolute ones ([[:foobar|text]]).
I'm so electronic I shit bits
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20120620-dev, © 2003-2011 by Yves Goergen
Current time: 2014-04-24, 11:04:17 (UTC +02:00)