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
apache mod_rewrite

 
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
gog



Joined: 18 Jun 2004
Posts: 679
Location: zagreb

PostPosted: 24.02.2005 11:14    Post subject: apache mod_rewrite Add user to your forum ignore list Reply with quote

Nikako da omogučim mod_rewrite na svom lokalnom stroju doma. Editirao sam httpd.conf i odkomentirao

[code]LoadModule rewrite_module modules/mod_rewrite.so[(code]
i
[code]AddModule mod_rewrite.c[/code]

promijenio i slijedeće:

AccessFileName .htaccess u AccessFileName htacc.ess

Resetirao apache i mod_rewrite mi i dalje ne radi, nije problem u rewrite rulsima jer oni na serveru rade kako spada...
Back to top
View user's profile Send private message Visit poster's website
gog



Joined: 18 Jun 2004
Posts: 679
Location: zagreb

PostPosted: 24.02.2005 17:57    Post subject: Add user to your forum ignore list Reply with quote

Nakon par sati pručavanja sitepoint-ovog foruma nešto sam na kraju i skemijao, uglavnom, u httpd.conf-u treba unutar

<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>

staviti AllowOverride All

Isto tako i unutar <Directory "putanja_do_mjesta_gdje_držite_dokumente>

Naravoučenje, treba samo na ta dva mjesta promijeniti iz None u All, ukoliko to napravite samo na jednom mjestu neće raditi, isto tako ukoliko sve AllowOverride unutar conf. dokumenta promijenite u All dobit ćete 500 server error Very Happy

Možda nekome pomogne...

p.s. Ne treba niti mijenjati ime .htaccess datoteke, iz explorera se ne može, ali iz editora (bilo kojeg) možete pohraniti nešto s tim imenom (explorer se buni da nije uneđen filename, jer sve iza toče doživljava kao ekstenziju...)...

p.s. Ne znam samo kako sam prvi put sve to lijepo postavio bez ovolikog gubitka vremena Very Happy
Back to top
View user's profile Send private message Visit poster's website
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