Welcome Guest, Not a member yet? Register   Sign In
.htaccess - Filenames in URI
#1

[eluser]Lockzi[/eluser]
Yea, you've guessed it!
This is another .htaccess help thread I'm afraid.

This is what my current .htaccess looks like
Code:
<IfModule mod_rewrite.c>
    Options +FollowSymlinks
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ 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 /index.php
</IfModule>

AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript application/javascript text/css

and it works just fine for me, except for with my filemanager.
When I try to do this
Code:
http://127.0.0.1/file_management/remove/images/Kass.jpg
it rewrites the url for codeigniter ( $this->uri->uri_string() ) to
Code:
http://127.0.0.1/file_management/remove/images/Kass_jpg


Been googling, but all I can find is how to REMOVE the dot instead of BRING BACK which is what people normally want.

Cheers,
Lockzi


Messages In This Thread
.htaccess - Filenames in URI - by El Forum - 10-05-2008, 04:48 PM
.htaccess - Filenames in URI - by El Forum - 10-05-2008, 04:52 PM
.htaccess - Filenames in URI - by El Forum - 10-05-2008, 04:58 PM
.htaccess - Filenames in URI - by El Forum - 10-05-2008, 05:10 PM
.htaccess - Filenames in URI - by El Forum - 10-06-2008, 03:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB