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
problemi s mod_rewrite + htaccess

 
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
retro_one



Joined: 16 Sep 2003
Posts: 880
Location: DUBRAVA.

PostPosted: 03.03.2005 16:02    Post subject: problemi s mod_rewrite + htaccess Add user to your forum ignore list Reply with quote

dakle...kad koristim ruleove za mod_rewrite u htaccess datoteci (lokalno) prilikom klika na link puca mi apache...kad stavim ruleove u httpd.conf sve fercera...imam instaliran wamp server...i da site je na virtual hostu

_________________
Just your average eccentric programmer.
Back to top
View user's profile Send private message
sime
Guest





PostPosted: 03.03.2005 16:05    Post subject: Reply with quote

Da, meni isto ne jebe .htaccess ako je sajt drugi po redu na virtual hostu, ako je samo jedan onda je sve ok. BTW, ja vrtim XAMPP ali voteva...

Enibody?
Back to top
maxy



Joined: 07 Sep 2003
Posts: 894
Location: Zagreb

PostPosted: 03.03.2005 16:44    Post subject: Add user to your forum ignore list Reply with quote

RewriteBase /path_do_web_dira/
RewriteRule ^(.*)?/$ /file.php?get=$1

(primjeti da poslije ^ ne dolazi /).

ako nemas u httpd.conf-u, dodaj Options +FollowSymLinks.
Back to top
View user's profile Send private message
sime
Guest





PostPosted: 03.03.2005 17:59    Post subject: Reply with quote

Thx maxy, I'll check it out. Ali ja mislim da meni .htaccess skroz ignorira ako imam dva virtual sitea, samo mi je ok za prvi (za koji je primarno i podešen httpd.conf)...
Back to top
maxy



Joined: 07 Sep 2003
Posts: 894
Location: Zagreb

PostPosted: 03.03.2005 18:53    Post subject: Add user to your forum ignore list Reply with quote

sime wrote:
Thx maxy, I'll check it out. Ali ja mislim da meni .htaccess skroz ignorira ako imam dva virtual sitea, samo mi je ok za prvi (za koji je primarno i podešen httpd.conf)...


tesko je reci gdje je problem kad se nema na uvid taj httpd.conf i problematicni .htacces.
no, cemu koristiti .htacces kada sve mozes podesiti u httpd.confu?
Back to top
View user's profile Send private message
sime
Guest





PostPosted: 03.03.2005 19:18    Post subject: Reply with quote

maxy wrote:
no, cemu koristiti .htacces kada sve mozes podesiti u httpd.confu?

Recimo, svaki sajt ima druga pravila. A drugi razlog da mi bude isto lokalno i onlajn, tako da samo uploadam bez razmišljanja.
Back to top
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