Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
mod_rewrite help

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side
View previous topic :: View next topic  
Author Message
EX



Joined: 18 Jan 2005
Posts: 36

PostPosted: 11.12.2007 01:48    Post subject: mod_rewrite help Add user to your forum ignore list Reply with quote

Pokušavam ove linkove

http://domena.com/index.php?id=omeni
http://domena.com/index.php?id=radovi
http://domena.com/index.php?id=kontakt

pretvoriti u ovo

http://domena.com/omeni
http://domena.com/radovi
http://domena.com/kontakt

probao sam na puno načina al neće nikako, gdje griješim?



<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /domena.com/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /domena.com/index.php [L]
</IfModule>
Back to top
View user's profile Send private message
zytzagoo
mi3.crew


Joined: 25 Aug 2003
Posts: 1842
Location: Zagreb, Hrvatska

PostPosted: 11.12.2007 10:33    Post subject: Add user to your forum ignore list Reply with quote

Napamet, bez kave još...

Code:
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /path/do/dira/di/je/domena
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?id=$1 [L]
</IfModule>

_________________
[+]I[+]am[+]my[+]own[+]religion[+]
Back to top
View user's profile Send private message Visit poster's website Twitter profile
ghosap



Joined: 18 Sep 2003
Posts: 79

PostPosted: 11.12.2007 11:22    Post subject: Add user to your forum ignore list Reply with quote

Code:
RewriteEngine on
RewriteBase /
Options +FollowSymlinks
RewriteRule ^(.+)$ index.php?id=$1 [L]

_________________
. . . and when the balance is lost all that is left is the reckening . . .
Back to top
View user's profile Send private message
EX



Joined: 18 Jan 2005
Posts: 36

PostPosted: 11.12.2007 13:41    Post subject: Add user to your forum ignore list Reply with quote

ne valja...

_________________
http://www.exdizajn.com
Back to top
View user's profile Send private message
zytzagoo
mi3.crew


Joined: 25 Aug 2003
Posts: 1842
Location: Zagreb, Hrvatska

PostPosted: 11.12.2007 13:47    Post subject: Add user to your forum ignore list Reply with quote

sta ne valja? rade obadve varijante, al ovisi kak ti je podesen server, i kaj hoces postici...

_________________
[+]I[+]am[+]my[+]own[+]religion[+]
Back to top
View user's profile Send private message Visit poster's website Twitter profile
EX



Joined: 18 Jan 2005
Posts: 36

PostPosted: 11.12.2007 13:49    Post subject: Add user to your forum ignore list Reply with quote

e sad kad sam promjenio

ovo

RewriteBase /path/do/dira/di/je/domena

u ovo

RewriteBase /.

šljaka.....


hvala

_________________
http://www.exdizajn.com
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group