Welcome Guest, Not a member yet? Register   Sign In
mode rewrite
#1

[eluser]kosaidpo[/eluser]
hey everyone
i've take off the index.php from the config file and from wht i kno activated the rewrite mode by decommentin the line

Code:
LoadModule rewrite_module modules/mod_rewrite.so
but i cudnt find this on my http.conf

Code:
<Directory />
   Options FollowSymLinks
   AllowOverride none
   Order deny,allow
   Deny from all
</Directory>



but i have this on my file
Code:
<Directory />
    Options FollowSymLinks
    AllowOverride all
    #XAMPP
    Order deny,allow
    Deny from all
</Directory>

and fom my view i call this methode like this

Code:
anchor('forum/showthread',some_var_here) ;

and i dont why it says cannot find the page Error 404

i dont kno how to make this work any help will be much appreciated
PS:on my config file $config['index_page']=''
#2

[eluser]danmontgomery[/eluser]
Hi Kosaidpo,

Since you uncommented the mod_rewrite line, have you restarted apache?

Also, when you say you get a 404, is it the apache 404, or codeigniter 404 message (codeigniter's looks like this: http://dl.dropbox.com/u/4748759/ci404.png)
#3

[eluser]kosaidpo[/eluser]
hi and tnx fo replyin

no i mean an apache one
#4

[eluser]danmontgomery[/eluser]
[quote author="noctrum" date="1269385951"]have you restarted apache?[/quote]

You also need to add the rewrite code to .htaccess, have you done that?

http://ellislab.com/codeigniter/user-gui.../urls.html "Removing the index.php file"
#5

[eluser]kosaidpo[/eluser]
yes i've restated it tnx
im on local where i can put this .htacces file
PS:im usin lampp

tnx bro
#6

[eluser]danmontgomery[/eluser]
.htaccess should be in the same directory as index.php
#7

[eluser]kosaidpo[/eluser]
which directory the one whre's htdocs or the appache ?? or CI ??
#8

[eluser]danmontgomery[/eluser]
CodeIgniter's index.php
#9

[eluser]kosaidpo[/eluser]
yeah i put it at that directory you told me with user guid and stuff
but it takes me to localhost/xampp and it shows me an error message sayin if i remove my coockis it might works
#10

[eluser]kosaidpo[/eluser]
hey

i ve read on thewiki this tuto but i stil cannot redirect anythin

can put on my http.conf to make sure if i have in the corecte way ??

tnx




Theme © iAndrew 2016 - Forum software by © MyBB