Welcome Guest, Not a member yet? Register   Sign In
Problem with .htaccess on localhost
#1

[eluser]Bramme[/eluser]
Hey all,

I'm experiencing some trouble with my .htaccess file on my localhost, running Ubuntu Hardy Heron. I've created my .htaccess file:
Code:
Options -Indexes
Options +FollowSymLinks

DirectoryIndex index.php
<IfModule mod_rewrite.c>
    RewriteEngine on
    
    RewriteCond $1 !^(index\.php|_assets)

    RewriteCond %{REQUEST_FILENAME} !index.php
    RewriteRule (.*)\.php$ index.php/$1
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php/$1 [QSA,L]
    
</IfModule>
<IfModule !mod_rewrite.c>
    ErrorDocument 404 index.php
</IfModule>
I go to localhost, I see the standard welcome, I go to localhost/index.php?/welcome/ all is still fine. I go to localhost/welcome/ and I see a complete white page, with only two words in it: "index.php"

Does anybody know what could be causing this?


Messages In This Thread
Problem with .htaccess on localhost - by El Forum - 09-05-2008, 05:30 PM
Problem with .htaccess on localhost - by El Forum - 09-06-2008, 03:56 PM
Problem with .htaccess on localhost - by El Forum - 09-06-2008, 06:38 PM
Problem with .htaccess on localhost - by El Forum - 09-06-2008, 06:51 PM
Problem with .htaccess on localhost - by El Forum - 09-07-2008, 02:06 AM
Problem with .htaccess on localhost - by El Forum - 09-07-2008, 04:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB