Welcome Guest, Not a member yet? Register   Sign In
mod_rewrite, what am i doing wrong?
#7

[eluser]ojcarga[/eluser]
@InsiteFX, it is strange cuase my .htaccess looks like this and works perfect.

Code:
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ /folder1/folder2/index.php?/$1 [L]

</IfModule>

<IfModule !mod_rewrite.c>
    # If we don't have mod_rewrite installed, all 404's
    # can be sent to index.php, and everything works as normal.
    # Submitted by: ElliotHaughin

    ErrorDocument 404 /folder1/folder2/index.php
</IfModule>


I guess I had to un-comment something inside the httpd.conf

Code:
LoadModule rewrite_module modules/mod_rewrite.so

and as you say, on windows it uses .so instead of .c ... strange, uh?


Messages In This Thread
mod_rewrite, what am i doing wrong? - by El Forum - 04-29-2012, 06:47 PM
mod_rewrite, what am i doing wrong? - by El Forum - 04-30-2012, 03:42 AM
mod_rewrite, what am i doing wrong? - by El Forum - 04-30-2012, 05:58 AM
mod_rewrite, what am i doing wrong? - by El Forum - 04-30-2012, 07:49 AM
mod_rewrite, what am i doing wrong? - by El Forum - 04-30-2012, 08:44 AM
mod_rewrite, what am i doing wrong? - by El Forum - 04-30-2012, 08:59 AM
mod_rewrite, what am i doing wrong? - by El Forum - 04-30-2012, 09:16 AM
mod_rewrite, what am i doing wrong? - by El Forum - 04-30-2012, 10:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB